@agentrail-core/sdk) is a typed HTTP client for the Task Lifecycle API. It requires Node.js 18 or newer because it uses the native fetch API.
Install from npm
Install from the local repository
If you need to work against the SDK before a package release, install it directly from the repository source:You must run
npm run build in the SDK directory first. The install step points your project at the compiled output.Named exports
The package exposes the following named exports:
Import only what you need:
Next steps
- Configure authentication — set up your API key and base URL
- Client methods — list tasks, submit work, and ship
- Stream events — subscribe to real-time task lifecycle events
- Verify webhooks — validate inbound webhook deliveries
.png?fit=max&auto=format&n=TNCV8lxzL1ij3U4N&q=85&s=7345b71aa1c450c74f35b67c2655fc43)