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.5.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.5.0
File Size Uploaded Provenance Actions
taco_agent-0.5.0.tar.gz 58.8 kB With provenance Details for taco_agent-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 127.9 kB

Release files / taco_agent-0.5.0.tar.gz

Download URL taco_agent-0.5.0.tar.gz
Size 58.8 kB
Tags Source
SHA-256 checksum
How to use checksums
92ad26de88aec888881a9645e6847796947a04e2033d6017e7bb48a49009c46d
BLAKE2b-256 checksum
How to use checksums
664281d91a22c05f96c62ff4db6e97e384a311b6056e6defed8aee79a92fd371
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.5.0-py3-none-any.whl

Download URL taco_agent-0.5.0-py3-none-any.whl
Size 69.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c068e3fbf8cb98a73f3e038815664db2b252f47c5335b4574546aeef66398b21
BLAKE2b-256 checksum
How to use checksums
8a292c03cebb898bacd6ced555a560375b756eebd338ccbc38e4d360bc9ee6ed
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.5.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.5.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.5.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