Skip to content

LLM360/forgecode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

863 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code-Forge 🛠️

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.

✨ Features

  • 🤖 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

🚀 Setup

Prerequisites

  • Rust toolchain (1.75+)
  • SQLite
  • Tree-sitter (for code analysis)

Installation

# Build the project
cargo build --release

# Run the server
cargo run --release

🏗️ Project Structure

code-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

🛠️ Core Components

  • 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

🔧 Configuration

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"

📚 Documentation

Internal documentation:

🔒 Proprietary Software

This is proprietary software. All rights reserved.

About

AI enabled pair programmer for Claude, GPT, O Series, Grok, Deepseek, Gemini and 300+ models

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 94.0%
  • Shell 3.8%
  • HTML 1.0%
  • TypeScript 0.8%
  • JavaScript 0.2%
  • CSS 0.1%
  • Nix 0.1%