taco-agent
The Python SDK for TACO — The A2A Construction Open-standard: an open vocabulary that lets construction AI agents hand work to each other. TACO adds typed task types, typed data schemas and discovery by trade and CSI division on top of the A2A protocol (Linux Foundation). Every TACO agent is a standard A2A agent.
pip install "taco-agent[all]"
The quotes keep shells such as zsh from expanding the brackets. [all] brings the server (with uvicorn), the client and the taco CLI; [server] and [client] install one side.
Expose an agent
from taco import ConstructionAgentCard, ConstructionSkill
card = ConstructionAgentCard(
name="My Mechanical Takeoff Agent",
trade="mechanical",
csi_divisions=["22", "23"],
skills=[
ConstructionSkill(
id="generate-bom",
task_type="takeoff",
output_schema="bom-v1",
)
],
)
# Serve the agent card for discovery
card.serve(host="0.0.0.0", port=8080)
To handle tasks as well, run an A2AServer instead of card.serve():
import uvicorn
from taco import A2AServer, make_artifact, make_data_part
server = A2AServer(card) # token_verifier=... to require bearer tokens
async def takeoff(task, input_data):
bom = build_bom(input_data) # your takeoff logic, returning a bom-v1 dict
return make_artifact(parts=[make_data_part(bom)], name="bom")
server.register_handler("takeoff", takeoff)
uvicorn.run(server.app, host="0.0.0.0", port=8080)
Discover and call agents
from taco import TacoClient, AgentRegistry, extract_structured_data
registry = AgentRegistry()
await registry.register("http://estimator:8001")
agents = registry.find(trade="mechanical", task_type="estimate")
# Call the URL the agent was registered at, not the url its card declares
url = next(url for url, card in registry.entries() if card is agents[0])
async with TacoClient(agent_url=url) as client:
task = await client.send_message("estimate", bom_data)
estimate = extract_structured_data(task.artifacts[0].parts[0])
Learn more
- Documentation: https://taco-protocol.com
- Specification, schemas and task types: https://github.com/pelles-ai/taco/tree/main/spec
- Source and issues: https://github.com/pelles-ai/taco
- Changelog: https://github.com/pelles-ai/taco/blob/main/CHANGELOG.md
Apache 2.0. Initiated by Pelles.
Metadata
Release files for taco-agent 0.4.0
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 |
|---|---|---|---|---|
| taco_agent-0.4.0.tar.gz | 56.3 kB | With provenance | Details for taco_agent-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taco_agent-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for taco_agent-0.4.0-py3-none-any.whl |
Total release size: 122.6 kB
Release files / taco_agent-0.4.0.tar.gz
| Download URL | taco_agent-0.4.0.tar.gz |
|---|---|
| Size | 56.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46657f08d122c58303ce3119a94696347b4e8fb051f4e4812289b9bed292a7fd
|
|
BLAKE2b-256 checksum How to use checksums |
c66b3850e32ca7477dacafca8936207141930796e019390b921399cbed715511
|
| 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 1, 2026.
Transparency logRelease files / taco_agent-0.4.0-py3-none-any.whl
| Download URL | taco_agent-0.4.0-py3-none-any.whl |
|---|---|
| Size | 66.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6df5793f1bd28a828c5bf30835d3eb6c1eabb6e94cb76cc3ff8d62f8c3a39450
|
|
BLAKE2b-256 checksum How to use checksums |
4c8073128892fe32ddd532b4346cdc14bd20d081d96ba9bc9421ca8d95844cc4
|
| 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 1, 2026.
Transparency logSecurity for taco-agent 0.4.0
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 taco_agent-0.4.0.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 1, 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.