Skip to main content

Spec-driven agent orchestration template with YAML flow definitions, multi-agent dispatch, and BDD traceability

Project description

temple8



Contributors Forks Stargazers Issues MIT License Coverage CI Python

From zero to hero: Spec-driven agent orchestration. Any workflow. Any LLM. Zero lock-in.


You have tried to ship features with AI assistants. The agent writes code, you review it, and somehow the spec still drifts from the implementation. Tests pass but the feature doesn't match what stakeholders asked for. Architecture decisions vanish into commit messages nobody reads. The review cycle is a black box: either everything passes or nothing does, with no structured progression.

temple8 replaces ad-hoc agent orchestration with state machines that route every step through the right agent with the right skills at the right time.

Flow definitions in YAML declare what happens at each state: who owns it, what they may read, what they must produce, and which conditions gate the next transition. No agent guesses what to do next. No step is skipped. Artifacts are scoped to each state's input/output contract.


Who is this for?

Developers moving from vibe coding to agentic engineering

You have shipped code with AI assistants and hit the wall: the agent writes code, you review it, the spec drifts. Vibe coding works for prototypes. It breaks at scale. temple8 replaces "prompt and pray" with spec-driven development: BDD scenarios from interviews, @id traceability from scenario to test function, red-green-refactor cycles enforced by default, three-tier review that catches what linters miss.

Teams wanting structured agent orchestration without lock-in

Your team follows a real methodology: Scrum, Kanban, SAFe, or something custom. Multi-agent orchestration should adapt to it, not the other way around. temple8 flows are YAML state machines you define, extend, or replace. Named specialists per state. No subscription, no vendor account, no code leaving your infrastructure. MIT licensed.

Anyone evaluating spec-driven development

Spec-driven development is gaining traction across AI coding tools. You want to try it without committing to a cloud IDE or a monthly subscription. temple8 is a project template: clone it, run it locally with any LLM, see if the process discipline works for your team. Already have a Python project? Use agents-smith to add temple8's agentic capabilities with one command.


What it does

flowr check      →  inspect a state's owner, skills, and transitions
flowr next       →  see which transitions pass given your evidence
flowr transition →  advance to the next state with evidence

State machines route the work. YAML flows define the delivery pipeline: discovery, architecture, planning, TDD cycles, review gates, delivery. Each state declares an owner, skills, input/output artifacts, and guard conditions. The engine validates transitions. The agent executes.

Workflows are configurable. The default flows cover spec-driven software development. Replace or extend them for your team's process: Kanban, SAFe, ITIL, or any custom pipeline. If it is a state machine, flowr can express it.

Agents execute it. Each state's owner dispatches to the right agent (PO, SE, SA, DE, R). Skills are loaded per state. Input/output contracts constrain scope. Evidence gates prevent premature transitions.

Branch discipline is explicit. Every state declares git: main or git: feature. Project-phase work commits to main. Feature work commits to a feature branch. No ambiguity about where changes belong.


Quick start

New project

git clone https://github.com/nullhack/temple8
cd temple8
curl -LsSf https://astral.sh/uv/install.sh | sh  # skip if uv is already installed
uv sync --all-extras
opencode && @setup-project                        # personalise for your project
uv run task test && uv run task lint && uv run task static-check

Existing project

pip install agents-smith
smith clone                              # adds temple8's agents, flows, skills, and knowledge

Commands

uv run task test          # full suite + coverage
uv run task test-fast     # fast, no coverage (use during TDD loop)
uv run task lint          # ruff format + check
uv run task static-check  # pyright type checking
uv run task run           # run the app
uv run task doc-build     # build API docs + coverage report

FAQ

How is this different from Kiro?

temple8 evolved over years of accumulated practice, not as a response to Kiro. Both identified the same pain points in AI-assisted development. The standards differ: Kiro uses EARS notation and property-based testing; temple8 uses BDD, TDD, and DDD with three-tier progressive review. Kiro is a cloud IDE on Bedrock. temple8 is a local project template with any LLM. MIT licensed, zero cost.

How is this different from Cursor or Copilot?

Cursor and Copilot help write code. temple8 provides the process that decides what to write, in what order, and what review it passes before shipping. Think of them as the engine and temple8 as the map. Use both together.

How does this relate to Claude Code or opencode?

Claude Code and opencode are general-purpose agent runners. temple8 gives them a process: YAML state machines, scoped agent roles, and evidence-based transitions. Without temple8, they follow prompts. With it, they follow a workflow.

Do I need to replace my existing tools?

No. temple8 is a project template: flows, agent definitions, skills, and knowledge files you drop into any Python project. Keep your editor. Bring your own LLM via opencode or a compatible agent runner. Already have a Python project? Use agents-smith to add temple8's agents, skills, and flows with one command: smith clone.

Is this only for software development?

The default flows cover software development (discovery, architecture, TDD cycles, review). Any repeatable process with steps and conditions can be expressed as a flowr state machine: ops runbooks, compliance audits, content pipelines, incident response.


Documentation


License

MIT. See LICENSE.

Author: @nullhack · Documentation

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

temple8-8.5.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

temple8-8.5.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file temple8-8.5.1.tar.gz.

File metadata

  • Download URL: temple8-8.5.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for temple8-8.5.1.tar.gz
Algorithm Hash digest
SHA256 8f469411f2988c730039b2533282c963c9e292a2cdaec084c8567461aad016d7
MD5 85f703ed54d21d08ca5a300e8b71c6ab
BLAKE2b-256 99c425e6f2c5c8abb35cdaa176d36b2628cfd588bcecdf3bc6979126a2191bb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for temple8-8.5.1.tar.gz:

Publisher: pypi-publish.yml on nullhack/temple8

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file temple8-8.5.1-py3-none-any.whl.

File metadata

  • Download URL: temple8-8.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for temple8-8.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 813483cc4a2e8c104383b615ee712fba9a12c2ab3f3306b533362b48f2776408
MD5 32c3f04a028e0afc68364aa59c7c3b80
BLAKE2b-256 dfb1f4099d97bd4fcbd8372ca30bc156a9feff12491c64a5ae73a11156cd3ab0

See more details on using hashes here.

Provenance

The following attestation bundles were made for temple8-8.5.1-py3-none-any.whl:

Publisher: pypi-publish.yml on nullhack/temple8

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