Skip to main content

Datalayer

Become a Sponsor

🤖 👥 Agent Teams

PyPI - Version npm

The demo team

datalayer agent-teams demo deploys the landing's demo team on Datalayer, under your own account: the members of the agentspecs team sales-and-accounting that run in the cloud (Accounting) each get a runtime of yours, serving their application over A2A, open to visitors.

pip install "agent-teams[demo]"
datalayer agent-teams demo deploy --dry-run   # what it would launch, and cost
datalayer agent-teams demo deploy             # prints demoTeam.accountingA2AUrl for the landing
datalayer agent-teams demo status
datalayer agent-teams demo url
datalayer agent-teams demo stop

With DATALAYER_MAGIC_API_KEY set (the platform's magic key, a secret), the runtime is launched unmetered: no credits, and it never expires; --dry-run says unmetered: yes and status shows never for the time left. See the CLI reference.

Running on Datalayer, and on your own

The library runs a team on its own: TeamManager, the local orchestrators and the file stores need no platform. Two extras turn the platform on:

  • pip install "agent-teams[datalayer]" — the datalayer agent-teams … group of the Datalayer CLI (list|start|runs|status|steer|sessions …), which talks to the control plane with your login (datalayer login, or DATALAYER_API_KEY); agent-teams sessions … reads and writes the seats' sessions in the platform's record when DATALAYER_AI_AGENTS_URL or DATALAYER_API_KEY is set, and --local reads a self-hosted server's files (AGENT_TEAMS_SESSIONS_PATH, AGENT_RUNTIMES_SESSIONS_PATH) instead.
  • pip install "agent-teams[shield]" — a coding agent (Claude Code, Codex, …) as a team member, run behind the Shield.

Nothing in this package is private to Datalayer: the control plane's routes it calls are the orchestration API and ai-agents' session routes, and a self-hosted agent-runtimes server answers the same verbs on its own files.

The Datalayer orchestration extension

agent_teams.a2a (Python) and @datalayer/agent-teams (TypeScript) implement the Datalayer orchestration extension — an optional A2A extension that lets a worker and an orchestrator say the things about delegated work that A2A leaves unsaid: which execution a delegation is part of and where it sits in its tree, a budget to decline before exceeding, a checkpoint to resume from, and instructions delivered to a turn already in progress.

from agent_teams.a2a import ExecutionRef, build_delegation_meta

meta = build_delegation_meta(
    ExecutionRef(execution_id="exec_1", root_execution_id="exec_1", depth=0),
    budget={"outputTokens": 4000},
)
import { buildDelegationMeta } from '@datalayer/agent-teams';

const meta = buildDelegationMeta(
  { executionId: 'exec_1', rootExecutionId: 'exec_1', depth: 0 },
  { budget: { outputTokens: 4000 } },
);

Nothing here requires the rest of this package, and nothing here imports Datalayer's own platform — agent_teams.a2a.orchestration_extension and @datalayer/agent-teams's src/orchestrationExtension.ts are each a standalone module (Python built on fasta2a alone; TypeScript with zero runtime dependencies at all) implementing the identical wire shape, field for field. A worker implementing none of it still runs; see the normative specification and its JSON Schema at docs/extension-v1.md for the full field-by-field contract both modules implement.

This is distinct from agent_teams.a2a.extensions' own team-coordination extension (https://datalayer.io/ext/team-coordination/v1) — member assignment, task dependencies, health and reactions for a team's own internal coordination. The two extensions are independent and separately negotiated; a card may advertise either, both, or neither.

A reference worker, and a public conformance suite

agent_teams.a2a.reference_worker is the smallest thing that speaks the extension correctly: no model, no framework beyond fasta2a, no Datalayer control plane. Run it standalone —

python -m agent_teams.a2a.reference_worker  # serves on :8000

— point any A2A client at it, and its card advertises the extension. It answers a turn with what it "spent" (a character count, not a model call, so this needs no API key), declines a delegation whose budget already reads outputTokens: 0 naming the limit, and answers a pause request by ending the turn at a checkpoint it makes up on the spot.

tests/test_reference_worker_conformance.py drives it over real ASGI HTTP (httpx.ASGITransport, no socket) with hand-built JSON-RPC requests matching docs/extension-v1.md's documented wire shapes — negotiation, a declined budget, pause and resume — runnable by anyone against their own worker, with no Datalayer service in the loop.

Metadata

Release files for agent-teams 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-teams 1.1.4
File Size Uploaded Provenance Actions
agent_teams-1.1.4.tar.gz 826.1 kB With provenance Details for agent_teams-1.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-teams 1.1.4
File Interpreter ABI Platform Actions
agent_teams-1.1.4-py3-none-any.whl Python 3 none any Details for agent_teams-1.1.4-py3-none-any.whl

Total release size: 959.2 kB

Release files / agent_teams-1.1.4.tar.gz

Download URL agent_teams-1.1.4.tar.gz
Size 826.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bb9f204a66ef4b2eaa0457e0463065424500c01c541905fecb5170f9a6fad319
BLAKE2b-256 checksum
How to use checksums
e68bba24815fdc03a02035dba83aba38ea2b72a366da50902933f2c6e9ba3932
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 Nov 11, 2026.

Transparency log

Release files / agent_teams-1.1.4-py3-none-any.whl

Download URL agent_teams-1.1.4-py3-none-any.whl
Size 133.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30dcc3c8284d5b977f03b6a14eb990cd362293dfb4d6d4fe3bbc9b4ef4a09b8f
BLAKE2b-256 checksum
How to use checksums
02b2c819c2d249d3e74cd7b5cf2514a63f64347ba745d034e2c4d8ec63d318e0
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 Nov 11, 2026.

Transparency log

Security for agent-teams 1.1.4

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.

Select from 2 files

Attestation for agent_teams-1.1.4.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 Nov 11, 2026.

Transparency log

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

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page