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

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.7.1
File Size Uploaded Provenance Actions
taco_agent-0.7.1.tar.gz 65.8 kB With provenance Details for taco_agent-0.7.1.tar.gz

Built distribution (wheel)

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

Total release size: 142.3 kB

Release files / taco_agent-0.7.1.tar.gz

Download URL taco_agent-0.7.1.tar.gz
Size 65.8 kB
Tags Source
SHA-256 checksum
How to use checksums
784523698b75706322696485eeb1c0a3155def544738163b6bdf776d7d9f4058
BLAKE2b-256 checksum
How to use checksums
f9485a296afe08e0a62cdd4a5647919e41c5ae3905d78b77021cf14707ef4998
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 3, 2026.

Transparency log

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

Download URL taco_agent-0.7.1-py3-none-any.whl
Size 76.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa84dbc750c998167b4a091ce6370430cc850c3178e4ad703a12bc90ad0cad06
BLAKE2b-256 checksum
How to use checksums
38dc8537721ebcd8aa5c8762fd00810aeafbcc5201b1e6f783d6911c8f0ee5fa
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 3, 2026.

Transparency log

Security for taco-agent 0.7.1

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.7.1.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 3, 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.7.1 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