A sophisticated AI-powered coding assistant platform built in Rust, designed to provide intelligent code generation, manipulation, and analysis capabilities through a modular and extensible architecture.
- 🤖 AI-Powered Code Generation - Advanced code generation and manipulation using modern AI models
- 🔍 Smart Code Analysis - Language-aware parsing and analysis for multiple programming languages
- 🛠️ Extensive Tool System - Rich set of development tools including file operations, shell commands, and code outline generation
- 💾 Persistent Conversations - Maintain context and history across coding sessions
- 🔒 Secure Operations - Built-in security measures for file system and shell operations
- 🔌 Extensible Architecture - Modular design supporting easy addition of new features and languages
- Rust toolchain (1.75+)
- SQLite
- Tree-sitter (for code analysis)
# Build the project
cargo build --release
# Run the server
cargo run --releasecode-forge/
├── crates/
│ ├── forge_main/ # CLI and main application logic
│ ├── forge_domain/ # Core domain models and interfaces
│ ├── forge_open_router/ # AI provider integration
│ ├── forge_app/ # HTTP API and database management
│ ├── forge_tool/ # Tool implementations
│ └── forge_walker/ # File system operations
- Domain Layer (
forge_domain) - Core business logic and interfaces - Provider Layer (
forge_open_router) - AI model integration - Tool Layer (
forge_tool) - Development tools implementation - Server Layer (
forge_app) - API endpoints and persistence - Main Application (
forge_main) - CLI and application coordination
The application requires several environment variables for proper operation:
# Required environment variables
DATABASE_URL="sqlite:path/to/database.db"
OPENROUTER_API_KEY="your-api-key"Internal documentation:
This is proprietary software. All rights reserved.