llopresto87/Cypress
About
CYPRESS (Contextual Yield Protocol for Routed Expert Seed Systems) — a project- and vendor-agnostic multi-agent seed for AI coding tools. Drop it into any repo to give agents a large number of per-role expert team, named protocols, a progressive-discovery knowledge graph, and spec- and test-driven discipline by default.
Data & AnalyticsMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalCYPRESS
What CYPRESS is
CYPRESS is an installer that gives the AI coding tool you already use a written way of working on your repository. It copies three kinds of file into the repository: instruction files, the method itself in Markdown, and a few small Python scripts that need only the standard library of Python 3.14 or newer. It is not a library your code imports, not a service and not a model. Installing only places those files; the work starts when you paste one prompt into a session of your tool, and that session reads your repository and builds its knowledge graph: short linked notes about your project that later sessions open a few at a time instead of rereading the code.
From then on, the method in those files asks each session to size its process to the task's risk, to write a specification before the code, to back each change with evidence that would show it wrong (a failing test first only where a test is owed), and to hand steps that need a clean context to separate agents; the glossary's skill entry says how an agent differs from a skill. Most of this is asked of the model, and only part of it is checked by a tool: What it does not do says which part is which.
Who it is for and not for
It is for developers who work in a code repository through a coding harness the installer supports: Claude Code, Prime Agent, opencode, Codex or GitHub Copilot. Support is not the same on each: Claude Code, opencode (OpenCode 2) and Prime Agent are first-class, and Codex and GitHub Copilot are deprecated, installed only when you name them and given no new features. The host capability matrix's support table and the host support decision records (tiers, opencode) say what each level means.
The method assumes no language, framework or stack. The reference corpora that ship with it are narrower: the library notes lean toward .NET, Java and Node.js, and the legal citations cover one national jurisdiction. Both are placed in your project only when you ask: the library notes page by page, from a list the installer proposes, and the legal citations whole. The corpora reference has the breakdown.
It is not for someone who does not use an AI coding tool, because nothing in the install acts until a session in that tool reads it.
What installing does to your repository
An install for Claude Code writes the files below into your project. If one of them is already there and differs, your version is kept beside it as a timestamped copy before the new one replaces it, and nothing is merged.
- the kernel, a short instruction file the harness reads at the start of every session:
CLAUDE.mdat the project root, withAGENTS.mdbeside it as a symlink to it (a copy where symlinks are unavailable); on the other harnesses, or where your project already has a plainAGENTS.mdand noCLAUDE.md,AGENTS.mdholds the kernel andCLAUDE.mdis the symlink; with--kernel-mode compose, a team's ownAGENTS.mdstays as it is andCLAUDE.mdimports it ahead of the kernel (install guide); - the harness directory
.claude/, holding the agent definitions, the skills, slash commands, hook scripts and settings; docs/graph/, where the knowledge graph lives: the method's own notes, and a skeleton that the first session fills in from your code, includingdocs/graph/models.md, where you name the model each host runs for each kind of work;- the install stamp
.cypress/seed.json, which records the version and options of the install and keeps any key the installer does not own, and beside it.cypress/recreated-nodes.txt, which lists the method's notes this install had to put back because they were missing; EXPERT_SEED_INSTALL_PROMPT.md, a local copy of the entry prompt for later sessions;- the source index cache under
.cypress/source-index/, which the install's last step builds from your code. Git ignores it through a.gitignoreinside it. The install then prints a short report of what the index found and what you still need to set up, with the fix for each item.
Other harnesses get their own directory in place of .claude/, such as .opencode/ or .prime/agent/, and the install guide lists each one.
A file that already matches is left alone. The install stamp .cypress/seed.json and the list beside it are replaced without a copy (backup before replace). Files under docs/graph/ that belong to your project, such as the graph's index, are only added where missing (project files kept), with one exception: the installer rewrites the plant: entry of docs/graph/index.md in place, also without a copy. It adds the entry if it is absent and writes each value you pass on the command line into a line still left as a placeholder, keeping any value already declared.
The install does not touch your application source, .gitignore, git history or CI.
What it costs
| Figure | What it covers, and how it was obtained |
|---|---|
| 66 949 bytes | per session on Claude Code: the kernel, the one-line description of every agent and skill, and the orchestrator's charter with its always-loaded nodes, computed from the seed's files by this repository's test run; a lower bound, not a live reading |
| 11% more tokens | per task, against a session with no method: 131 583 tokens against 118 973. The same run took 20% more tool calls (72 against 60) and 20% more wall-clock time (12 min 40 s against 10 min 32 s), and the run without the method found a defect that the run with the method missed. Measured once, on one small, well-specified task (evidence record) |
The always-loaded figure leaves out the notes a session opens on demand, each worker it starts, the text the hooks add to each prompt, and the one-time pass that builds the graph. The host capability matrix gives the figure for each other harness. No money figure exists.
9.0 removes repeated work from routine tasks: a route computed once, a librarian only when there is something to file, a check not rerun on unchanged inputs. None of those savings has been measured yet. brief.py --tokens-all records what each worker of a run used, so a comparison can be made, and the trial design is in the 9.0 owner notes.
Try it
git clone https://github.com/llopresto87/Cypress
./Cypress/install.sh claude-code --project-dir /path/to/your/project
You need bash and Python 3.14 or newer; with no Python at that version on PATH, the installer stops before it writes anything. The clone takes whatever the default branch holds when you run it, not a tagged release. In the second command, put your repository's path in place of the placeholder. That command only places files; its last line says the files are placed and the project's graph is not built yet. Then open a session rooted at your project and paste INSTALL_PROMPT.md into it. That starts the one-time growth pass, which reads your repository and builds its graph. None of these steps asks you to learn the project's vocabulary first.
On a first install, a harness may need a fresh session before it can start the agents that were just placed; the delegation notes record when, under delegation.harness-registration.
How it works
CYPRESS is a written workflow, not a program. The session reads which steps a task needs and in what order, carries them out itself, and hands the steps that need a clean context to subagents. A few hooks and linters check parts of the work; the rest is left to the model and to you.
The steps are written down as protocols, procedures a session follows in order, and the protocols reference lists them. The method asks each task to be sorted into a risk tier first, from a question (T0) to a change to architecture or contracts (T3), and the tier decides how much process the task gets. A T3 change gets a specification, evidence for each change with a failing test before the code where one is owed (test-first development), and review by separate workers.
Routine work is meant to stay routine. A small change no specification covers takes a lighter path, authorized by the evidence that tells success from failure and a one-line record of why. The session makes deterministic steps and a one-file mechanical edit itself instead of starting a worker for them, and a separate reviewer still reads that edit. The close-out at the end of a task starts a librarian only when its checks find something to file. What's new in 9.0 lists these paths.
Those workers are specialists: roles such as architect, tester and reviewer, each defined in one file that names its tools and its model class. The agents reference lists all of them.
Before reading code, a session is asked to open the graph's router, an index that points to the few nodes a task needs, and to load only those. This is progressive disclosure applied to your own project. Each fact is meant to live in one node, with every other node linking to it (one home per fact).
Once grown, your repository is a plant of the seed, which is this repository. Lessons can travel between them later: harvest proposes a plant's lessons back to the seed, and graft carries an updated seed onto a plant grown earlier. Only the steward starts either one; the method may propose it and then waits (steward only).
Why it is built this way
A coding session works inside a fixed context window, and a session that has read everything has no signal about what matters. The always-loaded part therefore stays small, and the rest is looked up when a task needs it. Process is sized to risk, which spares a typo fix a feature's coordination cost. Specifications and the evidence for each change come first, so a reviewer can check the work against something written before it. Steps that need a clean context go to separate workers, and one step's reading then does not crowd out the next. What the graph states is meant to be settled, so a later session uses it instead of working it out again. Only facts about your code can go stale, and a session checks those once, at its start, against the branch, commit and uncommitted changes recorded at the last canonize close-out.
Each of these choices has a decision record, and the decision index lists them with their status.
What it does not do
The method is written for the model to follow, and most of it is a request. For each mechanism, the manual's table of what each control holds and misses names its class and its gaps.
Requested, not enforced
- Choosing a task's tier is the model's own call, and no tool sees a tier chosen too low (tier classification).
- Writing a specification before the code is asked of the model. A linter checks a written specification's shape, not when it was written (spec before code).
- Backing each change with its evidence, and writing a failing test before the code where a test is owed, are asked of the model, and no tool sees the order (test before code). The default is no new test. Whether a contract needs one is the architect's call, open to the tester's challenge; a check script refuses a test that only reads back what its change added, and only where your project runs it (contract kind, worth check).
- Routing each task before reading anything and working through a protocol are asked of the model. The routing hook adds the route to each prompt and holds nothing (protocol order, prompt pointer).
- The linters report a fault only when someone runs them, and the install adds no CI to your project (graph lint, this repository's own checks).
- The kernel's byte budget is checked only in this repository's own test run, and nothing re-measures the copy in your project (kernel budget).
- Whether a change qualifies for the lighter paths (the session editing a file itself, a close-out with no librarian) is the session's judgment over checks a tool runs. A tool refuses the edit on a known trust path and blocks the delivery until a reviewer follows it (direct execution); nothing refuses a close-out the session judged too lightly (canonize).
Not yet measured
- The overhead on a large task, one with a specification, several files and a rollback path: not measured. The one overhead figure above was measured once, on a small task.
- The tokens the one-time growth pass spends on a repository: not measured.
- Whether the method improves the quality of the work: not measured.
- Whether owing a test only where it can catch something, with no new test as the default, changes the number of tests a project writes or the tokens it spends: not measured.
- Whether a host keeps the kernel's text after it compacts a long session: not recorded.
- What 9.0's lighter paths save in tokens and time, and whether quality holds: not measured.
Where to go next
- The manual, the long-form guide
- The glossary, one entry per project word
- What each control holds and misses
- Agents reference
- Protocols reference
- Skills and templates reference
- Host capability matrix
- What's new in 9.0
- What's new in 8.0, 8.1 and 8.2, with guides to the source index and to placing corpus pages
- Decision index
- Install guide, including upgrade and removal
- Per-harness notes: Claude Code, Prime Agent, opencode, Codex, GitHub Copilot
- To upgrade a plant grown earlier, the graft prompt; to fold a plant's lessons back, the harvest prompt
- What changed in each release: the changelog
License
CYPRESS is released under the MIT License. See LICENSE.
Copyright (c) 2026 Luigi Lopresto.
Explore related projects
Loading…