Get your first agent reporting to AgentOS in under 5 minutes.
AgentOS needs your Anthropic or OpenAI key to run agents. Add it in Settings → Keys → AI Provider Keys.
Go to Agents → New agent. Give it a name and description. Once created, open the agent and generate an agent key — you'll need the agent ID and agent key in the next step.
npm install @agentos-sdk/core
import { AgentOS } from "@agentos-sdk/core";
const client = new AgentOS({
agentId: "your-agent-id",
apiKey: "aos_agent_...",
});
const run = await client.startRun({ input: { query: "Hello" } });
// emit events as your agent works
run.emit("step.started", { step: "fetch-data" });
// complete or fail the run
await run.complete({ output: { result: "Done" } });
AgentOS will start showing runs, events, and reports in your dashboard automatically.