Agent Runtimes
Actively maintained. Last release 3 days ago, commits in 14 of the last 26 weeks. A safe choice.
pip install agent-runtimes🤖 🚀 Agent Runtimes
Agent Runtimes runs AI agents and serves them over the protocols the agent world speaks. It is a Python server that hosts agents built from agentspecs (Pydantic AI by default), with their MCP tools, skills, code sandbox and guardrails. It is also a set of React components (chat, floating assistant, the Agent workspace) that talk to them. It drives coding agents such as Claude Code as harnesses, behind the Shield. It runs on your machine with your own model keys, or on Datalayer runtimes.

Install
pip install agent-runtimes # Python 3.11 or later: the server and the `agent` CLI
npm install @datalayer/agent-runtimes # the React components
Run
With a model key in the environment (for example ANTHROPIC_API_KEY, OPENAI_API_KEY or AWS Bedrock credentials):
agent --local -a chat-agent
agent starts a local server with the chat-agent agent and opens a chat in the terminal. agent-runtimes serve --port 8765 starts the server on its own, for the web components.

Features
-
The meta-harness. Coding agents run as harnesses, driven over the Agent Client Protocol (ACP): today. The runtime launches the harness, lends it tools through the MCP gateway and writes the skills into its workspace. It serves the harness over every protocol it serves its own agents on. The surrounds it: the pod's egress boundary, the policies and the session's rules, the audit record and the trace. See and .