Files
zeuz/README.md
T
Зарубин Филипп 475f5e4fe7 docs: add the Chinese README and generate all three from data
Chinese joins English and Russian, so the page a reader lands on is the same
shape in every language: promise, badges, wide hero, contents, and the ten
beginner headings with the ASCII workflow diagram.

The three files are no longer written by hand. Prose lives in
.github/readme.json, the workflow stages live in .github/pantheon.json, and
Heztia renders README.md, README.ru.md and README.zh.md from that data. Stage
titles and diagram labels gained their Chinese variants, and the generated
Olympuz family table renders in Chinese too.

public-repo-gate check --release-intent public: PASS 100/80.
2026-08-29 19:30:32 +03:00

199 lines
11 KiB
Markdown

# Zeuz
Zeuz turns a written specification into a multi-agent workflow with roles, gates, observability, and a verdict.
[Русский](README.ru.md) · [中文](README.zh.md)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Stars](https://img.shields.io/github/stars/zarubinvibe/zeuz?style=flat&color=C9A87A)](https://github.com/zarubinvibe/zeuz/stargazers) [![Status](https://img.shields.io/badge/status-reference-brightgreen.svg)](https://github.com/zarubinvibe/zeuz) [![Olympuz](https://img.shields.io/badge/olympuz-family-B8D6EA.svg)](https://github.com/zarubinvibe/athena#olympuz-family)
<p align="center"><img src="docs/assets/pantheon/hero.png" alt="Zeus in white marble with a golden lightning bolt beside the classical column, a governed workflow graph unfolding in daylight" width="100%"></p>
## Contents
- [What This Is](#what-this-is)
- [Why It Helps](#why-it-helps)
- [The Main Advantage](#the-main-advantage)
- [How It Works](#how-it-works)
- [Quickstart](#quickstart)
- [Simple Comparison](#simple-comparison)
- [Simple Words](#simple-words)
- [Safety And Privacy](#safety-and-privacy)
- [Limits](#limits)
- [Star And Contribute](#star-and-contribute)
<!-- beginner-readme:start -->
## What This Is
Zeuz is a factory for agent workflows. You give it a complete specification; a sequence of specialist agents designs the system, writes its files, and inspects the result. The output is a new project folder, not a running service.
## Why It Helps
Writing a multi-agent system by hand means inventing roles, stages, gates, and logging from scratch every time, and forgetting one of them every time. Zeuz keeps that structure as a repeatable pipeline with a tester at the end.
## The Main Advantage
**Main advantage:** the generated system is required to protect irreversible actions with deterministic checks.
**Why this is better:** The architect and builder prompts demand those checks, and the tester inspects them before returning a verdict. A run reports `done` only when the tester agrees.
## How It Works
The pipeline runs as ordered phases inside a workflow host. Each phase has a role, an input, and an artifact you can read.
<!-- workflow-diagram:start -->
```text
┌───────────┐ ┌───────────┐ ┌───────────┐
│ Specify │ ▶ │ Observe │ ▶ │ Cast │
└───────────┘ └───────────┘ └───────────┘
▼
┌───────────┐ ┌───────────┐ ┌───────────┐
│ Architect │ ▶ │ Economize │ ▶ │ Build │
└───────────┘ └───────────┘ └───────────┘
▼
┌───────────┐
│ Test │
└───────────┘
```
<!-- workflow-diagram:end -->
| Stage | What happens |
|---|---|
| 1. Specify | Goal, input, completeness invariant, constraints, done-when |
| 2. Observe | What is actually available on this machine, written to a log |
| 3. Cast | Role definitions and verified personas |
| 4. Architect | Parallel boundaries and deterministic gate requirements |
| 5. Economize | A model map and context-saving measures per stage |
| 6. Build | Agent files, a workflow, a protocol, a router, a plan graph |
| 7. Test | Syntax, gates, observability, lineage, personas, dry run |
### Step 1: Write the specification
You state the goal, the input, what must never be skipped, the constraints, and how you will know it is done. A missing or very short specification is rejected.
**You get:** a specification the factory can build against instead of guessing.
### Step 2: Snapshot the local runtime
The first phase records a runtime snapshot in a local JSONL file. When an optional tool is missing, the run records that fact instead of pretending.
**You get:** a written starting point you can look at afterwards.
### Step 3: Roles get their people
The cast phase writes role definitions for the future system and the personas behind them. Biographical facts are meant to be checked, not invented.
**You get:** a named team instead of one anonymous prompt.
### Step 4: Stages, gates, and a graph
The architect lays out the stages, marks what can run in parallel, and states which gates must be deterministic. The result is a graph, not prose.
**You get:** a plan where irreversible steps are fenced before any code exists.
### Step 5: Choose models and cut context
Each stage gets a model class and measures that keep context small. Cheap mechanical work does not get an expensive model by default.
**You get:** a system that is affordable to run more than once.
### Step 6: Files are written out
The builder writes the generated project into your output directory: agent files, the workflow source, a protocol, a project router, and a plan graph.
**You get:** a project folder you can read, diff, and run separately.
### Step 7: A tester returns a verdict
The tester inspects the generated system across those dimensions and reports findings. Anything other than a passing verdict returns `needs_fix` with the issues attached.
**You get:** an honest status instead of a confident-sounding summary.
## Quickstart
You need Bash and Node.js. The smoke check runs without any model and proves the factory source is still intact.
```bash
git clone https://github.com/zarubinvibe/zeuz.git
cd zeuz
bash smoke/smoke.sh
```
No Git? Download [the ZIP](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.zip) or [the tarball](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.tar.gz) and run the same check inside. To build something real, register `workflows/zeuz-pipeline.js` with a workflow host that provides `args`, `phase()`, `agent()`, and `log()`, then set `ZEUZ_HOME` and `ZEUZ_PROJECTS`.
**You get:** the check ends with a passing gate line, which proves the source parses and still carries its required markers.
## Simple Comparison
| Choice | Best when | What you get | Trade-off |
|---|---|---|---|
| **Zeuz** | You build multi-agent systems more than once | Roles, gates, observability, and a tester verdict by default | Needs a workflow host; no bundled runner |
| Writing the workflow by hand | One small system | Exactly what you intended | Gates and logging get invented again every time |
| An agent framework | You want libraries and a community | Batteries, docs, integrations | You still design the roles, gates, and evidence yourself |
| One long agent prompt | A quick experiment | Nothing to set up | No stages, no gates, and no way to see what happened |
## Simple Words
| Word | Simple meaning |
|---|---|
| Repository | The project folder that Git stores and versions |
| Terminal | The window where you type commands |
| Command | One instruction you give the computer |
| Branch | A separate line of changes that does not touch `main` |
| Pull Request | A request to review your change and accept it |
| Workflow host | The program that runs the pipeline and gives agents their tools |
| Gate | A check that must pass before an irreversible step is allowed |
## Safety And Privacy
- File access: build agents are instructed to write under your output directory; snapshots go under the project folder.
- Shell access: the observe and test phases run local commands, and your host decides sandboxing and approvals.
- Network access: the cast phase asks the host to verify facts online; Zeuz sets no network policy of its own.
- Secrets: the repository needs no credentials, and none belong in a specification or a generated artifact.
- Telemetry: there is no remote telemetry client; snapshots are local files.
- Rollback: Zeuz does not undo generated writes, so use a separate output directory and review the diff.
See [SECURITY.md](SECURITY.md) for the trust boundary and how to report a problem.
## Limits
Status: reference implementation. The repository holds the workflow source, agent prompts, rules, and a static smoke check.
- There is no bundled workflow host adapter and no packaged CLI.
- The smoke check inspects source and markers; it does not execute a complete generated system.
- Model labels such as haiku, sonnet, and opus must be mapped by your host.
- Agent verdicts are model output: treat generated code and claims as untrusted until your own checks pass.
- The optional observability binary may be missing, and the run records that instead of failing quietly.
Deeper reading: [the full reference](docs/DETAILS.md), [the roadmap](specs/00-roadmap.md), [construction rules](rules/best-practices.md), and the [decision records](docs/decisions/).
## Star And Contribute
Useful? Give Zeuz a star: [https://github.com/zarubinvibe/zeuz](https://github.com/zarubinvibe/zeuz). It takes a second and it decides whether other people ever find the project.
Want to change something? The path is short: fork the repository, create a branch, commit your change, push the branch, then open a Pull Request. Do not push directly to `main`; the release gate rejects it.
Found a problem instead? Open an issue at [https://github.com/zarubinvibe/zeuz/issues](https://github.com/zarubinvibe/zeuz/issues) and say what you ran and what happened.
<!-- beginner-readme:end -->
<!-- pantheon-family:start -->
## Olympuz family
This is one of the public [Olympuz projects](https://github.com/zarubinvibe/athena#olympuz-family). Each row opens the repository or downloads its source as a ZIP.
| Type | Name | What it does | Source |
|---|---|---|---|
| project | Athena | Portable agent OS that restores a complete Claude and Codex setup on a new Mac. | [Repository](https://github.com/zarubinvibe/athena) · [ZIP](https://github.com/zarubinvibe/athena/archive/refs/heads/main.zip) |
| project | Helioz | 24/7 agent work conveyor with verified completion markers and goal-based overnight decisions. | [Repository](https://github.com/zarubinvibe/helioz) · [ZIP](https://github.com/zarubinvibe/helioz/archive/refs/heads/main.zip) |
| project | Mnemazine | Local-first memory system that turns raw inputs into verified reusable knowledge. | [Repository](https://github.com/zarubinvibe/mnemazine) · [ZIP](https://github.com/zarubinvibe/mnemazine/archive/refs/heads/main.zip) |
| project | Themis | Multi-agent assistant for Russian litigation with local OCR and review by a five-jurist council. | [Repository](https://github.com/zarubinvibe/themis) · [ZIP](https://github.com/zarubinvibe/themis/archive/refs/heads/main.zip) |
| project | Zeuz | Factory that turns an idea into a governed multi-agent workflow with gates, observability, and replay. | [Repository](https://github.com/zarubinvibe/zeuz) · [ZIP](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.zip) |
<!-- pantheon-family:end -->
## License
MIT. See [LICENSE](LICENSE). Zeuz was created by Philipp Zarubin.