🔴 AADC - Agentic AI Developer Console
An AI-powered CLI tool that creates complete, production-ready applications from natural language instructions. Built with Google's Gemini API.
✨ Features
- Multi-Model Support: Switch between Gemini, OpenAI GPT, and Claude models
- Project Analysis:
/initanalyzes your codebase for AI context - Complete Code Generation: Creates fully functional websites, apps, and games from a single instruction
- File Management: Create, read, write, edit, and delete files and folders
- Background Terminals: Run servers (Node.js, Python, etc.) in background sessions
- Persistent Memory: Remembers your preferences and project details across sessions
- Permission Modes: Control when the AI asks for confirmation
- Plan Mode: Review AI's plan before it starts coding
- Command Execution: Run shell commands, install packages, start servers
- Iterative Development: Refine and modify your projects through conversation
🚀 Quick Start
1. Installation
# Clone or download this repository
cd aadc
# Install dependencies
pip install -r requirements.txt
2. Get Your API Key
- Go to Google AI Studio
- Create or sign in with your Google account
- Generate an API key
3. Set Your API Key
Option A: .env File (Recommended)
# Copy the example file
cp .env.example .env
# Edit .env and add your key
GEMINI_API_KEY=your-api-key-here
Option B: Environment Variable
export GEMINI_API_KEY="your-api-key-here"
Option C: Enter When Prompted The tool will ask for your API key on first run and optionally save it.
4. Run the Agent
python main.py
📖 Usage
Interactive Mode
Simply run the agent and start describing what you want to build:
$ python main.py
╔══════════════════════════════════════════════════════════════╗
║ GEMINI CODING AGENT ║
╚══════════════════════════════════════════════════════════════╝
┌─[/home/user/projects]
└─▶ Create a snake game with HTML, CSS, and JavaScript
🔧 Tool: create_folder
├─ folder_path: snake-game
└─ ✓ Success
🔧 Tool: create_file
├─ file_path: snake-game/index.html
├─ content: <!DOCTYPE html>...
└─ ✓ Success
...
🤖 Assistant:
I've created a complete Snake game! To play:
1. Open snake-game/index.html in your browser
2. Use arrow keys to control the snake
3. Eat the red food to grow and score points
Single Command Mode
Run a single command without entering interactive mode:
python main.py "Create a todo app with React"
CLI Options
python main.py --help
Options:
prompt Optional prompt for single command mode
-k, --api-key Gemini API key (overrides env variable)
-d, --directory Working directory for file operations
-v, --version Show version
Built-in Commands
| Command | Description |
|---|---|
/init |
Analyze codebase, generate AI context summary |
/models [name] |
List or switch AI models |
/help |
Show help information |
/perm [mode] |
View/set permission mode (ask/auto/command_ask) |
/plan |
Toggle plan mode on/off |
/terminals |
List active background terminal sessions |
/kill <id> |
Stop a background terminal |
/output <id> |
View output from a terminal |
/memory |
List all stored memories |
/mem <query> |
Search memories |
/forget <key> |
Remove a memory |
/clear |
Clear conversation history |
/cd <path> |
Change working directory |
/pwd |
Print current directory |
/ls |
List files in current directory |
/exit |
Exit the agent |
Permission Modes
Use /perm <mode> to control when the AI asks for confirmation:
| Mode | Description |
|---|---|
ask |
Ask before executing ANY tool |
auto |
Execute all tools automatically (default) |
command_ask |
Only ask before shell commands |
Plan Mode
Enable plan mode to have the AI create a plan.md first:
- Use
/planto toggle on/off - Or prefix your request with
plan:(e.g., "plan: create a todo app") - Review the plan and approve/disapprove before coding begins
Available Models
Use /models <name> to switch between AI providers:
| Model | Provider | Description |
|---|---|---|
gemini-3-pro-preview |
Gemini 3 Pro Preview (default) | |
gemini-2.5-pro |
Gemini 2.5 Pro | |
GPT-5.1 |
OpenAI | GPT-5.1 |
gpt-5-pro |
OpenAI | GPT-5 Pro |
claude-sonnet-4-5 |
Anthropic | Claude Sonnet 4.5 |
claude-opus-4-5 |
Anthropic | Claude Opus 4.5 |
Project Initialization
Run /init to analyze your codebase:
- Generates
.aadc-summary.mdwith project overview - AI uses this for better context understanding
- Run again after major changes to refresh
CLI Options
python main.py --help
Options:
prompt Optional prompt for single command mode
-k, --api-key Gemini API key (overrides env variable)
-d, --directory Working directory for file operations
-p, --plan Start in plan mode
-m, --mode Permission mode (ask/auto/command_ask)
-v, --version Show version
🎯 Example Prompts
Web Development
Create a responsive portfolio website with a dark theme, about section,
project gallery, and contact form
Games
Build a Tetris clone with score tracking and increasing difficulty
Backend
Create a REST API with Express.js for a blog with posts and comments,
including MongoDB integration
Utilities
Build a Python CLI tool that converts images to different formats
with support for batch processing
Full-Stack
Create a real-time chat application with React frontend and
Socket.io backend
🛠️ Available Tools
The agent has access to 19 tools organized into three categories:
File Operations
| Tool | Description |
|---|---|
create_file |
Create a new file with content |
create_folder |
Create a directory |
delete_file |
Delete a file |
delete_folder |
Delete a directory recursively |
list_files |
List directory contents |
read_file |
Read file content |
write_file |
Write/overwrite file content |
edit_file |
Make surgical edits to existing files |
execute_command |
Run shell commands |
Terminal Management
| Tool | Description |
|---|---|
open_terminal |
Start a background process (servers, etc.) |
close_terminal |
Stop a background terminal |
list_terminals |
List all active terminals |
get_terminal_output |
Get output from a terminal |
send_terminal_input |
Send input to a terminal |
Memory (Persistent)
| Tool | Description |
|---|---|
remember |
Store information for future sessions |
recall |
Retrieve a specific memory |
search_memory |
Search through memories |
list_memories |
List all stored memories |
forget |
Remove a memory |
🔧 Configuration
Default settings can be modified in config.py:
DEFAULT_CONFIG = {
"model": "gemini-2.5-pro-preview-05-06",
"max_tokens": 65536,
"temperature": 0.7,
"timeout": 300,
"max_iterations": 50,
}
📁 Project Structure
aadc/
├── main.py # CLI entry point
├── agent.py # Multi-provider AI agent (Gemini/OpenAI/Anthropic)
├── tools.py # Tool implementations (19 tools)
├── prompts.py # System prompt
├── config.py # Configuration & model management
├── utils.py # Display utilities
├── terminal_manager.py # Background terminal handling
├── memory.py # Persistent memory system
├── project_init.py # Codebase analysis & summarization
├── requirements.txt # Dependencies
├── .env.example # API key template
└── README.md # This file
🔒 Security Notes
- API keys are stored in
~/.aadc/.envwith restricted permissions - The agent can execute shell commands - use with appropriate caution
- Review generated code before running in production environments
🐛 Troubleshooting
"No API key found"
Set your API key via environment variable or enter it when prompted.
"Model not found"
Ensure you have access to the Gemini API and the model name is correct.
"Tool execution failed"
Check file permissions and ensure paths are valid.
📝 License
MIT License - feel free to use and modify as needed.
🤝 Contributing
Contributions welcome! Feel free to submit issues and pull requests.
Built with ❤️ using Google Gemini API
Metadata
Release files for aadc-cli 1.0.9.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aadc_cli-1.0.9.6.tar.gz | 73.3 kB | Without provenance | Details for aadc_cli-1.0.9.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aadc_cli-1.0.9.6-py3-none-any.whl | Python 3 | none | any | Details for aadc_cli-1.0.9.6-py3-none-any.whl |
Total release size: 151.2 kB
Release files / aadc_cli-1.0.9.6.tar.gz
| Download URL | aadc_cli-1.0.9.6.tar.gz |
|---|---|
| Size | 73.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3ef4eed11686f9334ec9e583843d84ef71ab544165cfc6407ba9743bd445452
|
|
BLAKE2b-256 checksum How to use checksums |
41bcb3b5b97c47b095ab5768dc5f2b8d8899883b8c84e54ee6d99c024b0d057f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / aadc_cli-1.0.9.6-py3-none-any.whl
| Download URL | aadc_cli-1.0.9.6-py3-none-any.whl |
|---|---|
| Size | 77.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5791b61e32fa8daa2fa9932f4acfbb796ec5cf395a712090badc34e5be9e2bd
|
|
BLAKE2b-256 checksum How to use checksums |
52f05bcf93ddff0aadfd6a108299a43c7c013c4a2b1875f8bb1e01b784665c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for aadc-cli 1.0.9.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.