Agents are the core execution units in Agent Manager. Each agent is an LLM instance configured with a set of tools, a knowledge base, and a system prompt that defines its behavior and expertise. You interact with agents through a consistent REST API — whether you are running a simple query, handling a sensitive tool that requires human approval, or cancelling an in-flight run.Documentation Index
Fetch the complete documentation index at: https://operativusai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What is an agent?
An agent is represented by anAgentDefinition object, which describes its identity and type:
Unique identifier for the agent (e.g.,
finance_agent).Human-readable display name.
A short description of what the agent does.
When
true, this agent is a multi-agent team with a coordinator or router leader. See Multi-Agent Teams for details.Default agents
Agent Manager seeds three agents on startup:procurator_assistant
An expert on the Operativus framework. Pre-loaded with knowledge from the official documentation.
finance_agent
Retrieves live stock prices and financial data using built-in market tools.
web_agent
Performs general-purpose web searches to answer open-ended questions.
Listing agents
Retrieve all agents registered in the system:Pass
?includeInactive=true to include agents that have been disabled.Getting agent details
Retrieve a single agent by its ID:AgentDefinition object or 404 Not Found if the agent does not exist.
Running an agent
Use the synchronous run endpoint to send a message to an agent and receive the full response in one request. This is suitable for automated pipelines, testing, and any scenario where you do not need token-by-token streaming.Request body
The user message or prompt to send to the agent.
An optional session ID for conversation continuity. If omitted, a new session is created automatically.
The ID of the user initiating the run. Used for memory partitioning and audit logging.
Reserved field. For streaming responses, use the
/runs/stream endpoint instead.Optional array of media attachments for multimodal agents. Each object must include
type (MIME type) and data (base64-encoded content or a URL).When
true, the agent generates suggested follow-up questions alongside the response.Response
Unique identifier for this run.
The session ID used for this run (echoed back or newly generated).
The agent’s final Markdown-formatted response.
Usage statistics and model information (token counts, latency, etc.).
Audit log of every tool the agent called during this run.
The agent’s captured inner thoughts — what it was reasoning about before each tool call.
Final run status:
COMPLETED, FAILED, or PAUSED.Human-in-the-Loop (HITL)
Some tools — such as those that delete data or make external writes — are configured to require human approval before execution. When an agent encounters one of these tools, the run transitions to aPAUSED status and waits for you to approve or reject the action.
Checking if a run is paused
Poll the run status endpoint:status field is PAUSED, the run is waiting for your input.
Resuming a paused run
Must be either
APPROVE to allow the tool to execute, or REJECT to cancel it and let the agent respond gracefully.RunResponse with the final result.
Cancelling a run
To abort an in-progress run, send aDELETE request:
204 No Content. The run is marked as cancelled and no further tokens are consumed.
Background runs
For long-running tasks where you do not want to hold an open HTTP connection, queue the run asynchronously:runId and a QUEUED status. You can then poll for completion: