Skip to main content

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

Apache 2.0. Initiated by Pelles.

Metadata

Release files for taco-agent 0.6.0

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

Source distribution (sdist)

Source distribution for taco-agent 0.6.0
File Size Uploaded Provenance Actions
taco_agent-0.6.0.tar.gz 59.1 kB With provenance Details for taco_agent-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for taco-agent 0.6.0
File Interpreter ABI Platform Actions
taco_agent-0.6.0-py3-none-any.whl Python 3 none any Details for taco_agent-0.6.0-py3-none-any.whl

Total release size: 128.7 kB

Release files / taco_agent-0.6.0.tar.gz

Download URL taco_agent-0.6.0.tar.gz
Size 59.1 kB
Tags Source
SHA-256 checksum
How to use checksums
be31b036c4e9fdc193baf1d538e2c5a7be0f1a018e1da09eb3437b1abbed3607
BLAKE2b-256 checksum
How to use checksums
d81b6cfee1224ed24f92eeb2afa85d780b4c856fed87c88a9868318b908bfac3
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 log

Release files / taco_agent-0.6.0-py3-none-any.whl

Download URL taco_agent-0.6.0-py3-none-any.whl
Size 69.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afcfb71c8ebe7b6dc1b90db2e7a6fd0ed65383647c04ff55cb59d1a233b90f51
BLAKE2b-256 checksum
How to use checksums
c9f1905a78fa1dd3ce65b27ad01987e08c9e0accd059410539aa39850632bab6
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 log

Security for taco-agent 0.6.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.

Select from 2 files

Attestation for taco_agent-0.6.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 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.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files Full provenance

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