ODD (Output-Driven Development) is a methodology for AI-native software engineering. It prioritizes Artifacts and Decision Responsibility over Code.
| Copilot | ODD |
|---|---|
| AI assistant that helps you write code | Framework that defines contracts for AI to generate code |
| You still review all code | System verifies code automatically |
| Responsibility is vague | Responsibility is clear via contracts |
| Focus on "how to write" | Focus on "what to produce" |
ODD is a methodology with a reference implementation. You can practice ODD with any tools (Copilot, Cursor, Claude, etc.). This repo is a reference implementation.
Any OpenAI-compatible API:
- OpenAI (GPT-4, GPT-4o)
- NVIDIA (Llama, Mistral)
- Anthropic (via adapter)
- Local models (Ollama, LM Studio)
No. ODD separates definition from execution:
- Definition (contracts) requires domain knowledge, not coding
- Execution (code generation) is done by AI
Domain experts can participate directly without programming skills.
ODD is designed for:
- ✅ Enterprise applications
- ✅ Finance/Healthcare (compliance requirements)
- ✅ Large teams (standardization needs)
- ✅ High-risk systems (auditability needs)
ODD is NOT designed for:
- ❌ Creative exploration
- ❌ Pure art projects
- ❌ Zero-cost prototyping
A contract is a precise agreement defining artifacts:
- Inputs: What the artifact receives
- Outputs: What the artifact produces
- Implicit requirements: Expert knowledge encoded as rules
- Verification hints: How to validate the result
Sealing creates an immutable audit trail:
- Calculates SHA-256 hash of each artifact
- Establishes a complete hash chain
- Enables traceability from final code back to requirements
Two scenarios:
- Critical failure (e.g., missing password hashing) → Block deployment, require human decision
- Warning (e.g., missing exception handling) → Log warning, allow override
This is Human-in-the-Loop Governance: AI generates, system screens, humans decide.
- Add contract templates to
artifacts/standards/ - Improve verification rules for existing templates
- Share your use cases in Discussions
- Report bugs via Issues
See CONTRIBUTING.md for details.
Yes. ODD is licensed under MIT License, which permits commercial use.
No, but it's appreciated if you do.
Author: Yi Fu (ODDFounder) Email: fuyi.it@live.cn WeChat: Fuyi-ODDFounder GitHub: @oddfounder
⭐ Found this helpful? Star us on GitHub
ODD: Unleash AI Speed. Reduce Engineering Risk.