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.4

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.4
File Size Uploaded Provenance Actions
taco_agent-0.6.4.tar.gz 60.8 kB With provenance Details for taco_agent-0.6.4.tar.gz

Built distribution (wheel)

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

Total release size: 132.2 kB

Release files / taco_agent-0.6.4.tar.gz

Download URL taco_agent-0.6.4.tar.gz
Size 60.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6f7780d6a8a47050700024d6aadb09cabeddd4ee29858f2a27986b969acca8d5
BLAKE2b-256 checksum
How to use checksums
c7f9c20667a18403043861506c990f0e027150e722153a32632687b0ad33f4fb
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 2, 2026.

Transparency log

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

Download URL taco_agent-0.6.4-py3-none-any.whl
Size 71.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d142d7b9eaaecc43d05d6df67ef669e7519913eb840d8c795ec8eca1941bc22a
BLAKE2b-256 checksum
How to use checksums
b8aef6c1f68ef04dc9c4c014f4295715bf39689a6c7ba5b07e04ec57575ddaa4
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 2, 2026.

Transparency log

Security for taco-agent 0.6.4

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.4.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 2, 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.4 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