Catalog PyPI
PACKAGE EXPLORERView in registry

agentforge-a2a

PyPI

A2A (Agent-to-Agent) protocol client + server for AgentForge

a2aagentaimulti-agentprotocol
Versions collected1
Direct dependencies5From release 0.4.0
Last observed20 Oct, 21:56 UTC

README

Version 0.4.0 documentation

agentforge-a2a

A2A (Agent-to-Agent) protocol support for AgentForge: cross-framework agent invocation over HTTP, with bearer / mTLS auth, run_id chain, and budget propagation.

See docs/features/feat-014-a2a-protocol.md for the design and runbook.

Install

pip install agentforge-a2a
# or, from a scaffolded project:
agentforge add module a2a

Call another agent

from agentforge_a2a import A2APeer, agent_call

peer = A2APeer.from_config({
    "name": "fact-checker",
    "url": "https://internal.fact-checker.example/a2a",
    "auth": {"type": "bearer", "token": "${FACT_CHECKER_TOKEN}"},
})

result = await agent_call(
    "fact-checker:verify",
    {"claim": "The capital of Australia is Sydney."},
    timeout_s=30,
    peers={"fact-checker": peer},
)
print(result.output)

Expose this agent

from agentforge import Agent, EnvBearerAuth
from agentforge_a2a import A2AServer

server = A2AServer(
    agent=Agent(model="anthropic:claude-sonnet-4-6", strategy="react"),
    auth=EnvBearerAuth("A2A_TOKENS"),
    endpoints=["review-pr"],
    host="0.0.0.0",
    port=8080,
)
await server.serve()

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.024 Jun 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
scaffoldic/agentforge-py

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:56 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:070066217c352b84d81bf63b4de93bc6847766dc461a1a30b13de3653dab4961