Quickstart
Create your first agent in five minutes.
Common docs components in one page. Copy the markup you need.
Create an agent
Click “New agent” in the console, pick a model and write the system prompt.
Add a tool
Create a webhook tool and enable it on the agent.
curl -X POST https://api.example.com/hookDeploy
Create a version and deploy it to dev.
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id |
string |
Yes | Agent ID |
environment |
"dev" | "test" | "prod" |
No | Deployment environment, default dev |
timeout_ms |
number |
No | Tool timeout in milliseconds |
Inline code such as bun run dev:docs。A block with a title and line highlights:
import { createAgent } from "@modeaix/sdk"
const agent = await createAgent({ name: "support", model: "gpt-4o",})Language tabs:
curl https://api.example.com/v1/agents \ -H "Authorization: Bearer $MODEAIX_KEY"const res = await fetch("/v1/agents", { headers: { Authorization: `Bearer ${key}` },});import requestsrequests.get("/v1/agents", headers={"Authorization": f"Bearer {key}"})Diff:
const model = "gpt-4o-mini";const model = "gpt-4o";For a local file use <video controls src="/demo.mp4"></video>, placed under public/.
Versions are immutable snapshots, so deployed behavior is reproducible and easy to roll back.
Quickstart
Create your first agent in five minutes.
Security
Secret encryption and outbound protection.
Good docs save the reader one question.
Footnote example1。
Footnote text appears at the bottom of the page. ↩
Was this page helpful?
Thanks for your feedback!Tell us how to improve it