Tyrex Framework
Give your AI coding agent structure, memory, and discipline.
Your AI agent is powerful. But it's chaos without a framework.
AI coding agents skip tests, make sprawling commits, forget context between sessions, and ignore your project's patterns. Sound familiar?
Tyrex is a workflow orchestrator that fixes this. It scaffolds a disciplined development cycle directly into your project — TDD, atomic commits, documentation-first, and shared memory across sessions. One CLI, zero dependencies.
Type /tyrex-new
or /tyrex-plan
and your agent follows a structured workflow automatically. It reads markdown-based commands from your repo
— no plugins, no config files, no lock-in.
Tyrex doesn't replace your AI agent. It makes it reliable.
"The human decides WHAT and WHY. The AI decides HOW."
Everything your AI agent is missing
Structured Workflow
A four-step cycle — spec, plan, execute, review — so every feature ships with tests, docs, and clean commits.
Shared Memory
Your stack, patterns, and decisions live in TYREX.md. Every agent reads it before every interaction — no more repeating yourself.
Session Recovery
cursor.yml tracks exactly where you left off. New session? Type /tyrex-resume and pick up in seconds.
Guardrails
constitution.md sets inviolable rules your agent cannot break. TDD, no secrets in code, atomic commits, mandatory changelog.
Skills (AI Personas)
Assign specialized personas — backend engineer, security engineer, DBA — so each task gets domain-specific expertise.
Parallelization
Independent tasks run concurrently across sub-agents. Strict isolation rules prevent conflicts automatically.
Documentation-First
SPECs, SRS, PRD, and ADRs are generated before code — so you review the plan, not the mess.
Agent-Agnostic
17 slash commands that work identically in Claude Code, OpenCode, Cursor, and Codex. Switch agents, keep your workflow.
Three roles. One workflow.
You (Human)
- • Describe what you want
- • Review and approve plans
- • Stay in control of every decision
AI Agent
- • Reads markdown commands from your repo
- • Follows the structured workflow
- • Handles the implementation details
Tyrex
- • Enforces rules and guardrails
- • Orchestrates tasks and sub-agents
- • Keeps persistent project memory
Compatible with:
One command. Zero config.
$ npm install -g tyrex-framework
No dependencies. No lock-in. Works with Claude Code, OpenCode, Cursor, and Codex.