🤖 🚀 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) and a terminal, agent. 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
Quickstart
export ANTHROPIC_API_KEY=... # or OPENAI_API_KEY, or AWS Bedrock credentials
agent --local -a chat-agent # a local server with the chat-agent agent, and a chat in the terminal
agent sessions ls # your sessions, each by its address <agent>:<session>
agent --resume <agent>:<session> # go on with one of them
agent-runtimes serve local: --port 8765 # the server alone, for the web components
# From a checkout, the examples gallery:
npm install && pip install -e .
make examples # the local server on :8765 and the gallery on :3000
Documentation
Everything else is on the documentation site, agent-runtimes.datalayer.tech:
- Features: what the runtime does, area by area.
- Agents: an agent spec or a Python
app.pyrun, deployed at its address and embedded in a page; the examples. - Sessions: several sessions on one agent, local or on Datalayer, resumed, forked, exported and imported.
- Harnesses and the Shield: Claude Code, Codex, OpenCode and pi over ACP, inside the boundary, the rules, the audit and the trace.
- Protocols: AG-UI, the Vercel AI SDK, ACP, A2A, A2UI, MCP-UI, MCP and the agent protocols.
- Programmatic Tools: MCP servers, skills, the code sandbox and Codemode.
- Identity and Hooks: guardrails, tool approvals, budgets, monitoring and OpenTelemetry.
- Chat: the React chat components, the floating assistant, voice and presence.
- Subagents, Scenes and Agent Nodes.
- CLI, endpoints, agentspecs, integrations and plugins.
License
Metadata
Release files for agent-runtimes 1.12.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent_runtimes-1.12.7.tar.gz | 4.0 MB | With provenance | Details for agent_runtimes-1.12.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_runtimes-1.12.7-py3-none-any.whl | Python 3 | none | any | Details for agent_runtimes-1.12.7-py3-none-any.whl |
Total release size: 28.5 MB
Release files / agent_runtimes-1.12.7.tar.gz
| Download URL | agent_runtimes-1.12.7.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8b35a989ebc8303c2657f3e80932568c113e2863433ff869ac6a22a573b285a
|
|
BLAKE2b-256 checksum How to use checksums |
2971f0fe823dff1969c57a630268ab389ec2b10daa256bed509fcab94db2088b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logRelease files / agent_runtimes-1.12.7-py3-none-any.whl
| Download URL | agent_runtimes-1.12.7-py3-none-any.whl |
|---|---|
| Size | 24.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
139babcec5f5ece8a230909b6618861d533a2f1b9c35380459c18bedd845221e
|
|
BLAKE2b-256 checksum How to use checksums |
af7f15882a4f87696cdcdfbae1a351129165bc101356c7530bb0e44142d3c690
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logSecurity for agent-runtimes 1.12.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agent_runtimes-1.12.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.