Skip to main content
Use TypeScript today with a thin typed wrapper around the REST API. This gives you strong IDE support immediately while preserving compatibility with the future public SDK.

Typed create-agent example

Canonical source file: /examples/typescript/create-agent.ts
  • Define response types at the boundary of your ThreeTone client
  • Keep request builders small and composable
  • Use a central auth helper for the x-api-key header