by fim-ai
Open-source agent platform for Global × China enterprises — wire every system through one agent core. Self-hosted, any LLM.
# Add to your Claude Code skills
git clone https://github.com/fim-ai/fim-oneLast scanned: 5/6/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-06T06:33:30.506Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}No comments yet. Be the first to share your thoughts!
30 days in the Featured rail · terms & refunds

🌐 English | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇩🇪 Deutsch | 🇫🇷 Français
All-in-One Agent Platform for Global × China Enterprises. Wire every system you already run — global SaaS to the China stack — through one agent core.
🌐 Website · 📖 Docs · 📋 Changelog · 🐛 Report Bug · 💬 Discord · 🐦 Twitter · 🏆 Product Hunt
[!TIP] ☁️ Skip the setup — try FIM One on Cloud. A managed version is live at cloud.fim.ai — no Docker, no API keys, no config. Sign in and start connecting your systems in seconds. Early access, feedback welcome.
Global enterprises run a sprawl of systems that don't talk to each other — ERP, CRM, OA, HR, finance, databases, IM platforms across regions. FIM One is the all-in-one agent platform that wires every system you already run into one agent core — global SaaS on one side, the full China stack (Feishu, WeCom, DingTalk, DM, Kingbase, etc.) on the other. One brain. Every system. Global SaaS × China Stack.
| Mode | What it is | Access |
|---|---|---|
| Standalone | General-purpose AI assistant — search, code, KB | Portal |
| Copilot | AI embedded in a host system's UI | iframe / widget / embed |
| Hub | Central AI orchestration across all connected systems | Portal / API |
graph LR
ERP <--> Hub["🧠 FIM One Agent Core"]
Database <--> Hub
Lark <--> Hub
Hub <--> CRM
Hub <--> OA
Hub <--> API[Custom API]
Dashboard — stats, activity trends, token usage, and quick access to agents and conversations.

Agent Chat — ReAct reasoning with multi-step tool calling against a connected database.

DAG Planner — LLM-generated execution plan with parallel steps and live status tracking.

Using Agents
Using Planner Mode
git clone https://github.com/fim-ai/fim-one.git
cd fim-one
cp example.env .env
# Edit .env: set LLM_API_KEY (and optionally LLM_BASE_URL, LLM_MODEL)
docker compose up --build -d
Open http://localhost:3000 — on first launch you'll create an admin account. That's it.
docker compose up -d # start
docker compose down # stop
docker compose logs -f # view logs
Prerequisites: Python 3.11+, uv, Node.js 18+, pnpm.
git clone https://github.com/fim-ai/fim-one.git && cd fim-one
cp example.env .env # Edit: set LLM_API_KEY
uv sync --all-extras
cd frontend && pnpm install && cd ..
./start.sh dev # hot reload: Python --reload + Next.js HMR
| Command | What starts | URL |
|---|---|---|
./start.sh |
Next.js + FastAPI | localhost:3000 (UI) + :8000 |
./start.sh dev |
Same, with hot reload | Same |
./start.sh dev:api |
API only, dev mode (hot reload) | localhost:8000 |
./start.sh dev:ui |
Frontend only, dev mode (HMR) | localhost:3000 |
./start.sh api |
FastAPI only (headless) | localhost:8000/api |
For production deployment (Docker, reverse proxy, zero-downtime updates), see the Deployment Guide.
FeishuGateHook gates sensitive tool calls behind a human approval card posted to a Feishu group. Extensible to audit logging, read-only-mode guards, and rate limits (v0.9).FIM_GUARDRAILS_OUTPUT.AUTO_ROUTING.read/create token counts captured per turn, surfaced in the chat done payload and logged so operators can verify cache hits and detect relay stations that don't honor the discount.read_uploaded_file tool. Intelligent document processing: PDFs, DOCX, and PPTX files get vision-aware processing with embedded image extraction when the model supports vision. Smart PDF mode extracts text from text-rich pages and renders scanned pages as images.convert_to_markdown tool turns PDF / Word / Excel / PowerPoint / HTML / images / audio / Outlook .msg / EPUB / YouTube transcripts into clean Markdown via Microsoft MarkItDown. Vision-capable LLMs OCR embedded images and scanned pages — works with Claude, Gemini, Bedrock, and any LiteLLM-supported provider, no per-provider adapter code.CODE_EXEC_BACKEND=docker).find_replace, agents can apply line-hunk patches with fuzzy whitespace matching via file_ops.apply_patch — robust to multi-line edits where exact-substring match would be brittle.[N] citations. Vision-aware ingestion routes scanned PDFs and Office embedded images through the workspace's default vision LLM for OCR.BaseChannel abstraction for outbound messaging across Slack, Microsoft Teams, Discord, Feishu (Lark), WeCom, and DingTalk. First shipping implementation is Feishu; Slack / Teams / WeCom / Email are next on the v0.9 roadmap.GateHook (Feishu today, Slack/Teams next) posts an Approve / Reject card to your group when a sensitive tool call fires; the tool blocks until a group member taps a verdict. Human-in-the-loop approval without a custom workflow engine.approver_user_id and decided_at whether the verdict came from chat or from the channel. Auto mode falls back to inline if no channel is linked, so agents always get a real approval UX.