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.3.0.tar.gz (33.2 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.3.0-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taco_agent-0.3.0.tar.gz
  • Upload date:
  • Size: 33.2 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.3.0.tar.gz
Algorithm Hash digest
SHA256 acbdc8ac6d795eb07e3b05569c6493381fa9f8b24a4fbe9639b34ab58acb7605
MD5 96735495d726b6301c00d4249a017400
BLAKE2b-256 3769db8926e9bfc66ea998adacc542b22da516aa137ffa688f33bafbc1b5cd04

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_agent-0.3.0.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: taco_agent-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca031406fafb617006f81e53563f1b9c7c07898913f9613a882cf0c24be527a7
MD5 a993963f08b38a7b03b78d02c8a9956b
BLAKE2b-256 f1c5e9f7e313b49245fe5076f0baafc8fb3fda4ad3ea39004c9e0376e567124e

See more details on using hashes here.

Provenance

The following attestation bundles were made for taco_agent-0.3.0-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