Tyrex Framework
Human-driven, AI-accelerated pair programming.
What is Tyrex?
Tyrex is a workflow orchestrator that gives structure, memory, and guardrails to AI coding agents.
AI coding agents are powerful but chaotic — they skip tests, make sprawling commits, forget context between sessions, and ignore your project's patterns. Tyrex fixes this by scaffolding a disciplined development workflow directly into your project. One CLI, zero dependencies, works with Claude Code, OpenCode, Cursor, and Codex.
Tyrex Framework is an npm CLI tool that installs markdown-based slash commands into the directories your AI coding agent already reads. When you type /tyrex-new or /tyrex-plan, your agent reads the command definition and follows a structured workflow — TDD, atomic commits, documentation-first, and shared memory across sessions.
Tyrex doesn't replace your AI agent. It makes it disciplined.
"The human decides WHAT and WHY. The AI decides HOW."
Key Features
Structured Workflow
/tyrex-new → /tyrex-plan → /tyrex-do → /tyrex-review enforces a development cycle with specs, task dependencies, and code review.
Shared Memory
TYREX.md captures your stack, architecture, patterns, and decisions. Agents read it before every interaction.
Session Recovery
cursor.yml tracks exactly where you left off. Resume any session in seconds with /tyrex-resume.
Guardrails
constitution.md defines inviolable rules: TDD, no hardcoded secrets, small commits, mandatory CHANGELOG.
Skills (AI Personas)
Assign specialized perspectives like backend engineer or security engineer to tasks for higher quality.
Parallelization
Independent tasks run concurrently with sub-agents, each respecting strict isolation rules.
Documentation-First
SPEC, SRS, PRD, ADRs are generated before code, not as an afterthought.
Agent-Agnostic
One set of 17 commands works identically across Claude Code, OpenCode, Cursor, and Codex.
How it Works
You (Human)
-
•
Type
/tyrex-new - • Approve plans
- • Define WHAT and WHY
AI Agent
-
•
Reads
.mdcommands - • Follows the workflow
- • Decides HOW
Tyrex
- • Enforces workflow
- • Executes tasks
- • Maintains memory
Works with:
Get Started in Seconds
$ npx tyrex-framework
Zero dependencies. One command. Works with any AI coding agent.