agent-os Documentation
What is agent-os?
Section titled “What is agent-os?”agent-os is a SaaS observability dashboard for autonomous AI agent systems. Developers and small teams running LangGraph, CrewAI, or similar frameworks in production get a central control plane: real-time status, logs, errors, and security events — all in one place.
agent-os is not an agent framework. It’s an independent monitoring layer that works alongside existing systems.
Architecture
Section titled “Architecture”The system consists of five main components:
| Component | Technology | Hosting |
|---|---|---|
| Dashboard App | Laravel 13 + Blade + SCSS + Reverb WebSocket | Railway |
| Python SDK | Python 3.10+, pip package | PyPI |
| JavaScript SDK | TypeScript, npm package | npm |
| Brand Site | Next.js 16, React 19, TypeScript | Vercel |
| Docs | Astro 6, Starlight | Cloudflare Pages |
How it works
Section titled “How it works”Your Agent (Python or JavaScript) │ pip install agent-os-sdk / npm install agent-os-sdk │ aos = AgentOS(api_key="...") │ graph = aos.instrument(graph) ▼agent-os API (apps/app/) │ POST /api/ingest │ receives run events, errors, tool calls ▼Postgres (persistent storage) │ ▼Dashboard (apps/app/) │ real-time updates via WebSocket (Laravel Reverb) └─► agent status, event stream, errors, costs, alertsQuick Start
Section titled “Quick Start”1. Create an account
Section titled “1. Create an account”Sign up at agent-os.dev and grab your API key from Settings > API Keys.
2. Install the SDK
Section titled “2. Install the SDK”pip install agent-os-sdkOr for JavaScript/TypeScript:
npm install agent-os-sdk3. Instrument your agent
Section titled “3. Instrument your agent”Python (LangGraph):
from agent_os_sdk import AgentOS
aos = AgentOS(api_key="your-api-key")graph = aos.instrument(compiled_graph, agent_name="my-agent")result = graph.invoke({"messages": [...]})JavaScript/TypeScript:
import { AgentOS } from "agent-os-sdk";
const aos = new AgentOS({ apiKey: "your-api-key" });const result = await aos.trace("my-agent", async (runId) => { // your agent logic here return output;});From this point on, your agent sends events to agent-os automatically.
4. Open the dashboard
Section titled “4. Open the dashboard”Log in and see your agent’s runs in real time: status, event stream, errors, costs, and tool calls.
Next steps
Section titled “Next steps”- Dashboard Guide — Explore the real-time dashboard
- Python SDK — Full API reference for the Python SDK
- JavaScript SDK — Full API reference for the JS/TS SDK
- API Reference — Ingest API endpoint documentation
- Human-in-the-Loop — Show HITL status in the dashboard