Skip to main content

takumai

takumai is a harness for packs: bundles of specialist agents, blueprints, policy, and verification. This release provides a validator for pack.toml manifests.

Status

Pre-alpha (0.0.1). The manifest format may change.

Install

pip install takumai

Requires Python 3.11 or newer.

Usage

Validate a pack directory or manifest file:

takumai validate examples/devops
takumai validate examples/devops/pack.toml --strict --format json
takumai --version

Exit codes: 0 valid, 1 issues found, 2 manifest could not be loaded. --strict also checks that referenced files exist.

from takumai import load, validate

for issue in validate(load("examples/devops/pack.toml")):
    print(f"{issue.path}: {issue.message}")

Manifest

[pack]
name = "devops"
version = "0.1.0"
description = "Infrastructure changes"

[[specialists]]
name = "scoper"
role = "reader"
description = "Turns a ticket into a change plan"
skills = ["skills/scoping"]
tools = ["read_file", "search_code"]
input = "contracts/ticket.json"
output = "contracts/change_plan.json"

[[specialists]]
name = "iac_author"
role = "builder"
description = "Writes infrastructure-as-code changes"
skills = ["skills/terraform"]
tools = ["read_file", "write_file", "terraform_plan"]
input = "contracts/change_plan.json"
output = "contracts/change_set.json"

[[specialists]]
name = "verifier"
role = "verifier"
description = "Checks that a change holds"
skills = ["skills/verification"]
tools = ["read_file", "run_check"]
input = "contracts/change_set.json"
output = "contracts/verdict.json"

[[blueprints]]
name = "infra_change"

[[blueprints.nodes]]
id = "scope"
kind = "agentic"
specialist = "scoper"
next = ["implement"]

[[blueprints.nodes]]
id = "implement"
kind = "agentic"
specialist = "iac_author"
next = ["checks"]

[[blueprints.nodes]]
id = "checks"
kind = "deterministic"
run = "checks/static.sh"
next = ["verify"]

[[blueprints.nodes]]
id = "verify"
kind = "agentic"
specialist = "verifier"

[policy]
risk_tiers = ["low", "medium", "high"]
human_gate_at = "high"
write_allowlist = ["infra/**"]

Rules enforced:

  • Names are unique; each specialist has 1 to 3 skills and a non-empty tool allowlist.
  • Every blueprint node is reachable and a terminal node exists.
  • A blueprint with a builder also has a deterministic node or a verifier.
  • Scenarios are visible only to verifier specialists.
  • human_gate_at is a declared risk tier.

Development

pip install -e ".[dev]"
ruff check . && ruff format --check . && pytest

License

MIT. See LICENSE.

Metadata

Release files for takumai 0.0.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 takumai 0.0.1
File Size Uploaded Provenance Actions
takumai-0.0.1.tar.gz 11.4 kB With provenance Details for takumai-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for takumai 0.0.1
File Interpreter ABI Platform Actions
takumai-0.0.1-py3-none-any.whl Python 3 none any Details for takumai-0.0.1-py3-none-any.whl

Total release size: 19.9 kB

Release files / takumai-0.0.1.tar.gz

Download URL takumai-0.0.1.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b4f4d3f70faec5c551adbd6cfe19c6253370af9863c23e72df46d94e0b612bce
BLAKE2b-256 checksum
How to use checksums
d6e777b29a579213491c646f46a5b53957df5d9ff13ce898f952e30d06db2aae
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 26, 2026.

Transparency log

Release files / takumai-0.0.1-py3-none-any.whl

Download URL takumai-0.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a16d18247d6e5219ac28b47eaf85b80038be66747095ac91db605b90cf45d6b
BLAKE2b-256 checksum
How to use checksums
3423c0073e6e4a2a93b1a325a194edcec1649afed244fddedf0849d82a68e5b7
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 26, 2026.

Transparency log

Security for takumai 0.0.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 takumai-0.0.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 26, 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.0.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