A powerful, autonomous coding agent built by GoDaddy with comprehensive development features. Features AST-enhanced code analysis, MCP integration, GitHub Actions automation, and 30+ built-in tools. Supports both open-weight models (Qwen, DeepSeek) and remote APIs (OpenAI/Anthropic).
- Multi-Model Support: Local HuggingFace models + OpenAI/Anthropic APIs
- AST-Enhanced Analysis: Tree-sitter powered code understanding (36x faster)
- Repository Intelligence: Full codebase context in every interaction
- MCP Integration: Connect to external tools via Model Context Protocol
- GitHub Actions: Automated CI/CD workflow generation
- Memory Management: Persistent sessions with context retention
- Hooks System: Extensible workflow automation
- Enhanced Commands: Both
:and/prefixes for flexible command entry
- Real AST Parsing vs regex patterns
- Repository Mapping with symbol extraction
- Plan Mode for safe exploration
- 30+ Built-in Tools for comprehensive automation
# Clone and install
git clone https://github.com/jgowdy-godaddy/gdac.git
cd gdac
pip install -e .
# For development
pip install -e ".[dev]" pytest# Start with default model
gdac
# With specific model
gdac --model remote-openai
# With specific repository
gdac --repo /path/to/project# List available models
gdac models
# Run with local model
gdac run --model qwen2.5-coder-14b --repo . \
--goal "Fix failing tests and add --dry-run flag"
# Run with OpenAI
export OPENAI_API_KEY="sk-..."
gdac run --model remote-openai --remote-model gpt-4o --repo . \
--goal "Refactor authentication module"
# Run with Anthropic
export ANTHROPIC_API_KEY="sk-ant-..."
gdac run --model remote-anthropic --remote-model claude-3-opus --repo . \
--goal "Add comprehensive error handling":read <file> # Read file
:write <file> # Write file
:edit <file> # Edit existing file
/add <file> # Create new file:analyze [file] # AST analysis
:map # Repository map
:ast <file> # Parse file AST
/grep <pattern> # Search codebase:git status # Check status
:git diff # View changes
:git commit # Create commit:mcp # List MCP servers
:mcp-add <name> <cmd> # Add MCP server
:mcp-connect <name> # Connect to server:workflows # List workflows
:workflow-create <type> # Create workflow
:workflow-validate <file> # Validate workflow:memory # Show current session
:sessions # List all sessions
:load <session_id> # Load session:hooks # List hooks
:hook add <name> <trigger> <cmd> # Add hook
:hook enable <name> # Enable hookagentic_coder/
βββ Core
β βββ config.py # Model configurations
β βββ runtime.py # Agent runtime with streaming
β βββ planner.py # Context-aware prompts
β βββ repl.py # Interactive interface
βββ Tools (30+)
β βββ filesystem.py # File operations
β βββ repo_map.py # Repository mapping
β βββ ast_parser.py # AST analysis
β βββ git_tools.py # Git integration
β βββ ... # 25+ more tools
βββ Advanced Features
β βββ mcp.py # Model Context Protocol
β βββ hooks.py # Hooks system
β βββ memory.py # Session persistence
β βββ github_actions.py # CI/CD automation
β βββ commands.py # Command processor
βββ Tests
βββ test_agentic_coder.py # Comprehensive test suite
# API Keys
export OPENAI_API_KEY="your-key"
export ANTHROPIC_API_KEY="your-key"
# Optional Base URLs
export OPENAI_BASE_URL="https://api.openai.com/v1"
export ANTHROPIC_BASE_URL="https://api.anthropic.com"
# Feature Flags
export AGENTIC_ALLOW_DOCS=true # Allow doc creation
export AGENTIC_READ_EXPIRY=1800 # Read cache expiry (seconds)qwen2.5-coder-14b- Qwen 2.5 Coder 14Bqwen2.5-coder-32b- Qwen 2.5 Coder 32Bdeepseek-coder-v2-16b- DeepSeek Coder V2remote-openai- OpenAI APIremote-anthropic- Anthropic API
# Run all tests
pytest tests/
# Run with coverage
pytest --cov=agentic_coder --cov-report=html
# Run specific tests
pytest tests/test_agentic_coder.py::TestMCP -v- AST Parsing: 36x faster than regex approaches
- Repository Mapping: Handles 10,000+ file codebases
- Streaming: Real-time response visualization
- Context: 800+ tokens of repository context per prompt
- Fork the repository
- Create a feature branch
- Add tests for new features
- Ensure tests pass
- Submit a pull request
MIT License - See LICENSE file
- Advanced repository mapping techniques
- Tree-sitter for AST capabilities
- Open-source community contributions
Built for developers who want powerful, autonomous coding assistance