name and model are required. See the Create an agent endpoint for optional fields.
Harnesses
The harness runs the Agent’s turn loop. Choose a harness when you create or update an Agent.
Pi, DeepSeek, and OpenCode run in Durable Objects and start a workspace container when they need it. Codex runs the Codex App Server in a container, and Claude Code runs the Claude Agent SDK in a container. A custom harness runs at an endpoint configured by the deployment operator. Every harness uses the same Checkfu workspace tools, Agent-declared MCP, OpenAPI, and custom tools, and Session approvals and custom tool results. Bring a custom harness · Tools
The DeepSeek harness can also run DeepSeek V4.1 Flash through OpenRouter. Set
OPENROUTER_API_KEY for the deployment and select openrouter/deepseek/deepseek-v4.1-flash. Checkfu records OpenRouter’s reported cost when the completed stream supplies it. OpenRouter Messages API
Antigravity runs Google’s Python SDK in a container. Grok Build runs the unified 2.x release that uses Cursor’s agent harness and communicates with Checkfu over ACP. Both use the deployment’s Chat Completions provider. OpenRouter and Cloudflare AI Gateway are built in, and you can configure Vercel AI Gateway as a custom provider. Models and providers
Versions
A change to the Agent definition saves a new version. An update with unchanged values keeps the current version and can return a pending receipt while the read view catches up. The receipt’sversion gives the version to confirm. Each Session keeps its pinned version for its whole life.
Send only the fields you want to change (optionally include version to reject concurrent edits with 409):