Skip to main content

TACO — The A2A Construction Open-standard SDK

Project description

TACO Logo

TACO — The A2A Construction Open-standard

Tests PyPI License

An open standard for AI agent communication in the built environment.

TACO is a construction-specific ontology layer built on top of the A2A protocol (Linux Foundation). It defines a shared vocabulary of task types, typed data schemas, and agent discovery extensions so that AI agents across the construction industry can interoperate — regardless of who built them.

Every TACO agent is a standard A2A agent. Zero lock-in.


What TACO Adds

Layer What it defines Example
Task Types A typed vocabulary of construction workflows takeoff, estimate, rfi-generation, submittal-review, schedule-coordination
Data Schemas Typed JSON schemas for construction artifacts bom-v1, rfi-v1, estimate-v1, schedule-v1, quote-v1
Agent Discovery Construction extensions to A2A Agent Cards Filter by trade, CSI division, project type, file format, platform integration
Security Scope taxonomy, trust tiers, token delegation taco:trade:mechanical, taco:task:estimate, taco:project:PRJ-0042:write

How It Works

┌──────────────┐    ┌──────────────┐    ┌──────────────┐    ┌──────────────┐
│  Takeoff     │───▶│  Estimating  │───▶│  Supplier    │───▶│  Bid Package │
│  Agent       │    │  Agent       │    │  Agent       │    │  (complete)  │
└──────┬───────┘    └──────┬───────┘    └──────┬───────┘    └──────────────┘
       │ bom-v1            │ estimate-v1       │ quote-v1
       ▼                   ▼                   ▼
╔══════════════════════════════════════════════════════════════════════════╗
║  TACO — shared task types, data schemas, agent discovery               ║
╚══════════════════════════════════════════════════════════════════════════╝
       ▲                   ▲                   ▲
       │ schedule-v1       │ rfi-v1            │
┌──────┴───────┐    ┌──────┴───────┐    ┌──────────────┐
│  Schedule    │    │  RFI Agent   │    │  Architect   │
│  Agent       │    │              │    │  Agent       │
└──────────────┘    └──────────────┘    └──────────────┘

Different companies. Different AI models. One shared language.

Sandbox Demo

The repo includes a fully functional demo with 3 LLM-powered agents, an orchestrator dashboard, and a live flow diagram.

TACO Sandbox Demo

Run it yourself:

# Clone and configure
git clone https://github.com/pelles-ai/taco.git && cd taco
cp examples/.env.example examples/.env
# Edit examples/.env and add your API key (Anthropic or OpenAI)

# Run with Docker (recommended)
make demo-docker

# Or run locally
make demo-install && make demo

Then open http://localhost:8000, click Discover Agents, and send tasks to see typed schemas flow between independent agents in real time.

Repository Structure

taco/
├── Makefile                         # demo, demo-docker, demo-stop
├── spec/                            # Protocol specification
│   ├── task-types.md                # Construction task type definitions
│   ├── agent-card-extensions.md     # x-construction Agent Card fields
│   ├── security.md                  # Auth model, scope taxonomy, trust tiers
│   └── schemas/                     # JSON Schema definitions (bom-v1, rfi-v1, estimate-v1, ...)
├── sdk/                             # Reference SDK (Python)
│   └── taco/                        # models, schemas, server, agent_card, registry, client
├── website/                         # Docusaurus documentation site
│   ├── docs/                        # Markdown documentation pages
│   ├── src/                         # Landing page and components
│   └── static/                      # Visual reference diagrams (HTML)
└── examples/                        # Sandbox demo
    ├── docker-compose.yml           # 4 services, hot-reload
    ├── run_demo.py                  # Local launcher (all 4 processes)
    ├── common/                      # Shared A2A server, models, LLM provider
    ├── agents/                      # 3 LLM-powered TACO agents
    │   ├── estimating_agent.py      # :8001 — estimate + value-engineering
    │   ├── supplier_quote_agent.py  # :8002 — material-procurement
    │   └── rfi_generation_agent.py  # :8003 — rfi-generation
    └── orchestrator/                # :8000 — dashboard + agent discovery
        ├── app.py
        └── dashboard.html           # Single-file UI with live flow diagram

Quick Start

pip install taco-agent
from taco import ConstructionAgentCard, ConstructionSkill

# Define your agent
card = ConstructionAgentCard(
    name="My Electrical Estimating Agent",
    trade="electrical",
    csi_divisions=["26"],
    skills=[
        ConstructionSkill(
            id="generate-estimate",
            task_type="estimate",
            input_schema="bom-v1",
            output_schema="estimate-v1",
        )
    ],
)

# Serve as an A2A-compatible endpoint
card.serve(host="0.0.0.0", port=8080)
from taco import TacoClient, extract_structured_data

# Send a task to an agent
async with TacoClient(agent_url="http://localhost:8001") as client:
    card = await client.discover()
    task = await client.send_message("estimate", bom)
    estimate = extract_structured_data(task.artifacts[0].parts[0])
    # estimate follows the estimate-v1 schema
from taco import AgentRegistry

# Discover and filter agents in-memory
registry = AgentRegistry()
await registry.register("http://localhost:8001")
await registry.register("http://localhost:8002")
agents = registry.find(trade="plumbing", task_type="material-procurement")

Note: The Python SDK uses snake_case parameter names (e.g., csi_divisions, task_type) that map to the camelCase JSON fields defined in the spec (csiDivisions, taskType).

Documentation

Full documentation is hosted at pelles-ai.github.io/taco:

Principles

  1. Ontology, not protocol. TACO builds on A2A using its native extension points. Every TACO agent is a standard A2A agent.
  2. Agents are opaque. Agents collaborate without exposing internals — proprietary logic, pricing models, and trade secrets stay private.
  3. Open and composable. Apache 2.0 licensed. The spec, schemas, and SDK are open source. The registry is a shared resource.
  4. Construction-native. Task types, schemas, and discovery are designed for how construction actually works — by trade, CSI division, project phase, and platform.

Status

🚧 Early stage — We're defining the core schemas and building the reference SDK. Looking for construction technology companies, trade contractors, GCs, and platform vendors to help shape the standard.

Get Involved

  • GitHub Discussions: Share ideas and feedback
  • Issues: Report problems or suggest improvements
  • Contributing: See CONTRIBUTING.md

License

Apache 2.0 — see LICENSE.


Initiated by Pelles. Built on the A2A protocol (Linux Foundation).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taco_agent-0.2.1.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taco_agent-0.2.1-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file taco_agent-0.2.1.tar.gz.

File metadata

  • Download URL: taco_agent-0.2.1.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taco_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b3cd2a58f9889ed619ac10746f688def27886bfa3b8cb1e3239e61c1881744c4
MD5 51abce8e6dc9a02fa134f1b304c9396c
BLAKE2b-256 f4cbafe53e2748ff08dfe57b69f84d268977ae50d4f199242abba705eb86fd28

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_agent-0.2.1.tar.gz:

Publisher: bump-version.yml on pelles-ai/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file taco_agent-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: taco_agent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taco_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6004cef527de8e564a2e01b310b192aa43a72a914b261afe2b20a97a62430fc
MD5 32bbdb48943329507f867334000c128f
BLAKE2b-256 32b22c45d6211076747067dad2e5954d8e2807fc7de3d6e58cb8aa89bda6c244

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_agent-0.2.1-py3-none-any.whl:

Publisher: bump-version.yml on pelles-ai/taco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page