orchestrata_tools.context
Reference › orchestrata_tools › context
LLM context builder: collect project info for AI assistance.
The context package of orchestrata_tools collects facts about a project and turns them into text for an LLM. It is separate from the runtime context assembler in orchestrata_ultimate.context, which budgets prompt layers for volks.
- Collectors: config_collector reads
pyproject.tomlandrequirements.txt, env_collector detects env files and infrastructure folders, and dependency_summary classifies imports. - Assembly: project_context combines the collectors with AST statistics into a
ProjectContextand a Markdown rendering. - Prompts: prompt_builder wraps that context in code review, test generation and architecture prompts.
Flow: collectors produce small dataclasses, ProjectContextBuilder.build merges them, and PromptBuilder formats the result. Start with project_context.
6 modules, 448 lines of code.
Modules
| Module | Summary | LOC |
|---|---|---|
__init__ |
LLM context builder: collect project info for AI assistance. | 6 |
config_collector |
Collect project configuration files for LLM context. | 76 |
dependency_summary |
Summarize codebase dependencies for LLM context. | 94 |
env_collector |
Collect environment variables and .env files for LLM context. | 59 |
project_context |
Build complete project context for LLM consumption. | 157 |
prompt_builder |
Build structured LLM prompts from project context. | 56 |