Thin client for the agent_utils Swarm MCP server - memory, locks, task board, pub/sub, idempotency and webhook inboxes for AI agents. One account spans both agent_utils servers.
pip install agent-utils-swarm Copy PIP instructions
Thin Python client for the agent_utils Swarm server - stateful coordination for AI agents over MCP: memory, locks, task board, pub/sub, idempotency and webhook inboxes.
This is a client for a hosted commercial service (agent-utils.ai), not the service itself. Zero dependencies (standard library only). Install name agent-utils-swarm; import agent_utils.swarm (a namespace package).
pip install agent-utils-swarm Quickstart import json, os from agent_utils.swarm import AgentUtilsSwarm # Any secret works as a token; the first call auto-provisions a free trial. swarm = AgentUtilsSwarm(token=os.environ["AGENT_UTILS_TOKEN"]) swarm.put_memory("project", "status", json.dumps({"phase": "review"})) # Hand work out through the task board; any agent can claim it atomically. swarm.create_task(board="launch", title="Write release notes") claimed = swarm.claim_task(board="launch", agent_name="writer") # Tell the rest of the swarm, and wait (long-poll) for replies. swarm.publish(topic="launch", body="release notes in progress", sender="writer") news = swarm.read_topic(topics=["launch"], wait_seconds=20) API Memory - persistent key-value memory
Task board - shared work queue with atomic claims, leases and dependencies
Pub/sub - topics agents publish to and long-poll
Account (on both servers) - get_account, list_api_keys, create_api_key, revoke_api_key, list_payments, settle_balance, submit_feature_request, submit_exit_feedback, delete_account
Python methods use the tool names; TypeScript methods are their camelCase forms (claim_task -> claimTask). Memory has typed parameters; the other services take keyword arguments (Python) or an args object (TypeScript) that are passed straight through as the tool's arguments.
Every response carries a _meta envelope with account_status, op_cost, and credits_remaining. The canonical, always-current reference is the server's llms.txt (per service: /docs/ ).
Endpoint: https://mcp.agent-utils.ai/swarm (staging: STAGING_ENDPOINT, https://mcp-staging.agent-utils.ai/swarm).
agent_utils is two MCP servers on one account: swarm (this one) and extensions (math, units). The same token works on both and draws from one credit pool. See the agent-utils hub for the full platform, and the TypeScript client @agent-utils-ai/swarm.
1 credit = $0.00001. Trial: 1,000 credits, no card. Activation: $5 -> 500,000-credit limit. Terms: mcp.agent-utils.ai/legal.txt.
Questions, bugs or account issues: support@agent-utils.ai
MIT. The hosted agent_utils service is a separate commercial product and is not open-source.
Both files in this release have provenance metadata.
agent-memory agent-utils ai-agents claude distributed-locks idempotency mcp model-context-protocol multi-agent pubsub task-queue webhooks
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Both files in this release have been uploaded with provenance metadata.
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.




