Concepts¶
Understanding the core ideas behind rp1 helps you get the most out of its workflows. These concept guides explain the "why" behind rp1's design decisions.
-
Constitutional Prompting
Learn how rp1 encodes expert knowledge into AI-executable workflows for consistent, single-pass execution.
-
Knowledge-Aware Agents
Discover how agents understand your codebase before writing code, respecting your patterns and architecture.
-
Command-Agent Pattern
Understand the architecture where thin wrapper commands delegate to autonomous agents.
-
Map-Reduce Workflows
See how rp1 parallelizes work for knowledge base generation and PR reviews.
Quick Overview¶
| Concept | What It Is | Why It Matters |
|---|---|---|
| Constitutional Prompting | Expert knowledge encoded in prompts | No iteration loops, consistent output |
| Knowledge-Aware Agents | Agents that understand your codebase | Output fits your architecture |
| Command-Agent Pattern | Commands delegate to agents | Clean, reusable workflows |
| Map-Reduce Workflows | Parallel processing pattern | Fast KB and PR analysis |
Where to Start¶
New to rp1? Start with Constitutional Prompting to understand rp1's core philosophy.
Want context-aware output? Read Knowledge-Aware Agents to learn about the knowledge base.
Curious about architecture? See Command-Agent Pattern for the technical design.
Need performance? Check Map-Reduce Workflows for parallelization patterns.