agi-hub/AGIAgent
About
An open-source Vibe platform similar to Claude Cowork / Manus / Openclaw, with professional rich image document generation.
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_en.md
OriginalAGI Agent
中文 | English
🚀 Project Introduction
AGI Agent is more than a platform for Vibe Colorful Doc, Vibe Coding, and natural-language task execution — it is an interactive creation platform for rich documents and code.
Through an intuitive GUI, AGI Agent collaborates with you on deep content refinement: swap images, edit text, tweak SVG graphics and Mermaid diagrams in real time, and even write-and-run HTML mini-apps with instant preview. Combined with natural language and a rich library of skills, it supports multi-round creative iteration, delivering a Cursor-like, highly interactive agent creation experience — both in the browser and in a pure Python environment.
The platform ships with 40+ built-in tools and supports GUI, CLI, and embedded modes. It can be deployed on the cloud, laptops, or embedded devices (ARM), with full compatibility for Anthropic/OpenAI API interfaces and open-source / self-hosted deployments.
🤔 Is This Software Right for You?
- Looking for a Claude cowork-like experience? AGI Agent provides a similar collaborative AI experience, enabling you to work with an intelligent agent that can understand your needs, operate your local environment, and execute complex tasks autonomously.
- Need a general-purpose local agent? If you want an agent system that can handle diverse tasks on your local machine—from code writing to document generation, from data analysis to system operations—AGI Agent is designed for you.
- Writing complex professional documents? If you need to create richly illustrated, complex professional reports such as academic papers, in-depth research, or patents, AGI Agent excels at this.
- Seeking a locally deployable agent? If you want an agent system that supports local deployment and is compatible with various Anthropic/OpenAI interface models, this could be your solution.
- Vibe enthusiast? If you're passionate about the Vibe workflow, you'll love what AGI Agent offers.
🆚 Comparison with OpenClaw
While AGI Agent and OpenClaw both share a common logical foundation — an agent core, memory system, general task execution, long-horizon execution, and local deployment capabilities — AGI Agent is built from scratch with no dependency on any OpenClaw components, and offers the following key advantages:
- 🤖 Agent-First Design: AGI Agent is a multi-agent system with a rich set of integrated tools. Every aspect — prompts, tool calls, and more — is fully customizable (located in the
promptsfolder), and it comes with a built-in IDE (web version). - 🛠️ Enhanced Productivity Tools: Focused on productivity tasks such as writing professional documents, coding, and data organization. Provides powerful document/image editing capabilities, including lossless Word/PDF export of rich text documents and direct execution of web mini-programs.
- ✍️ Interactive Creation Experience: Goes beyond generation — AGI Agent collaborates with you on content refinement directly in the GUI: swap images, edit text, tweak SVG graphics and Mermaid diagrams in real time, and write-and-run HTML mini-apps with instant preview. Combined with natural language and a rich skills library, it enables multi-round creative iteration, delivering a Cursor-like, highly interactive agent creation experience in both the browser and pure Python environments.
- 🀄 Optimized Chinese Language Support: Optimized Chinese rendering in Mermaid diagrams, SVG images, and more, with outstanding display quality. The interface supports switching between Chinese and English.
- 👁️ Real-Time Agent Observation: Streams output to the web frontend, allowing you to observe the large model agent's processing in real time.
- 🇨🇳 Strong Compatibility with Chinese LLMs: Compatible with most domestic Chinese large models, supporting various API interfaces (streaming/non-streaming, tool-call/message, OpenAI/Claude).
🆚 Comparison with Claude Cowork
While AGI Agent offers a similar collaborative AI experience to Claude cowork, it provides several key advantages:
- 🏠 Fully Localizable: AGI Agent can be completely installed and run on your local machine, giving you full control over your data and environment without relying on cloud services.
- 🔌 Universal Model Support: Unlike Claude cowork which is limited to Claude models, AGI Agent supports any mainstream large language model including Claude, GPT-4, DeepSeek V3, Kimi K2, GLM, Qwen, and more through standard Anthropic/OpenAI API interfaces.
- 💻 Cross-Platform Compatibility: Full support for Windows, Linux, and macOS, allowing you to use AGI Agent on any operating system you prefer.
- 📖 100% Open Source: Complete source code available, enabling transparency, customization, and community-driven improvements without vendor lock-in.
- ⚙️ No Dependency on Claude Code: Built from the ground up with independent architecture, AGI Agent does not require Claude Code as an underlying dependency, providing more flexibility and control.
GUI for Vibe Everything
Click to watch the Video on Youtube
AGI Agent follows a Plan based ReAct model for complicated task execution. It employs a multi-round iterative working mechanism where the large model can make tool calls and receive feedback results in each round. It is used to update files in the workspace or change the external environment through tools according to user needs. AGIAgent can autonomously call a wide range of MCP tools and operating system tools, featuring multi-agent collaboration, multi-level long-term memory, and embodied intelligence perception. It emphasizes the generality and autonomous decision-making capabilities of the agent. AGIAgent's extensive operating system support, large model support, and multiple operation modes make it suitable for building human-like general intelligence systems to achieve complex report research and generation, project-level code writing, automatic computer operation, multi-agent research (such as competition, debate, collaboration) and other applications.
🚀 News
2025/12/30 GUI Updated, for efficient Vibe Coding, Vibe Doc, Vibe Research, Vibe Everything https://agiagentonline.com.
2025/10/27 AGIAgent online registration is now open! Click the registration button on the right side of https://agiagentonline.com to register and start using.
2025/10/12 An introduction of AGIAgent for Article Generation with Rich Images is provided in colourfuldoc/ColourfulDoc.md and colourfuldoc/ColourfulDoc_zh.md (in Chinese).
2025/10/10 Windows installation package (online / offline) is ready! See release page.
2025/9/15 Online website (in Chinese) is available. Access https://agiagentonline.com,login without APIKey, you can find many examples. Project introduction homepage: https://agiagentonline.com/intro (in Chinese) is avaliable.
2025/7/21 GUI is available, with markdown/PDF/sourcecode preview, with svg image edit and mermaid edit capability, visit GUI/README_GUI_en.md for more information, and the same GUI is deployed on https://agiagentonline.com.
🌐 Platform Compatibility
Operating System Support
- ✅ Linux - Full support
- ✅ Windows - Full support
- ✅ MacOS - Full support
Runtime Interfaces
- Terminal Mode: Pure command-line interface, suitable for servers and automation scenarios
- Python Library Mode: Embedded as a component in other Python applications
- Web Interface Mode: Modern web interface providing visual operation experience
Interaction Modes
- Fully Automatic Mode: Completely autonomous execution without human intervention
- Interactive Mode: Supports user confirmation and guidance, providing more control
📦 Easy Installation
Installation is straightforward. You can use install.sh for one-click installation. Basic functionality only requires Python 3.8+ environment. For document conversion and Mermaid image conversion, Playwright and LaTeX are needed. For basic features, you only need to configure the large model API. You don't need to configure an Embedding model, as the code includes built-in vectorized code retrieval functionality.
Basic Usage
GUI
python GUI/app.py
# Then access through browser at http://localhost:5001
Web GUI displays file lists. Folders with workspace subdirectories are listed by default, otherwise they won't be shown. The root directory location can be configured in config/config.txt. Note: Web GUI is currently experimental, providing only a single-user development version (not suitable for industrial deployment).
CLI
#### New task
python agia.py "Write a joke"
#### 📁 Specify Output Directory
python agia.py "Write a joke" --dir "my_dir"
#### 🔄 Continue Task Execution
python agia.py -c
#### ⚡ Set Execution Rounds
python agia.py --loops 5 -r "Requirement description"
#### 🔧 Custom Model Configuration
python agia.py --api-key YOUR_KEY --model gpt-4 --api-base https://api.openai.com/v1
Note:
Continue execution only restores the working directory and the last requirement prompt, not the large model's context.
Directly specify API configuration through command line, but it's recommended to configure in
config/config.txtfor reuse.
🛠️ External Skill File Support
The system supports external skill files (routines). The default skills are stored in the routine folder and will be displayed in the skill panel of the GUI (the routine_zh folder is shown in Chinese mode, and the routine folder is shown in English mode). You can also specify a custom skill directory:
#### 🧩 Use a custom skill directory
python agia.py "<your requirements>" --routine routine_file_dir
🎯 Core Features
- 🧠 Intelligent Task Decomposition: AI automatically decomposes complex requirements into executable subtasks
- 🔄 Multi-round Iterative Execution: Each task supports multi-round optimization to ensure quality (default 50 rounds)
- 🔍 Intelligent Code Search: Semantic search + keyword search for quick code location
- 🌐 Network Search Integration: Real-time network search for latest information and solutions
- 📚 Codebase Retrieval: Advanced code repository analysis and intelligent code indexing
- 🛠️ Rich Tool Ecosystem: Complete local tools + operating system command calling capabilities, supporting full development processes
- 🖼️ Image Input Support: Use
[img=path]syntax to include images in requirements, supporting Claude and OpenAI vision models - 📂 File Input Support: Supports input of word (docx), pdf, text, code, and other data sources
- 🎨 Image Creation / Search / Doc-to-Image / Code-to-Image: Multiple image generation methods, mermaid/svg mixed layout, auto-parsing
- 📤 Multi-format Export: Supports export in word/pdf/latex/md formats, with configurable word generation templates
- ✨ SVG Image Polishing: Supports SVG image polishing based on nanobanana
- 🔗 MCP Integration Support: Integrate external tools through Model Context Protocol, including third-party services like AI search
- 🖥️ Web Interface: Intuitive web interface with real-time execution monitoring
- 📊 Dual Format Reports: JSON detailed logs + Markdown readable reports
- ⚡ Real-time Feedback: Detailed execution progress and status display
- 🤝 Interactive Control: Optional user confirmation mode with step-by-step control
- 📁 Flexible Output: Custom output directory with automatic timestamp naming for new projects
🤖 Model Selection
AGI Agent supports various mainstream AI models including Claude, GPT-4, DeepSeek V3, Kimi K2, etc., meeting different user needs and budgets. With streaming / non-streaming support, tool-call or chat-based tool interface, Anthropic / OpenAI API compatibility.
🎯 View Detailed Model Selection Guide →
Quick Recommendations
- 🏆 Quality First: Claude Sonnet 4.5 - Best intelligence and code quality
- 💰 Cost-Effective: DeepSeek V3.2 / GLM-4.7 - Excellent cost-effectiveness ratio
- 🆓 Local deployment: Qwen3-30B-A3B / GLM-4.5-air - Simple tasks
💡 Tip: For detailed model comparisons, configuration methods, and performance optimization suggestions, please refer to MODELS.md
⚙️ Configuration Files
AGI Agent uses config/config.txt and config/config_memory.txt files for system configuration.
Quick Configuration
After installation, please configure the following basic options:
# Required configuration: API key and model
api_key=your_api_key
api_base=the_api_base
model=claude-sonnet-4-0
# Language setting
LANG=en
💡 Tip: For detailed configuration options, usage suggestions, and troubleshooting, please refer to CONFIG.md
🔧 Environment Requirements and Installation
System Requirements
- Python 3.8+
- Network Connection: For API calls and network search functionality
Installation Steps
We recommend to use install.sh for automatic install. If you wish a minimum installation, following:
# Install from source
pip install -r requirements.txt
# Install web scraping tools (if web scraping is needed)
playwright install-deps
playwright install chromium
After installation, don't forget to configure api key, api base, model, and language setting LANG=en or LANG=zh in config/config.txt.
⚠️ Security Notice
As a general-purpose task agent, AGI Agent has the capability to call system terminal commands. Although it usually does not operate files outside the working directory, the large model may execute software installation commands (such as pip, apt, etc.). Please pay attention when using:
- Carefully review executed commands
- Recommend running important tasks in a sandbox environment
- Regularly backup important data
🔗 Extended Features
🐍 Python Library Interface
AGI Agent now supports being called directly as a Python library in code, providing a programming interface similar to the OpenAI Chat API.
📖 View Python Library Usage Guide →
- 🐍 Pure Python interface, no command line needed
- 💬 OpenAI-style API, easy to integrate
- 🔧 Programmatic configuration, flexible control
- 📊 Detailed return information and status
🤖 Custom Agent Toolset
The system supports flexible customization of the tools available to the Agent:
- By default, the system loads tools defined in
prompts/tool_prompts.json - To enable additional tools, move the corresponding entries from
prompts/additional_tools.jsonintoprompts/tool_prompts.json - To disable tools you don't need, move them from
prompts/tool_prompts.jsonback toprompts/additional_tools.json, reducing the Agent's tool count and lowering token consumption
📝 Custom Prompts
All system prompts can be freely edited and customized. The prompt files are located in the prompts/ directory:
| File | Description | Effective Mode |
|---|---|---|
prompts/system_prompts.txt |
Main system prompt | Agent mode |
prompts/rules_prompt.txt |
Tool-calling rules prompt | Agent mode |
prompts/user_rules.txt |
Additional user requirement prompt | Agent mode |
prompts/system_plan_prompt.txt |
Plan mode system prompt | Plan mode |
In Agent mode, the system loads system_prompts.txt, rules_prompt.txt, and user_rules.txt. In Plan mode, system_plan_prompt.txt is loaded instead. You can directly edit these files to adjust the Agent's behavior and style.
🔌 MCP Protocol Support
Supports Model Context Protocol (MCP) for communication with external tool servers, greatly expanding the system's tool ecosystem.
📖 View MCP Integration Guide →
- 🌐 Standardized tool calling protocol
- 🔧 Support for official and third-party MCP servers
- 📁 File system, GitHub, Slack, and other service integrations
- ⚡ Dynamic tool discovery and registration
🚀 Quick Start
Experience AGI Agent in Google Colab
Click the badge above to launch AGI Agent directly in your browser and start experiencing autonomous AI programming.
Contact Us
You can submit questions or suggestions by opening an Issue. For further communication, you can email us at [email protected]
Explore related projects
Loading…
