AgentsEarly2026

ZyRompts

One definition of how an agent should work, rendered to five coding agents and gated by code.

A modular multi-agent workflow framework that classifies a request into a workflow tier, decides policy in Python rather than prompt text, and generates byte-reproducible configuration for five agent platforms.

Licence
MIT
Version
0.1.0
Primary language
Python
Status
Early
  • 5Agent platforms
  • 13Workflow phases
  • 4Eval suites
  • 0Third-party dependencies
01 / Overview

A model can be argued out of an instruction

The premise of ZyRompts is narrow and testable: a language model can be talked out of an instruction, but it cannot be talked out of a Python conditional. So every rule that has to hold is written as code the engine evaluates, and prompt text is reserved for guidance.

That principle shapes the whole framework. It also solves a practical problem. A set of procedures for a coding agent has to exist for several platforms at once, and keeping five copies by hand guarantees that four of them drift.

One source, five renderings

ZyRompts holds a canonical set of skill definitions, then renders them into the configuration each platform expects: Claude Code, Gemini, Copilot, Codex and OpenCode. The adapters are pure functions from skill metadata to a map of path to content, so a build is byte-reproducible and continuous integration fails when a tree drifts from the source. Nothing is maintained five times.

Classification, then policy, then workflow

When a request arrives, the classifier assigns it an intent, a complexity and one of four workflow tiers, from a direct answer up to a full plan. The tier is a floor: evidence can raise it and nothing lowers it, so a terse request that turns out to be large cannot be treated as small.

Policy is evaluated before anything runs. A hard-deny table catches destructive commands even at the most permissive autonomy level, protected paths are checked after normalisation, and untrusted content is capped at a lower autonomy band. The decision is one of allow, ask or deny, returned from code.

The lifecycle itself is a thirteen-phase chain from intake to done, each phase with a gate. A block records where to resume rather than jumping ahead, which is how the framework guarantees that an agent never reviews its own work.

Hooks as data, evals as specification

Each nudge is a JSON file describing an event, a pattern and an action. The dispatcher validates the rule, resolves its handler from a fixed dictionary with no dynamic import, and exits cleanly on every path including unreadable input, so a bad rule costs a turn nothing. Adding behaviour is a file, not a patch.

Four evaluation suites in JSONL measure classification, injection resistance, policy decisions and prompt quality. A change that improves one suite and regresses another is visible rather than arguable, which is the difference between a framework with a claim and a framework with a test.

What it does not defend

The security document is candid. The classifier shrinks the attack surface but does not remove the class of attack, and the injection floor is a seatbelt. Only Claude Code gets the hook engine; the other platforms get the library. Those are real limits, written down in the repository rather than discovered by a user.

02 / What it does
  1. 01

    \"Request classification into a tier\"

    A request is assigned an intent, a complexity and one of four workflow tiers. The tier is a floor that evidence can raise and nothing lowers, so a terse but wide request cannot be treated as small.

  2. 02

    \"Policy decided in code\"

    A hard-deny table catches destructive commands at the most permissive autonomy level, protected paths are checked after normalisation, and untrusted content is capped at a lower band.

  3. 03

    \"Hook behaviour as data\"

    Each nudge is a JSON rule validated against a capability matrix, and handlers resolve from a fixed dictionary with no dynamic import, so a bad rule costs a turn nothing and adding one needs no Python.

  4. 04

    \"A gated thirteen-phase lifecycle\"

    Each phase has a gate and a block records where to resume rather than jumping ahead, which is how the framework guarantees an agent never reviews its own output.

  5. 05

    \"Five platforms from one source\"

    Pure-function adapters render the canonical skills into Claude Code, Gemini, Copilot, Codex and OpenCode, and CI fails on drift, so the trees cannot be maintained by hand.

  6. 06

    \"Four eval suites\"

    Classification, injection, policy and prompt quality are measured as JSONL suites, so a change that improves one and regresses another is visible rather than arguable.

The ZyRompts documentation site, captured in a browser
The project's own documentation page, captured in a browser. The repository is the source of every detail on this page.
03 / Stack
  • Python 3.9+
  • JSON rule registry
  • HTML
  • Eval harness
04 / Limits and non-goals

Taken from the repository. These are the things the project says it does not do, or the places it can fail.

  • The data files live in the repository rather than the installed package, so a non-editable install needs a path pointing at a checkout.
  • The classifier reduces the attack surface but does not eliminate the class. The injection floor is described as a seatbelt, not a guarantee.
  • A rule with a typo is skipped with a note rather than raising, so a mistyped rule matches nothing.
  • Hook-based enforcement is on Claude Code. The other four platforms receive the skill library without the hook engine.
05 / Where these facts come from
  • README.md
  • LICENSE
  • core/pyproject.toml
  • docs/architecture.md
  • docs/security-model.md
  • CHANGELOG.md

Counts, versions and licences on this page were read from the repository at the date of writing. If a page and the repository disagree, the repository is correct. Found an error? Open an issue.