Headless TypeScript
Guest Agent
Make two stateful Node.js turns without configuring OAuth.
Agent events
Render action revisions, simulation evidence, and completion.
Pipeline Build
Discover an operation, validate arguments, simulate, and review.
Device OAuth
Authorize a CLI, bot, or server process with a public client.
Signing and UI
Manual wallet approval
Keep the request visible and resolve it only after user approval.
Custom React UI
Compose your own chat, thread, and action components.
Widget integration
Embed the complete interface with origin-bound authentication.
Raw HTTP
Use exact-resource OAuth from a non-TypeScript service.
Runnable source
The Aomi repository contains complete examples underapps/examples:
headless-client/src/agent/guest.tsheadless-client/src/pipeline/guest.tsheadless-client/src/walkthrough.tsheadless-client/src/oauth/device.tsheadless-client/src/oauth/supplied-token.tsheadless-client/src/wallet-terminal.ts
apps/widget-consumer.
Use the tag matching your installed @aomi-labs/client version. Avoid copying examples from an unreleased branch into production code.