Orek AI
Understands the project. Makes intelligent decisions.


Orek combines a local code-intelligence layer with an adaptive LLM router. It maps the symbols and relationships in your repository, retrieves the context each turn needs, then matches the work to the best configured cloud or local model — with the final choice always visible and under your control.
How Orek thinks
- IndexBuilds a project-aware map of symbols and relationships
- RetrieveFuses semantic, full-text, lexical, and graph context
- RouteScores the task against configured models and constraints
- Act + recordUses tools under policy gates and records the decisions
- Hybrid code intelligence — syntax-aware chunks, local code embeddings, full-text search, lexical search, and symbol-graph expansion
- Adaptive model routing — task classification, complexity scoring, semantic matching, capability checks, and cascade selection
- Transparent control — use automatic routing or switch provider, model, and reasoning effort directly in the TUI
- Continuous context management — automatic compaction keeps long sessions moving and surfaces cumulative token savings
- Configurable by design — tune routes, models, tools, permissions, retrieval, prompts, and project-specific behavior
- Purpose-built tools beyond Bash — indexed code search, structured patches, MCP integrations, and managed subagents
