Rust-core, Python-facade framework for enterprise agentic systems.
Project description
tako 蛸
Rust-core, Python-facade framework for enterprise agentic systems.
Many arms, one mind.
tako is an open-source framework for building production agentic systems. It
gives you vendor-neutral provider abstractions, a Rust orchestration core that
keeps Python's GIL out of the hot path, MCP tool connectivity, and the
governance plumbing (OTel tracing, OPA policy, PII redaction, budgets, circuit
breakers) you actually need at scale — all with a Pythonic, dual sync/async
API that ships as one pip install.
Inspiration & credit
tako is an open-source generalisation of three patterns Sakana AI published,
plus AB-MCTS tree search:
- Trinity-style learned routing — a small model selects which provider/role handles each step. Xu et al., "TRINITY: An Evolved LLM Coordinator," arXiv:2512.04695.
- Conductor-style natural-language orchestration — a coordinator agent decomposes tasks and dispatches workers. Nielsen et al., "Learning to Orchestrate Agents in Natural Language with the Conductor," arXiv:2512.04388.
- Self-recursive test-time scaling — bounded recursion in which an agent reads its own output and decides whether to spin up corrective workflows. See Sakana AI's Fugu Beta blog post.
- AB-MCTS — Adaptive Branching Monte Carlo Tree Search. Inoue et al., arXiv:2503.04412; reference implementation by Sakana AI as TreeQuest (Apache-2.0).
takois an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Sakana AI or any model provider. The cited papers are credited as inspiration for the underlying patterns; the implementation is the work of thetakocontributors. The nametako("octopus") complements Sakana AI's "Fugu" (pufferfish) as a tribute.
Install
pip install tako-ai-core
The Python import name is still tako (import tako); the PyPI
distribution is tako-ai-core because the bare tako slot was
already taken by an unrelated 2011-era project.
No Rust toolchain required at install time — wheels are prebuilt for manylinux, musllinux, macOS universal2, and Windows x64/arm64.
Quickstart
import asyncio
import tako
client = tako.Client(
providers=[
tako.providers.Anthropic(model="claude-opus-4-7"),
tako.providers.OpenAI(model="gpt-5"),
],
mcp_servers=[
tako.mcp.Stdio(command=["npx", "-y", "@modelcontextprotocol/server-everything"]),
],
tracing=tako.tracing.Otlp(endpoint="http://otel-collector:4317"),
budget=tako.Budget(max_usd_per_request=5.0, max_usd_per_day=500.0),
)
orch = tako.orchestrator.SingleAgent(
provider="anthropic:claude-opus-4-7",
max_steps=10,
)
async def main():
result = await orch.run("What's the weather in Tokyo? Use a tool.")
print(result.text)
asyncio.run(main())
# Synchronous sibling:
result = orch.run_sync("Quick question: ...")
Capabilities (current release)
| Area | What's available today |
|---|---|
| Providers | OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Google Vertex (Gemini), Mistral, Ollama, plus an http-generic template adapter and a PythonProvider. All seven SDK-backed providers handle outbound vision content (inline + URL-source); Bedrock + Ollama use opt-in tako-side URL pre-fetch with the full SSRF mitigation stack (private-IP blocklist + DNS-rebind defence + per-host / wildcard / CIDR allowlist). |
| Orchestrators | SingleAgent, Conductor, Trinity (rule-based or ONNX-backed router), SelfCaller (bounded recursion), AbMcts (Adaptive Branching MCTS with verifiers + router-driven branch expansion). All stream natively via OrchEvent. |
| Streaming | Native provider.stream(...) on every SDK-backed provider; per-delta OrchEvent::VerifierScore on Trinity, Conductor, AbMcts (bounded mpsc::channel(64) for backpressure); streaming-aware ConfidenceGuard (RuleBasedGuard + opt-in LlmJudgeGuard per-N-delta). |
| MCP | Stdio, Streamable HTTP (with notifications() SSE + Mcp-Session-Id lifecycle), WebSocket, gRPC (with mTLS). |
OpenAI-compat HTTP server (tako-compat) |
Drop-in /v1/chat/completions with tako.* SSE extensions (tako.verifier_score, tako.recursion, tako.tool_call_*). Pluggable AuthResolver: static, JWT, OIDC, Vault, plus a composite ChainedAuthResolver with opt-in transport / infrastructure-error fail-fast. OIDC introspection ships every RFC 7662 / 8414 / 8705 auth method including mTLS with explicit cert/key rotation. |
| Governance | OPA / Rego policy (Allow / Deny / RedactMessages / ForceModel / RequireApproval), PII / DLP redaction, OTel tracing with tako.* + gen_ai.* semconv, in-memory + Redis budgets, circuit breakers, rate limits. |
| Sigstore | Tool-catalogue keyed + keyless verification with operator-pinned trust roots, Rekor SET + inclusion-proof + checkpoint freshness anchor (in-memory / on-disk JSON / Redis-backed StateStore), cosign protobuf-bundle. |
| Reliability | Cascade fallback, governor rate-limit, failsafe circuit breaker, exponential-jitter retry. |
| API surface | Sync + async dual API; mypy-strict types; full Pydantic v2 facade. |
For the chronological ledger of which capability landed in which phase
(33 phases × 17 rows), see docs/feature_matrix.md
or the Feature matrix page
on the docs site.
Project history
The project ships in numbered phases. The rolling per-phase index lives
in PLAN.md, individual plan documents under
plans/, and the per-version release notes in
CHANGELOG.md.
For a high-level summary of what shipped when, the docs site has a Feature matrix page (source).
Community
- Issues: https://github.com/nyankobu010/tako-ai-core/issues
- Discussions: https://github.com/nyankobu010/tako-ai-core/discussions
- Security: see
SECURITY.md— please use GitHub Private Vulnerability Reporting rather than opening a public issue. - Good first issues: https://github.com/nyankobu010/tako-ai-core/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
License
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 Distributions
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 tako_ai_core-0.51.2.tar.gz.
File metadata
- Download URL: tako_ai_core-0.51.2.tar.gz
- Upload date:
- Size: 455.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
013948c417ba4c8aaa23342360a9750283bee68d207e95ce0199ae44f496e98e
|
|
| MD5 |
784404e09a73cfce88ee2f01c9328b5e
|
|
| BLAKE2b-256 |
c68cf458e605f89b940f93ffbf5311d0e506003088c1c26c6d93963da7b59f37
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2.tar.gz:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2.tar.gz -
Subject digest:
013948c417ba4c8aaa23342360a9750283bee68d207e95ce0199ae44f496e98e - Sigstore transparency entry: 1439211430
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-win_arm64.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-win_arm64.whl
- Upload date:
- Size: 12.4 MB
- Tags: CPython 3.10+, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288c242b412322704e2c3702a4e3014261c9e2e8cf561bd7025b7f016f748747
|
|
| MD5 |
f8c076dfb44cb256c1d1bfb29ceb19cd
|
|
| BLAKE2b-256 |
f9d894ed75d2996a424dbd3bda4a6c9eb8905f4ebad2f3f786af422bab5e44f1
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-win_arm64.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-win_arm64.whl -
Subject digest:
288c242b412322704e2c3702a4e3014261c9e2e8cf561bd7025b7f016f748747 - Sigstore transparency entry: 1439211440
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 13.3 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50513686a63a33a20485cdab57f8dff23302da1ad10133c5c8c815a64285f435
|
|
| MD5 |
430ded52553121206a92a89e722a4892
|
|
| BLAKE2b-256 |
785832edeee71e4e04f6023b8f78dc27957d43e572437d7f8a26f5b465e67abc
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-win_amd64.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-win_amd64.whl -
Subject digest:
50513686a63a33a20485cdab57f8dff23302da1ad10133c5c8c815a64285f435 - Sigstore transparency entry: 1439211452
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 13.9 MB
- Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
405cf9139cc97c0f07800e780b4b7a9e7c1c008cf10590f9ce6344fdb7c8dab2
|
|
| MD5 |
a2d7e65801d2f31083385a5dff13aabc
|
|
| BLAKE2b-256 |
94f05af53accd5d8232fe6097fcae66002ca41de0cb841487da3adaa5fbae349
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_x86_64.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
405cf9139cc97c0f07800e780b4b7a9e7c1c008cf10590f9ce6344fdb7c8dab2 - Sigstore transparency entry: 1439211450
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 13.1 MB
- Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7aae05c78865d51f55c7d612ff618cb99139edd09e5df30c018130efb2eab6df
|
|
| MD5 |
88c44327ba187833518c831082ddc278
|
|
| BLAKE2b-256 |
048f59bfc16710ea083f0f968ade06cf43787ec9f8d74c97e0951bcb3f058a6f
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_aarch64.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-musllinux_1_2_aarch64.whl -
Subject digest:
7aae05c78865d51f55c7d612ff618cb99139edd09e5df30c018130efb2eab6df - Sigstore transparency entry: 1439211434
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 13.6 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
931b6217adb0180666c36f5b11cdc12c66b45ecb6b9ea8a21ff69638be3a8065
|
|
| MD5 |
940e8160df259fe79742379cc6a89148
|
|
| BLAKE2b-256 |
0ebce6f817346ebfad44348af209266fca1817cd11c9be4f38b765151644d1c3
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
931b6217adb0180666c36f5b11cdc12c66b45ecb6b9ea8a21ff69638be3a8065 - Sigstore transparency entry: 1439211448
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.9 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82b70caa48ce5ca8e4fd84064be68cfbeb2c2687ec2a2646df0f630d8235d210
|
|
| MD5 |
05e1c16b1d608e95f194b234126b3525
|
|
| BLAKE2b-256 |
8f30e2e3bc3d34159a12753e0f9b1de6b0a9cdcca9248da1a034ea3535a6349e
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_aarch64.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
82b70caa48ce5ca8e4fd84064be68cfbeb2c2687ec2a2646df0f630d8235d210 - Sigstore transparency entry: 1439211457
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tako_ai_core-0.51.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: tako_ai_core-0.51.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 24.8 MB
- Tags: CPython 3.10+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13a0ddae3e545a1e021ca43b9ba86d12166f02b91bd6d04f2cba1dac6d565eba
|
|
| MD5 |
ebec86519439608c5506e20e70fdb8d9
|
|
| BLAKE2b-256 |
cf5e24ae41de5423f1d08f21251356cd156e5d89bb1e90d10f850221cea2a215
|
Provenance
The following attestation bundles were made for tako_ai_core-0.51.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
wheels.yml on nyankobu010/tako-ai-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tako_ai_core-0.51.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
13a0ddae3e545a1e021ca43b9ba86d12166f02b91bd6d04f2cba1dac6d565eba - Sigstore transparency entry: 1439211460
- Sigstore integration time:
-
Permalink:
nyankobu010/tako-ai-core@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Branch / Tag:
refs/tags/v0.51.2 - Owner: https://github.com/nyankobu010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@a494539c5d69ddb86e7536bb3cf1e711edd49a33 -
Trigger Event:
push
-
Statement type: