main.py— Application entry point. Initializes the CrewAI workflow.orchastration.py— Orchestration logic for coordinating agents.models.py— Pydantic data models defining structured outputs.agents/— Agent definitions. Each module exports a factory (e.g.,get_researcher()).tasks/— Task definitions mapped to agents (e.g.,research_tasks.py).tools/— Shared utilities:diagram_tools.py,file_tools.py,image_tools.py,search_tools.py.output/— Generated artifacts (documents, presentations).temp/— Intermediate image assets and diagram scripts.
Install dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRun the application:
python main.pyNo test suite or build script is currently configured.
- Indentation: 4 spaces.
- Naming:
snake_casefor modules, functions, and variables;PascalCasefor Pydantic models and classes. - Imports: Group standard library, third-party, and local imports with a blank line between groups.
- Typing: Use type hints and Pydantic
BaseModelfor structured data. - Docstrings: Prefer Pydantic
Field(..., description="...")for model field documentation.
No tests exist yet. If adding tests, prefer pytest and place them in a top-level tests/ directory mirroring the package structure.
- Use imperative mood in commit messages (e.g.,
Add diagram caching tool). - Keep commits focused on a single logical change.
- Include a brief description and any relevant context in pull requests.
- Store API keys and secrets in a
.envfile. The project loads environment variables viapython-dotenv. - Do not commit credentials or generated artifacts in
output/andtemp/to version control.