Discover and explore top open-source AI tools and projects—updated daily.
dhanjiRust AI agent for code generation and task automation
Top 80.2% on SourcePulse
G3 is a versatile AI coding agent built in Rust, designed to assist users with code generation, task automation, and interacting with various Large Language Models (LLMs). It offers a flexible, modular architecture suitable for developers and power users seeking to streamline coding workflows, manage complex projects, and automate system tasks. G3 provides robust error handling and intelligent context management, aiming to improve productivity and reduce development friction.
How It Works
G3 employs a modular Rust workspace architecture, featuring distinct crates for core functionalities. The g3-core crate handles the agent engine, context window management (including 50-80% thinning and auto-summarization), a versatile tool system (file operations, shell commands, TODOs), and a streaming response parser for real-time LLM interaction. The g3-providers crate abstracts LLM interactions, supporting providers like Anthropic, Databricks, and local models via llama.cpp with Metal acceleration, offering flexibility in backend choices. Task execution is managed by g3-execution, enabling sequential or parallel strategies with automatic error recovery.
Quick Start & Requirements
cargo build --release, then execute from the build directory: ./target/release/g3.cargo). Specific LLM providers might require additional setup (e.g., API keys). WebDriver requires ChromeDriver installation. macOS Accessibility API (--macax) requires granting permissions. Local models via llama.cpp may benefit from Metal (macOS) or CUDA (Linux/Windows) acceleration.~/.config/g3/config.toml) is automatically created on first run with sensible defaults.CONTRIBUTING.md, LICENSE, config.example.toml, Code Search Guide, Flock Mode Guide, macOS Accessibility Tools Guide.Highlighted Details
--macax).Maintenance & Community
The provided README does not contain specific details regarding maintainers, community channels (like Discord/Slack), or project roadmap. Contributions are welcomed via CONTRIBUTING.md.
Licensing & Compatibility
G3 is released under the MIT License, permitting commercial use and modification.
Limitations & Caveats
Computer Control and macOS Accessibility API features are explicitly marked as experimental. Setting up WebDriver requires installing ChromeDriver or configuring Safari's remote automation. Granting necessary OS-level permissions (e.g., Accessibility on macOS) is a manual step required for certain features.
1 day ago
Inactive
langchain-ai
HKUDS