Agentic Code Optimization & Deep Evaluation for Superior Coding Agent Experience
CodeOptiX is the universal code optimization engine that improves coding agent experience with deep evaluations and optimization. When AI coding agents dazzle with impressive code but leave you wondering about quality, maintainability, security, and reliability, CodeOptiX ensures proper behavior through evaluations, reflection, and self-improvement. Powered by GEPA optimization and Bloom scenario generation.
Brought to you by Superagentic AI
Advancing AI agent optimization and autonomous systems
CodeOptiX is the universal code optimization engine that improves coding agent experience with deep evaluations and optimization.
When AI coding agents dazzle with impressive code but leave you wondering about quality, maintainability, security, and reliability, CodeOptiX ensures proper behavior through evaluations, reflection, and self-improvement. Powered by GEPA optimization and Bloom scenario generation.
Built by Superagentic AI - Advancing the future of AI agent optimization and autonomous systems.
- π Deep Behavioral Evaluation - Comprehensive testing against security, reliability, and quality behaviors
- 𧬠GEPA Optimization Engine - Genetic-Pareto Evolution for automatic agent improvement
- πΈ Bloom-Style Scenario Generation - Intelligent test case creation for thorough evaluation
- π― Multi-Agent Support - Works with Claude Code, Codex, Gemini CLI, and custom agents
- π§ Multi-Provider LLM Support - OpenAI, Anthropic, Google, and Ollama (local models included!)
- β‘ CI/CD Integration - Automated quality gates and GitHub Actions support
The open source version provides core evaluation capabilities. Advanced features like agent evolution and optimization have limited support. For full optimization capabilities tailored to your needs, please get in touch.
# Using uv (recommended)
uv pip install codeoptix
# Using pip
pip install codeoptixOption 1: Using Ollama (No API Key Required)
# Make sure Ollama is running
ollama serve
# Run evaluation with local model
codeoptix eval \
--agent basic \
--behaviors insecure-code \
--llm-provider ollamaOption 2: Using Cloud Providers
# Set API key
export OPENAI_API_KEY="your-key-here"
# Run evaluation
codeoptix eval \
--agent claude-code \
--behaviors insecure-code \
--llm-provider openai| Behavior | Description |
|---|---|
insecure-code |
Detects security vulnerabilities (SQL injection, XSS, hardcoded secrets) |
vacuous-tests |
Identifies low-quality tests (missing assertions, trivial tests) |
plan-drift |
Detects requirements misalignment and plan deviations |
# Run multiple behaviors
codeoptix eval --behaviors insecure-code,vacuous-tests,plan-driftcodeoptix eval \
--agent claude-code \
--behaviors insecure-code \
--llm-provider openaicodeoptix ci \
--agent codex \
--behaviors insecure-code \
--fail-on-failurefrom codeoptix.adapters.factory import create_adapter
from codeoptix.evaluation import EvaluationEngine
from codeoptix.utils.llm import create_llm_client, LLMProvider
# Create adapter and evaluation engine
adapter = create_adapter("claude-code", config)
llm_client = create_llm_client(LLMProvider.OPENAI)
engine = EvaluationEngine(adapter, llm_client)
# Evaluate behaviors
results = engine.evaluate_behaviors(
behavior_names=["insecure-code", "vacuous-tests"]
)# Clone the repository
git clone https://github.com/SuperagenticAI/codeoptix.git
cd codeoptix
# Install with uv (recommended)
uv sync --dev --extra docs
# Or with pip
pip install -e ".[dev,docs]"# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=codeoptix --cov-report=html# Format code
uv run ruff format .
# Lint code
uv run ruff check .
# Install pre-commit hooks
uv run pre-commit installContributions are welcome! Please see our Contributing Guide.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests and linting (
uv run pytest && uv run ruff check .) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
CodeOptiX is proudly built by Superagentic AI
Advancing AI agent optimization and autonomous systems for the future of software development.
We're building the next generation of AI tools that enhance developer productivity and code quality through intelligent agent optimization.
- Superagentic AI Website - Learn about our mission
- Our Projects - Discover other AI agent tools