Skip to main content
Create agents, start conversations, and retrieve artifacts — all via JSON-RPC 2.0 through the agent-management MCP server.

Overview

The agent management tools let you build applications that:
  • Create and configure agents with custom instructions and tool access
  • Have conversations with agents across multiple messages
  • Manage chat sessions — list, create, and reset conversations
  • Retrieve artifacts — list files created by agents during code execution
A typical flow:
  1. Create an agent with agent_create (or use an existing one via agent_list). To give an agent tool access, pass the servers parameter with MCP server names and tool names — use capabilities_discover to find valid values.
  2. Invoke the agent with agent_invoke — this starts a conversation and returns a chatId
  3. Continue the conversation by calling agent_invoke again with the same chatId
  4. List artifacts created during the conversation with chat_list_artifacts
For full tool parameters and schemas, see the agent-management server reference.

Authentication

All calls require a runtime token. See Authentication for how to exchange your API key.

Quick Start

Create an agent

Start a conversation

Response:

Continue the conversation

Pass the chatId from the previous response to continue with message history:

Available Tools

ToolDescription
agent_createCreate a new agent with instructions and tool access
agent_listList all accessible agents
agent_readGet full agent configuration and metadata
agent_updateUpdate agent fields (partial update)
agent_invokeSend a message to an agent and get a response
chat_createCreate a chat session for an agent
chat_listList chat sessions, optionally filtered by agent
chat_reset_conversationClear conversation history in a chat
chat_list_artifactsList artifacts (files) in a chat
agent_publish_releasePublish a versioned release snapshot of an agent (required before it can be a public template)
agent_toggle_public_templateAdd or remove the agent from the public template gallery
See the full server reference for parameters, schemas, and response formats for each tool.