npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datalayer/agent-runtimes

v1.5.102

Published

<!-- ~ Copyright (c) 2025-2026 Datalayer, Inc. ~ ~ BSD 3-Clause License -->

Readme

Datalayer

Become a Sponsor

🤖 🚀 Agent Runtimes

Github Actions Status PyPI - Version

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 Loop 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.

An agent answering in the chat, its code execution shown

Install

pip install agent-runtimes        # Python 3.11 or later: the server and the `loop` 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):

loop --local -a example-simple

loop starts a local server with the example-simple agent and opens a chat in the terminal. agent-runtimes serve --port 8765 starts the server on its own, for the web components.

The loop CLI: a question, a code execution, the answer

Features

  • The meta-harness. Coding agents run as harnesses, driven over the Agent Client Protocol (ACP): Claude Code, Codex, OpenCode and pi 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 Shield surrounds it: the pod's egress boundary, the policies and the session's rules, the audit record and the trace. See Harnesses and the Shield.

  • Protocol integrations.

    • Transports to a UI or another agent: AG-UI, the Vercel AI SDK, ACP and A2A (served, and called as a client), with A2UI and MCP-UI for generative UI.
    • Tools: MCP, local servers over stdio and remote servers over Streamable HTTP.
    • Identity, consent and commerce, each a Reactor plugin: Web Bot Auth (with a draft TAP profile), PAP (Personal Agent Protocol), PACT, UCP and the Agentic Commerce Protocol.

    See Protocols.

  • Applications. An Appspec (or a Python app.py) becomes a chat, a widget, a worker or a decision. You run it with loop apps run, deploy it at its own address and embed it in any page with the <datalayer-app> element. See Apps.

  • Tools and code. MCP servers, skills, a code sandbox and Codemode, which calls tools from code. See Programmatic Tools.

  • Controls. Guardrails, tool approvals, budgets, hooks, monitoring and OpenTelemetry. See Identity and Hooks.

  • Sessions, subagents and teams. Sessions you can resume, clone, export and import. Subagents, and teams of agents over A2A. See Sessions and Subagents.

  • Chat UI. React chat components, a floating assistant with its avatar, voice, presence, and the Loop workspace in the browser. See Chat.

  • Agent Nodes. Your own machine registers as a node and is reached from Datalayer. See Agent Nodes.

Examples

npm install && pip install -e .
make examples      # the local server on :8765 and the examples gallery on :3000

Documentation

Everything else is on the documentation site: agent-runtimes.datalayer.tech. It covers the CLI, endpoints, agentspecs, integrations, sessions, plugins and the API references.

License

BSD 3-Clause.