Talos: A secure, decentralized protocol for AI Agent communication
Project description
Talos Protocol
Secure, Decentralized Communication for the AI Agent Era
๐ Quick Start
# Clone with all submodules
git clone --recurse-submodules git@github.com:talosprotocol/talos.git
cd talos
# Initialize and validate
./deploy/scripts/setup.sh
./deploy/scripts/run_all_tests.sh
SSH not available? The setup script auto-falls back to HTTPS.
๐ Repository Topology
This is a multi-repo project using git submodules:
talos/ # Orchestrator (this repo)
โโโ deploy/
โ โโโ repos/ # 12 submodules
โ โ โโโ talos-contracts/ # Source of truth (schemas, vectors)
โ โ โโโ talos-core-rs/ # Rust performance kernel
โ โ โโโ talos-sdk-py/ # Python SDK
โ โ โโโ talos-sdk-ts/ # TypeScript SDK
โ โ โโโ talos-sdk-go/ # Go SDK
โ โ โโโ talos-sdk-java/ # Java SDK
โ โ โโโ talos-gateway/ # FastAPI Gateway
โ โ โโโ talos-audit-service/# Audit aggregator
โ โ โโโ talos-mcp-connector/# MCP bridge
โ โ โโโ talos-dashboard/ # Next.js Console
โ โ โโโ talos-docs/ # Documentation wiki
โ โ โโโ talos-examples/ # Example applications
โ โโโ scripts/
โ โโโ setup.sh # Initialize submodules
โ โโโ start_all.sh # Start all services
โ โโโ cleanup_all.sh # Clean all dependencies
โ โโโ run_all_tests.sh # Master test runner
โโโ docs/wiki/ # Documentation (deprecated, use talos-docs)
| Repo | Purpose | Tech |
|---|---|---|
talos-contracts |
Schemas, test vectors, helpers | TypeScript + Python |
talos-core-rs |
High-performance kernel | Rust + PyO3 |
talos-sdk-py |
Python SDK | Python |
talos-sdk-ts |
TypeScript SDK | TypeScript |
talos-sdk-go |
Go SDK | Go |
talos-sdk-java |
Java SDK | Java |
talos-gateway |
REST API Gateway | FastAPI |
talos-audit-service |
Audit log aggregation | FastAPI |
talos-mcp-connector |
MCP protocol bridge | Python |
talos-dashboard |
Security console UI | Next.js |
talos-docs |
Documentation wiki | Markdown |
talos-examples |
Example applications | Mixed |
๐ Contract-Driven Architecture
talos-contracts is the single source of truth. All other repos consume:
| Artifact | Description |
|---|---|
schemas/*.json |
JSON Schema definitions |
test_vectors/*.json |
Golden test cases |
src/ (TS) / talos_contracts/ (Py) |
Reference implementations |
Boundary Rules:
- โ No reimplementing
deriveCursor,base64url, etc. outside contracts - โ No
btoa/atobin browser code (use contracts helpers) - โ No deep cross-repo imports (use published packages)
v4.0 Features
| Feature | Status | Description |
|---|---|---|
| ๐ Contract-Driven Kernel | โ | talos-contracts as single source of truth |
| ๐ Capability Authorization | โ | Cryptographic tokens, <1ms session-cached auth |
| ๐ฆ Polyglot SDKs | โ | Native Python & TypeScript SDKs |
| ๐ฆ Rust Wedge | โ | High-performance Rust core |
| ๐ Double Ratchet | โ | Signal protocol for forward secrecy |
| โ Validation Engine | โ | 5-layer block validation |
| ๐ก Light Client | โ | SPV proof verification |
| ๐ค MCP Integration | โ | Secure tool invocation |
| โก Performance | โ | 695k auth/sec, <5ms p99 |
๐ ๏ธ Development
Prerequisites
- Python 3.11+
- Node.js 20+
- Rust (stable)
- Git with SSH keys (or HTTPS fallback)
Setup Modes
| Mode | Default | Behavior |
|---|---|---|
lenient |
Local | Warns on missing submodules, continues |
strict |
CI | Fails if any submodule unavailable |
# Local development (lenient)
./deploy/scripts/setup.sh
# Mirror CI behavior
TALOS_SETUP_MODE=strict ./deploy/scripts/setup.sh
Service Management
# Start all services
./deploy/scripts/start_all.sh
# Stop and clean everything
./deploy/scripts/cleanup_all.sh
# Per-repo Makefile
cd deploy/repos/talos-gateway
make install build test start
Testing
# Run all tests (unit only)
./deploy/scripts/run_all_tests.sh
# With live integration tests
./deploy/scripts/run_all_tests.sh --with-live
# Single repo
./deploy/scripts/run_all_tests.sh --only talos-contracts
Dashboard & Examples
Once started, access the Security Console:
- Dashboard: http://localhost:3000
- Examples Catalog: http://localhost:3000/examples
๐ Documentation
Documentation is maintained in the Wiki.
| Topic | Link |
|---|---|
| Getting Started | Getting Started |
| Architecture | Architecture |
| Development | Development |
| Testing | Testing |
| Python SDK | Python SDK |
| TypeScript SDK | TypeScript SDK |
| MCP Integration | MCP Integration |
Why Talos Exists
AI agents lack a trustable communication substrate:
| Problem | Current State | Talos Solution |
|---|---|---|
| Identity | No cryptographic identity | Self-sovereign DIDs |
| Authorization | Centralized OAuth/RBAC | Scoped capability tokens |
| Confidentiality | TLS at best | Forward secrecy (Double Ratchet) |
| Accountability | Trust the operator | Blockchain-anchored proofs |
| Decentralization | Central servers | P2P with DHT discovery |
Talos is the missing trust layer for autonomous AI systems.
๐ Why Talos Wins | Threat Model | Alternatives
License
Licensed under the Apache License 2.0. See LICENSE.
trigger
ci
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file talos_protocol-3.3.8.tar.gz.
File metadata
- Download URL: talos_protocol-3.3.8.tar.gz
- Upload date:
- Size: 189.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5402e5c10adfd079fe0e56175c0d1479f6c7cfa859e192140b9f71a6b1adbe3a
|
|
| MD5 |
4f767e2e21f79bec259934bb85bbaa25
|
|
| BLAKE2b-256 |
8890a6ffd0525c4aa8ef1aa2ee877d00e0ea899db4849871a7b85151b3350c14
|
Provenance
The following attestation bundles were made for talos_protocol-3.3.8.tar.gz:
Publisher:
ci.yml on talosprotocol/talos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
talos_protocol-3.3.8.tar.gz -
Subject digest:
5402e5c10adfd079fe0e56175c0d1479f6c7cfa859e192140b9f71a6b1adbe3a - Sigstore transparency entry: 812014985
- Sigstore integration time:
-
Permalink:
talosprotocol/talos@69c0c018c44bab75457dee1950793d8151f73ac9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/talosprotocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@69c0c018c44bab75457dee1950793d8151f73ac9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file talos_protocol-3.3.8-py3-none-any.whl.
File metadata
- Download URL: talos_protocol-3.3.8-py3-none-any.whl
- Upload date:
- Size: 144.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93ff51ac77df47b889a5035bc37ae9be2115f10615f149d9739d9ad4ff2a8c41
|
|
| MD5 |
cff5a96c51e4751d1dd102ce5404f41f
|
|
| BLAKE2b-256 |
fa82cf6859bd90caf555d3a3d5d1818b353d59b4ee21e7fae22af6c2d9aa8052
|
Provenance
The following attestation bundles were made for talos_protocol-3.3.8-py3-none-any.whl:
Publisher:
ci.yml on talosprotocol/talos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
talos_protocol-3.3.8-py3-none-any.whl -
Subject digest:
93ff51ac77df47b889a5035bc37ae9be2115f10615f149d9739d9ad4ff2a8c41 - Sigstore transparency entry: 812015004
- Sigstore integration time:
-
Permalink:
talosprotocol/talos@69c0c018c44bab75457dee1950793d8151f73ac9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/talosprotocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@69c0c018c44bab75457dee1950793d8151f73ac9 -
Trigger Event:
push
-
Statement type: