# OmniCoreAgent > Give your agent real work. Keep control. - [OmniCoreAgent](https://docs-omnicoreagent.omnirexfloralabs.com/docs/index.md): Give your agent real work. Keep control. - [Installation](https://docs-omnicoreagent.omnirexfloralabs.com/docs/getting-started/installation.md): Install OmniCoreAgent and get set up in minutes - [Quickstart](https://docs-omnicoreagent.omnirexfloralabs.com/docs/getting-started/quickstart.md): Your first agent in five minutes: a tool, a memory, and the evidence of its run - [A Tour](https://docs-omnicoreagent.omnirexfloralabs.com/docs/getting-started/tour.md): Fifteen minutes: a policy that asks a person, a sandbox for commands, a budget, and the evidence of it all - [How It Compares](https://docs-omnicoreagent.omnirexfloralabs.com/docs/comparison.md): OmniCoreAgent next to the OpenAI Agents SDK, LangGraph, Pydantic AI, the Claude Agent SDK and CrewAI, capability by capability, each cell sourced - [Use Docs With AI Tools](https://docs-omnicoreagent.omnirexfloralabs.com/docs/getting-started/use-docs-with-ai-tools.md): Use OmniCoreAgent docs with Ask AI, llms.txt, hosted MCP, Cursor, VS Code, ChatGPT, Claude, and Perplexity - [Security Model](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/security-model.md): How safety works: policy, approvals, sandbox, budgets, guardrails, privacy and the evidence, in one picture - [Policies](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/policies.md): Write the rules that allow, ask about or deny everything an agent does, test them, and read each decision - [Approvals](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/approvals.md): A person in the loop: a run pauses at an ask, someone decides, and it resumes, in the same process or another - [Sandboxes and Execution](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/execution.md): The execute tool: commands in a sandbox, files in and out of the workspace, the network off by default, and a record of every command - [Sandbox Providers](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/sandbox-providers.md): Where an agent's commands run: Docker, E2B, Daytona, Modal, Vercel, your own service, or this machine, and what each needs - [Budgets](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/budgets.md): Cap what a run, a session, an agent or the whole application spends in dollars, tokens, calls and sandbox seconds, and top it up when it runs out - [Guardrails](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/guardrails.md): The prompt-injection screen: what it checks, what happens to a flagged request or tool result, and how to tune it - [Privacy and Credentials](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/privacy.md): Personal data redacted where it is kept about a run, and the keys you configure kept out of the model, the trace and the commands it runs - [Durable Runs](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/durable-runs.md): Every run keeps a record as it goes: pause and resume it, recover it after its process dies, steer or interrupt it, and know how long its evidence is kept - [Stores and Scale](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/stores-and-scale.md): Which store keeps session memory, run records, traces, payloads and background tasks; what one process needs and what several servers need; retention; and closing what you open - [Background Agents](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/background-agents.md): Run agents on a schedule or on demand, outside the request: tasks, runs, retries, overlap, pauses for a person, and a task store several workers share - [OmniServe](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/omniserve.md): Serve an agent over HTTP: runs as JSON or a live SSE stream, approvals, budgets, run records, telemetry and background tasks, with one command or a few lines of Python - [Running the Agent in a Container](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/agent-in-a-container.md): Package an agent (a script or an OmniServe server) as an image: the model key from the environment, its state on a volume, a store for runs that survives restarts, health checks, and sandboxes from inside a container - [Read a run](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/read-a-run.md): Read any run back as its evidence: what the model was sent, what it chose, what each tool returned, what the policy decided, and what it cost - [Telemetry and exporters](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/observability.md): What every run records, where it is kept and for how long, the live event stream, usage metrics, and exporting traces to OTLP, LangSmith, Opik or a JSONL file - [Outcomes and training records](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/outcomes-and-training.md): Attach what a run turned out to be worth, whenever it is known, and read finished runs back as records an evaluator or a trainer can use - [Headless runs in CI](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/headless-runs.md): Run one instruction unattended with omnicoreagent run: approvals and budgets decided up front, an exit code per terminal state, and the evidence written to files - [Harbor and Terminal-Bench](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/harbor.md): Run OmniCoreAgent on Harbor tasks and Terminal-Bench, and read what each trial did: reward, cost, steps and the agent's trajectory - [OmniCoreAgent](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/overview.md): The one object you build: what goes into it, what it gives back, and what it switches on for you - [Basic Usage](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/basic-usage.md): The everyday patterns: run and check the result, keep a conversation, stream the answer, read a run back, handle failures - [Local Tools](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/local-tools.md): Turn your Python functions into tools the model can call, with ToolRegistry - [Many Tools (Tool Search)](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/advanced-tools.md): Give an agent dozens or hundreds of tools: the model searches for the ones it needs - [MCP Tools](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/mcp.md): Use the tools of any MCP server, over stdio, SSE or Streamable HTTP - [Agent Skills](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/skills.md): Folders of instructions and scripts the agent reads and runs when a task calls for them - [Code Mode](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/code-mode.md): Let the model write a short Python program that calls your tools, safely - [AGENTS.md](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/agents-md.md): A project's own instructions for the agent, as guidance and never as permission - [Memory](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/memory.md): Session history that survives restarts: in memory, SQLite, PostgreSQL, Redis or MongoDB, with windows and summaries - [Workspace Files](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/workspace-files.md): The agent’s own files — notes, plans, generated work — on local disk, S3 or R2 - [Context Engineering](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/context-engineering.md): Keep long runs inside the model's context: large tool results saved to the workspace, and history trimmed or summarized before each model call - [Sub-agents](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/sub-agents.md): Hand work to other agents: a fixed team as delegate_ tools, or workers spawned on demand with spawn_subagents — each with its own linked trace - [Streaming and Events](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/events.md): Show the answer as the model writes it, and follow every step of a run as typed telemetry events — live or afterwards - [Models](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/models.md): Nine providers through one model_config and one key: OpenAI, Anthropic, Gemini, Groq, DeepSeek, Mistral, Azure OpenAI, OpenRouter and Ollama - [Configuration](https://docs-omnicoreagent.omnirexfloralabs.com/docs/how-to-guides/configuration.md): Where every setting lives: the model, how the agent runs, its memory, workspace and record, and the environment variables for secrets and servers - [How it fits together](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/how-it-fits-together.md): The agent runtime in four layers, and one run through all of them - [Agent Harness](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/agent-harness.md): The harness layer of the runtime: the loop, tools, context, workspace and delegation around the model - [Architecture](https://docs-omnicoreagent.omnirexfloralabs.com/docs/core-concepts/architecture.md): How OmniCoreAgent is built: runtime, loop, tools, observations, memory, workspace, events, and serving - [OmniCoreAgent](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/omnicoreagent.md): The agent: its constructor and every public method - [Agent settings](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/agent-config.md): Every key agent_config takes, its default, and what it does - [Telemetry settings](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/telemetry-config.md): Every key telemetry_config takes, its default, and what it does - [Policy](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/policy.md): Every capability, how a request is decided, how to write a rule, and what each built-in profile allows - [BackgroundAgentManager](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/background.md): Background tasks and runs: every method, run status and overlap policy - [Budgets](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/budgets.md): Every meter, window and scope a budget can use, what happens when one runs out, and how a person tops it up - [Command line](https://docs-omnicoreagent.omnirexfloralabs.com/docs/reference/cli.md): Every omnicoreagent and omniserve command, and every flag - [List background agents](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/list-background-agents.md) - [Register a background agent](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/register-a-background-agent.md) - [Get a background agent spec](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/get-a-background-agent-spec.md) - [Delete a background agent spec](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/delete-a-background-agent-spec.md) - [List background runs](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/list-background-runs.md) - [Get background run status](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/get-background-run-status.md) - [List background run attempts](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/list-background-run-attempts.md) - [Cancel a queued or running background run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/cancel-a-queued-or-running-background-run.md) - [Replay background run lifecycle events](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/replay-background-run-lifecycle-events.md) - [Queue a background run that was waiting for approval](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/queue-a-background-run-that-was-waiting-for-approval.md): After its approvals are decided (POST /runs/{run_id}/approvals/{approval_id}), queue the run again; its next attempt continues the same durable run. - [Inspect background run workspace files](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/inspect-background-run-workspace-files.md) - [Inspect background manager status](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/inspect-background-manager-status.md) - [List background tasks](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/list-background-tasks.md) - [Create a background task](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/create-a-background-task.md) - [Get a background task](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/get-a-background-task.md) - [Delete a background task](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/delete-a-background-task.md) - [Patch a background task](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/patch-a-background-task.md) - [Pause scheduled dispatch for a task](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/pause-scheduled-dispatch-for-a-task.md) - [Resume scheduled dispatch for a task](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/resume-scheduled-dispatch-for-a-task.md) - [Queue or wait for a manual task run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/queue-or-wait-for-a-manual-task-run.md) - [Inspect background task status](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/background/inspect-background-task-status.md) - [Stream telemetry events (SSE)](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/sessions/stream-telemetry-events-sse.md): Replay stored telemetry events for a session, then follow live telemetry events over SSE. - [Get telemetry events](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/sessions/get-telemetry-events.md): Get stored telemetry events for a specific session as JSON. - [Get telemetry trace summary](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/sessions/get-telemetry-trace-summary.md): Build a compact summary from the latest stored telemetry trace for the session. - [Clear session history](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/sessions/clear-session-history.md): Clear message history for a specific session. - [Get session history](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/sessions/get-session-history.md): Get message history for a specific session. - [Health check](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/health/health-check.md): Check if the server is healthy and running. - [Readiness check](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/health/readiness-check.md): Check if the agent is ready to accept requests. - [Get agent metrics](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/metrics/get-agent-metrics.md): Get cumulative usage metrics from the agent runtime. - [Prometheus metrics](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/metrics/prometheus-metrics.md): OmniServe HTTP request metrics in Prometheus text format. - [Run agent (SSE streaming)](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/run-agent-sse-streaming.md): Run the agent with a query and stream SSE events. - [Run agent (synchronous)](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/run-agent-synchronous.md): Run the agent with a query and return a JSON response. - [List runs](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/list-runs.md): Runs by status and session, oldest first: what waits for a person (`awaiting_approval`, `awaiting_budget`), what a crash left `running`, what finished. Each as `GET /runs/{run_id}` returns it; no saved conversation. - [Get a run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/get-a-run.md): A run's durable record: status, step, usage, trace IDs, tool call states, and approvals. Its saved conversation is not returned. - [Decide an approval](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/decide-an-approval.md): Approve or deny an approval a paused run is waiting for. - [Read a run's budgets](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/read-a-runs-budgets.md): Every budget covering the run — its own, its session's, its agent's, the application's — with the limit, what a person granted, what is spent and reserved, and the ledger key; and `requests`, each time the run ran out (pending while it waits, then granted or denied). - [Decide a budget](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/decide-a-budget.md): Grant or refuse the budget a waiting run ran out of. A grant is a recorded exception to that one budget, with the name of whoever made it; the policy is unchanged. Resume the run afterwards. - [Interrupt a run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/interrupt-a-run.md): Stop a running run at its next step boundary; resume continues it. - [Record a run's outcome](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/record-a-runs-outcome.md): What the run turned out to be worth, reported whenever it is known: a pull request merged, an answer accepted, a test suite green. Kept on the run's record and in its trace; a run may gather several. - [Resume a paused run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/resume-a-paused-run.md): Continue a run once every approval it asked for is decided. - [Steer a run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/steer-a-run.md): Send a message to a running, waiting, or interrupted run; it arrives as a user message at the run's next step boundary. The injection guardrail checks it first (422 when blocked). - [Get a run's whole trajectory](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/runs/get-a-runs-whole-trajectory.md): The whole run as one story: every trace segment in order (a run that paused and resumed has one per stretch), totals summed across them, each tool call once with its final outcome, and the approvals. `/telemetry/runs/{run_id}/trajectory` is the latest segment only. - [List telemetry events](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/list-telemetry-events.md): Return stored telemetry events filtered by trace, run, session, task, or event type. - [Stream telemetry events](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/stream-telemetry-events.md): Replay and follow telemetry events for one session. Add run_id to isolate one run. - [Get telemetry retention status](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-telemetry-retention-status.md): Return the trace and payload retention policy and the most recent automatic or explicit cleanup results. - [Get linked telemetry family for a run](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-linked-telemetry-family-for-a-run.md): Return all traces linked to one run_id by parent trace links. - [Get run telemetry trace](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-run-telemetry-trace.md): Return the latest telemetry trace correlated to one run_id. - [Get run trajectory](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-run-trajectory.md): Return the latest agent run with this run_id as an ordered trajectory: request, harness, steps (context, model calls, tool calls, observations), final answer, totals, and capture gaps, with child runs nested under the tool call that started them. - [Get latest session telemetry trace](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-latest-session-telemetry-trace.md): Return the latest telemetry trace for one session_id. - [List telemetry traces](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/list-telemetry-traces.md): Return telemetry traces filtered by trace, run, session, task, agent, workflow, model, or status. - [Get exact telemetry trace](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-exact-telemetry-trace.md): Return one telemetry trace by exact trace_id. - [Get linked telemetry trace family](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-linked-telemetry-trace-family.md): Return all traces linked to one execution boundary by parent trace links. - [Get trace trajectory](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/telemetry/get-trace-trajectory.md): Return one trace as an ordered trajectory. - [List available tools](https://docs-omnicoreagent.omnirexfloralabs.com/api-reference/tools/list-available-tools.md): List all tools available to the agent. - [Upgrading](https://docs-omnicoreagent.omnirexfloralabs.com/docs/upgrading.md): From 0.3 to 0.4, through each 0.4 release, and from 0.4 to 0.5.0: what runs unchanged, what was removed, and the defaults that changed - [Changelog](https://docs-omnicoreagent.omnirexfloralabs.com/docs/changelog.md): What each release changed - [Cookbook](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/README.md): Runnable OmniCoreAgent examples for first agents, tools, memory, workspace files, background tasks, OmniServe, and real applications - [Getting Started Cookbook](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/getting_started/README.md): Progressive runnable examples for your first OmniCoreAgent, local tools, MCP tools, memory, events, context management, guardrails, and OmniServe - [Real Application Harness Examples](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/real_applications/README.md): Production-shaped OmniCoreAgent examples for research, support operations, personal operations, workspace code review, and background tasks - [OmniServe Cookbook](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/omniserve/README.md): Runnable examples for serving OmniCoreAgent over REST and SSE with CLI and Python API patterns - [Background Agents Cookbook](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/background_agents/README.md): Runnable examples for durable scheduled and manual background agent tasks, run state, events, retries, and workspace output - [Production Cookbook](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/production/README.md): Production-oriented OmniCoreAgent examples for metrics, telemetry, guardrails, and operational configuration - [Advanced Agent Examples](https://docs-omnicoreagent.omnirexfloralabs.com/cookbook/advanced_agent/README.md): Larger OmniCoreAgent application examples for shopping, travel, and customer support ## OpenAPI Specs - [openapi](/docs/reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.