Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GoDaddy Agentic Coder - AI-powered coding assistant with advanced features for software development

Notifications You must be signed in to change notification settings

jgowdy-godaddy/gdac

Repository files navigation

GoDaddy Agentic Coder (gdac) - Production-Ready Autonomous Development Agent

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).

πŸš€ Key Features

Core Capabilities

  • 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

Advanced Features

  • Real AST Parsing vs regex patterns
  • Repository Mapping with symbol extraction
  • Plan Mode for safe exploration
  • 30+ Built-in Tools for comprehensive automation

πŸ“¦ Installation

# Clone and install
git clone https://github.com/jgowdy-godaddy/gdac.git
cd gdac
pip install -e .

# For development
pip install -e ".[dev]" pytest

🎯 Quick Start

Interactive REPL Mode

# Start with default model
gdac

# With specific model
gdac --model remote-openai

# With specific repository  
gdac --repo /path/to/project

Command-Line Usage

# 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"

πŸ› οΈ Command Reference

File Operations

:read <file>         # Read file
:write <file>        # Write file
:edit <file>         # Edit existing file
/add <file>          # Create new file

Code Analysis

:analyze [file]      # AST analysis
:map                 # Repository map
:ast <file>          # Parse file AST
/grep <pattern>      # Search codebase

Git Operations

:git status          # Check status
:git diff            # View changes
:git commit          # Create commit

MCP Integration

:mcp                       # List MCP servers
:mcp-add <name> <cmd>      # Add MCP server
:mcp-connect <name>        # Connect to server

GitHub Actions

:workflows                 # List workflows
:workflow-create <type>    # Create workflow
:workflow-validate <file>  # Validate workflow

Memory & Sessions

:memory              # Show current session
:sessions            # List all sessions
:load <session_id>   # Load session

Hooks

:hooks                     # List hooks
:hook add <name> <trigger> <cmd>  # Add hook
:hook enable <name>        # Enable hook

πŸ—οΈ Architecture

agentic_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

πŸ”§ Configuration

Environment Variables

# 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)

Model Presets

  • qwen2.5-coder-14b - Qwen 2.5 Coder 14B
  • qwen2.5-coder-32b - Qwen 2.5 Coder 32B
  • deepseek-coder-v2-16b - DeepSeek Coder V2
  • remote-openai - OpenAI API
  • remote-anthropic - Anthropic API

πŸ§ͺ Testing

# 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

πŸ“Š Performance

  • 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

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new features
  4. Ensure tests pass
  5. Submit a pull request

πŸ“„ License

MIT License - See LICENSE file

πŸ™ Acknowledgments

  • Advanced repository mapping techniques
  • Tree-sitter for AST capabilities
  • Open-source community contributions

Built for developers who want powerful, autonomous coding assistance

About

GoDaddy Agentic Coder - AI-powered coding assistant with advanced features for software development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages