Metadata-Version: 2.5
Name: turbosnail
Version: 0.0.1
Summary: Runtime for takumai packs
Author: kobuilt
License-Expression: MIT
License-File: LICENSE
Keywords: agents,harness,runtime,takumai
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: takumai>=0.0.1
Description-Content-Type: text/markdown

# turbosnail

turbosnail is the runtime for [takumai](https://pypi.org/project/takumai/) packs. takumai defines a pack. turbosnail runs it.

## Status

Pre-alpha (0.0.1).

## Install

turbosnail is published on PyPI. Install the command with uv:

```sh
uv tool install turbosnail
```

To run it once without installing, use `uvx`:

```sh
uvx turbosnail plan path/to/pack
```

To use turbosnail as a library in a project, add it with uv:

```sh
uv add turbosnail
```

Requires Python 3.11 or newer.

## Usage

`turbosnail plan PATH` reads a takumai pack and prints its blueprints in execution order:

```sh
turbosnail plan examples/devops
```

```text
blueprint infra_change
  1. scope agentic scoper
  2. approve gate high
  3. implement agentic iac_author
  4. static_checks deterministic checks/static.sh
  5. verify agentic verifier
```

`PATH` can be a pack directory or a manifest file. Each node line shows its position, id, kind and detail. The detail is the specialist for agentic nodes, the run script for deterministic nodes, and the risk tier for gate nodes.

`plan` executes nothing. It only reads and checks the manifest.

Exit codes:

- `0`: the plan printed.
- `1`: the pack has issues. The issues print to stdout.
- `2`: the manifest could not be loaded. The error prints to stderr.

## Development

```sh
uv sync
uv run ruff check . && uv run ruff format --check . && uv run pytest
```

## License

MIT. See `LICENSE`.
