Preview documentation. Current stability: Alpha. The 14-section enterprise reference (quickstart, auth methods, retries, pagination, async, middleware, proxy, webhooks, logging, versioning, testing, package metadata, error codes, API reference) lands in the next docs release.
See the SDK Hub for the full feature parity matrix and the JavaScript SDK narrative page on the main site.
For TypeScript-first projects, prefer the typed @openagent/sdk. The vanilla JS package is for environments that can’t consume TS types or want a minimal CDN-friendly bundle.

Coming in this reference

  • Complete quickstart with expected output
  • Every supported authentication method
  • Error handling, retry policy, idempotency
  • Pagination (cursor and offset)
  • Async and concurrency patterns
  • Middleware, interceptors, observability hooks
  • Proxy and custom endpoint configuration
  • Webhook verification utilities
  • Logging and debugging
  • Testing utilities and sandbox mode
  • Package metadata and dependency tree
  • Full error code catalog
  • Auto-generated API reference from OpenAPI