https://github.com/mikeoller82/codexa
π€ Codexa: AI-Powered CLI Coding Assistant & Development Partner
https://github.com/mikeoller82/codexa
ai anthropic cli coding-assistant developer-tools mcp openai python
Last synced: about 1 month ago
JSON representation
π€ Codexa: AI-Powered CLI Coding Assistant & Development Partner
- Host: GitHub
- URL: https://github.com/mikeoller82/codexa
- Owner: mikeoller82
- License: mit
- Created: 2025-08-26T19:25:04.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-08-27T03:14:05.000Z (about 1 month ago)
- Last Synced: 2025-08-27T03:50:29.361Z (about 1 month ago)
- Topics: ai, anthropic, cli, coding-assistant, developer-tools, mcp, openai, python
- Language: Python
- Homepage:
- Size: 266 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-AI-driven-development - Codexa - AI-Powered CLI Coding Assistant & Development Partner (Terminal & CLI Agents)
README
# π€ Codexa
**AI-Powered CLI Coding Assistant & Development Partner**
[](https://www.python.org/downloads/)
[](LICENSE)
[](https://pypi.org/project/codexa/)
[](https://pypi.org/project/codexa/)
[](https://github.com/psf/black)*Transform your development workflow with an intelligent AI assistant that understands your code, suggests improvements, and helps you build better software faster.*
[π Quick Start](#-quick-start) β’ [β¨ Features](#-features) β’ [π Documentation](#-documentation) β’ [π€ Contributing](#-contributing)
---
## π― What is Codexa?
Codexa is a next-generation CLI coding assistant that serves as your proactive development partner. Unlike traditional tools, Codexa understands context, learns from your codebase, and provides intelligent suggestions to accelerate your development workflow.
### π Key Highlights
- **π§ Context-Aware AI**: Understands your entire codebase and development patterns
- **β‘ Lightning Fast**: Optimized performance with <1s startup time
- **π¨ Beautiful Interface**: Animated ASCII art with 5 stunning themes
- **π Extensible**: MCP server integration for specialized capabilities
- **π‘οΈ Secure**: Local-first processing with optional cloud AI providers
- **π± Cross-Platform**: Works seamlessly on Linux, macOS, and Windows---
## β¨ Features
### π€ **Intelligent Code Assistance**
- **Smart Code Analysis**: Deep understanding of your codebase architecture
- **Contextual Suggestions**: Recommendations based on your coding patterns
- **Multi-Language Support**: Python, JavaScript, TypeScript, Go, and more
- **Real-time Error Detection**: Catch issues before they become problems### ποΈ **Advanced Provider System**
- **Runtime Provider Switching**: Switch between OpenAI, Anthropic, and OpenRouter instantly
- **Model Selection**: Choose the best model for each task
- **Intelligent Routing**: Automatic provider selection based on task complexity
- **Fallback Support**: Graceful degradation when providers are unavailable### π§ **MCP Server Integration**
- **Context7**: Access up-to-date documentation and code examples
- **Sequential**: Complex reasoning and multi-step analysis
- **Magic**: Modern UI component generation
- **Playwright**: Cross-browser testing and automation### π¨ **Enhanced User Experience**
- **Animated ASCII Art**: 5 beautiful themes (default, minimal, cyberpunk, retro, matrix)
- **Interactive Startup**: Guided onboarding for new users
- **Smart Command System**: Powerful slash commands for common workflows
- **Contextual Help**: Get assistance exactly when you need it### π **Slash Commands**
```bash
/help # Get comprehensive help and guidance
/status # View system status and health metrics
/provider # Switch AI providers and models
/model # Select specific models for tasks
/mcp # Manage MCP server connections
/commands # List available slash commands
/config # View and modify configuration
```---
## π Quick Start
### Installation
#### Option 1: pipx (Recommended)
```bash
pipx install codexa
```#### Option 2: pip
```bash
pip install codexa
```#### Option 3: Development Install
```bash
git clone https://github.com/mikeoller82/codexa.git
cd codexa
pip install -e .
```### Initial Setup
1. **Configure API Keys** (choose one or more):
```bash
export OPENAI_API_KEY="your-openai-key"
export ANTHROPIC_API_KEY="your-anthropic-key"
export OPENROUTER_API_KEY="your-openrouter-key"
```2. **Initialize Codexa**:
```bash
codexa setup
```3. **Start Your First Session**:
```bash
codexa
```That's it! π Codexa will guide you through an interactive setup and help you get started.
---
## π Usage Examples
### Basic Code Analysis
```bash
# Analyze your current project
codexa analyze# Get help with a specific file
codexa explain app.py# Generate documentation
codexa document --format markdown
```### Interactive Development
```bash
# Start interactive session
codexa# Switch providers on-the-fly
/provider anthropic# Change themes
/config theme cyberpunk# Get project status
/status
```### Advanced Workflows
```bash
# Complex code refactoring
codexa refactor --target ./src --style clean# Security audit
codexa audit --security --comprehensive# Performance optimization
codexa optimize --focus performance
```---
## βοΈ Configuration
### User Configuration (`~/.codexarc`)
```yaml
# AI Provider Settings
default_provider: "openai"
default_model: "gpt-4"# UI Preferences
theme: "default"
animations: true
startup_tips: true# MCP Servers
mcp_servers:
context7: true
sequential: true
magic: false
playwright: false# Performance
cache_enabled: true
parallel_processing: true
```### Project Configuration (`CODEXA.md`)
Auto-generated project-specific guidelines that Codexa creates to understand your project better.---
## ποΈ Architecture
Codexa is built with a modular, extensible architecture:
```
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β CLI Interface β β Enhanced UX β β Command System β
β β β β β β
β β’ Typer-based β β β’ ASCII Art β β β’ Slash Commandsβ
β β’ Auto-complete β β β’ Animations β β β’ Extensible β
β β’ Error Handlingβ β β’ Themes β β β’ Built-in Help β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββ
β Agent System β
β β
β β’ Enhanced Agent (Phase 3) β
β β’ Basic Agent (Fallback) β
β β’ Dual-mode Operation β
βββββββββββββββββββ¬ββββββββββββββββββ
β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β β β
βββββββββββΌββββββββββ βββββββββΌββββββββ βββββββββββΌββββββββββ
β Provider System β β MCP Integrationβ β Display System β
β β β β β β
β β’ OpenAI β β β’ Context7 β β β’ ASCII Renderer β
β β’ Anthropic β β β’ Sequential β β β’ Theme Manager β
β β’ OpenRouter β β β’ Magic β β β’ Animation Engineβ
β β’ Runtime Switch β β β’ Playwright β β β’ Progress Bars β
βββββββββββββββββββββ ββββββββββββββββββ βββββββββββββββββββββ
```---
## π€ Contributing
We welcome contributions from the community! Here's how you can help:
### π Bug Reports
Found a bug? [Open an issue](https://github.com/yourusername/codexa/issues) with:
- Detailed description
- Steps to reproduce
- Expected vs actual behavior
- Environment details### π‘ Feature Requests
Have an idea? [Create a feature request](https://github.com/yourusername/codexa/issues) with:
- Use case description
- Proposed solution
- Alternative approaches
- Examples### π§ Development Setup
```bash
# Clone the repository
git clone https://github.com/yourusername/codexa.git
cd codexa# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/macOS
# or
venv\Scripts\activate # Windows# Install in development mode
pip install -e ".[dev]"# Install pre-commit hooks
pre-commit install# Run tests
pytest# Format code
black codexa/
```### π Pull Request Guidelines
1. **Fork the repository** and create a feature branch
2. **Write tests** for new functionality
3. **Update documentation** as needed
4. **Follow code style** (Black formatting, type hints)
5. **Submit PR** with clear description---
## π Project Stats



---
## π οΈ Tech Stack
- **Core**: Python 3.8+, asyncio
- **CLI**: Typer, Rich
- **AI Integration**: OpenAI, Anthropic, OpenRouter APIs
- **Testing**: pytest, pytest-asyncio
- **Code Quality**: Black, mypy, flake8
- **Documentation**: MkDocs (coming soon)---
## π§ Roadmap
### Phase 3 β (Current)
- [x] Enhanced UX with animations and themes
- [x] MCP server integration
- [x] Advanced command system
- [x] Error handling and user guidance### Phase 4 π (Next)
- [ ] Plugin ecosystem
- [ ] Team collaboration features
- [ ] Advanced code generation
- [ ] Integration with popular IDEs### Phase 5 π (Future)
- [ ] Cloud synchronization
- [ ] Advanced analytics
- [ ] Custom model training
- [ ] Enterprise features---
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
## π Acknowledgments
- **Claude Code Team** for inspiration and guidance
- **MCP Community** for the Model Context Protocol
- **Open Source Community** for amazing tools and libraries
- **Contributors** who make this project better every day---
## π Support
- π **Documentation**: [Full documentation](https://mikeoller82.github.io/codexa) (coming soon)
- π¬ **Discussions**: [GitHub Discussions](https://github.com/mikeoller82/codexa/discussions)
- π **Issues**: [Report bugs](https://github.com/mikeoller82/codexa/issues)
- π§ **Email**: support@codexa.dev (coming soon)---
**Made with β€οΈ by the Codexa Team**
*Star β this repo if you find it useful!*