openagent
the-open-agent · the-open-agent/openagent
OpenAgent là một trợ lý AI cá nhân mã nguồn mở kết hợp LLM, RAG và các vòng lặp tác nhân, cho phép nó duyệt web, chạy mã và sử dụng bất kỳ công cụ tương thích MCP nào.
⚡️next-generation personal AI assistant powered by LLM, RAG and agent loops, supporting computer-use, browser-use and coding agent, demo: https://demo.openagentai.org
Xem trước
Bạn có thể làm gì với nó
- Xây dựng cơ sở kiến thức tùy chỉnh cho trợ lý AI của bạn bằng tài liệu cá nhân.
- Cho phép một tác nhân duyệt web và thu thập thông tin cho các tác vụ cụ thể.
- Tích hợp nhiều công cụ tương thích MCP để mở rộng khả năng của trợ lý.
Kiểm tra an toàn
Dùng được, nhưng nên đọc ghi chú trước.
- ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.
scripts/install.sh - ●Yêu cầu quyền quản trị (sudo).
scripts/install.sh
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
Next-generation personal AI assistant powered by LLM, RAG and agent loops — ships as a single binary, no installation needed
Supporting computer-use, browser-use and coding agent
Live Demo · Playground · Docs · Discord
English | 中文
What is OpenAgent?
OpenAgent is an open-source personal AI assistant that brings together powerful LLMs, your own knowledge base, and autonomous agent loops — all in one self-hostable platform. Connect any model provider, build a RAG knowledge base from your documents, and let agents browse the web, run code, and call any MCP-compatible tool on your behalf.
| Usage Analytics | Activity Monitoring |
|---|---|
| Tool Management | Detailed Logs |
Sponsors
Thanks to APIMart for sponsoring this project! APIMart is a low-cost API platform for AI image & video generation — GPT-Image-2 from $0.006/image, 160+ images per dollar. One async API covers both image and video: submit a task, get an ID, fetch results via polling or callback. Batch tens of thousands of images without timeouts, switch models without changing code. Pay-as-you-go with no monthly fee — sign up here to get started.
Quick Start
Pre-built binaries for Linux, macOS, and Windows (x86_64 / arm64). The installer downloads the latest release and starts OpenAgent on port 14000.
macOS / Linux / WSL
curl -fsSL https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.sh | bash
Windows (PowerShell)
irm https://raw.githubusercontent.com/the-open-agent/openagent/master/scripts/install.ps1 | iex
Windows runs natively — no WSL, no Docker required.
Open http://localhost:14000 and you're in.
Optional env vars:
OPENAGENT_VERSION,INSTALL_DIR,BIN_DIR
Build from source
Prerequisites:
# Backend
go build
# Frontend
cd web && yarn install && yarn start
Docker
docker-compose up
Open http://localhost:14000 once the containers are running.
Features
🤖 30+ Model Providers
Connect every major LLM provider and switch between them per conversation — no code changes required.
OpenAI · Azure OpenAI · Anthropic Claude · Google Gemini · DeepSeek · Mistral · Grok · Qwen · Doubao · Moonshot · ChatGLM · Baichuan · Ernie · iFlytek · HuggingFace · Cohere · Amazon Bedrock · OpenRouter · Ollama · APIMart · and more
🔄 Autonomous Agent Loops
| Capability | Description |
|---|---|
| Browser-Use | Drive a real browser — navigate, click, fill forms, scrape, and screenshot pages |
| Web Search & Fetch | Search the web and pull live page content into the agent's context |
| Shell Execution | Run shell commands and scripts directly from the agent loop |
| Office Automation | Read and write Word, Excel, and PowerPoint files |
| MCP Integration | Plug in any MCP-compatible server (SSE / Stdio / StreamableHTTP) and expose its tools to the agent |
| Transparent Tool Calls | See every tool invocation, its arguments, and its return value — step by step |
📚 RAG & Knowledge Base
| Capability | Description |
|---|---|
| Document Ingestion | Upload PDFs, Word docs, Excel sheets, and more — chunked, embedded, and indexed automatically |
| Semantic Search | Retrieves the most relevant passages from your knowledge base before each LLM response |
| Pluggable Embeddings | OpenAI, Azure, Gemini, Qwen, Cohere, Jina, HuggingFace, local models, and more |
| Isolated Stores | Organise knowledge into separate stores; assign them per chat or per application |
⚡ Workflow Automation
| Capability | Description |
|---|---|
| Visual Workflow Builder | Compose multi-step pipelines with a BPMN-style drag-and-drop editor |
| Conditional & Parallel Execution | Branch on gateway conditions; run independent tasks concurrently |
| Task Scheduling | Trigger workflows or agent jobs on a recurring schedule |
| Usage Analytics |