I built this to replace the need for a more expensive AI ChatBot as my Directive Writer for my IDE Coding Agent. It nearly works using OpenRouter.
OpenAgent reads your codebase and generates strategic recommendations shaped to your architectural preferences and development style.
# Install
pip install openagent-directive
# First time setup - personalize your experience
openagent init
# Generate personalized strategic analysis
openagent analyze
# Check repository structure
openagent inventoryOpenAgent is a repo-aware directive generator that:
- Reads your actual codebase - understands your files, structure, and patterns
- Personalizes recommendations - uses your SOUL.md profile to shape advice to your style
- Generates strategic directives - creates actionable improvement plans
- Advises, doesn't execute - you maintain full control over all decisions
Developers who want to understand their codebase better:
- Solo developers working on complex projects
- Teams needing architectural guidance
- Developers transitioning between projects
- Anyone wanting strategic improvement recommendations
openagent init- 8-question interview captures your working style
- Creates SOUL.md with your preferences
- Shapes all future directive generation
openagent analyze- Analyzes your repository structure
- Considers your SOUL.md preferences
- Generates personalized recommendations
OpenAgent provides clear, actionable directives. You decide what to implement.
- Repo-aware analysis - Understands your actual code structure
- Personalized recommendations - Shaped to your working style
- Strategic guidance - Focuses on what matters most for your project
- Advisory mode only - Never executes code, always advises
- CLI-driven - Simple command-line interface
# Install with pip
pip install openagent-directive
# Or with uv
uv add openagent-directive# Analyze current repository
openagent analyze
# Check repository structure
openagent inventory
# See system health
openagent health# Setup your profile
openagent init
# Get personalized advice
openagent analyze --context "Preparing for v2.0 release"
# Monitor costs
openagent costs- Repository Structure: File organization, architecture patterns
- Code Quality: Maintainability, complexity, technical debt
- Documentation: Completeness, consistency, alignment
- Dependencies: Security, versions, conflicts
- Test Coverage: Gaps, organization, quality metrics
- Strategic Opportunities: Missing components, improvements
Built with:
- Google ADK for LLM orchestration
- Multi-Agent System for specialized analysis
- Personalization Engine via SOUL.md integration
- Rich CLI for developer experience
See docs/state/current.md for current implementation status.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
MIT License - see LICENSE file for details.
- Documentation: docs/ directory
- Issues: GitHub Issues
- Discussions: GitHub Discussions MIT