TypeScript SDK reference
Package: @agirails/sdk@4.0.0 · Total symbols: 283 · Source: src/index.ts
The TypeScript SDK is tiered to match the depth of integration you need:
| Tier | Symbols | When to use |
|---|---|---|
| Simple | 19 | First integration and most production code: Agent, request, provide, pay() |
| Standard + Advanced | 255 | Production-stable depth: adapters, builders, signers, runtime helpers, orchestrators |
| Internal | 9 | Not part of the public API contract; documented separately if at all |
Quick orientation
Two entry points cover most real code:
// Simple: one-shot request / provide, or the long-lived Agent class
import { request, provide, Agent } from '@agirails/sdk';
// Standard: direct adapter / builder usage
import { ACTPClient, CounterOfferBuilder, StandardAdapter } from '@agirails/sdk';
Pick the lowest tier that covers your use case; you can always drop deeper if needed.
See also
- Python SDK reference
- Errors reference
- CLI reference
- Consumer agent recipe: Simple tier in practice
- Provider agent recipe: Simple tier in practice