Loading...
Loading...
Use when building a custom provider integration on top of @prefactor/core so your app can instrument agent, llm, and tool workflows without relying on a prebuilt adapter package.
npx skill4agent add prefactordev/typescript-sdk create-provider-package-with-core@prefactor/core@prefactor/core@prefactor/core<provider>:agent<provider>:llm<provider>:toolprefactor-provider-<provider>src/index.tssrc/<provider>-middleware.tstests/package.json@prefactor/core.jssrc/index.ts@prefactor/coreinitwithSpanwithSpanSpanContext.runAsync(...)| Decision | Put it where |
|---|---|
| Reusable tracing/context helpers | |
| Provider request/response mapping | your adapter package |
| Span lifecycle logic | |
| Provider-only middleware/wrappers | your adapter package |
references/provider-package-checklist.md