AgentFlow

A self-hosted AI Agent platform. Put it on your own machine — drag a workflow together, bring your own documents, and get real files back.

Apache-2.0 · commercial use OK GitHub ★ Android APK Full docs (中文)

中文用户请访问 中文 README · 中文文档站

AgentFlow — ask for a deck, get the files
Self-hosted Drag-and-drop workflows Knowledge-base RAG 27 built-in skills

One docker compose brings up two containers with a single SQLite file — no PostgreSQL, no Redis, no minimum hardware requirement beyond a modest VM. Swap models from the UI without a restart. Generate spreadsheets, decks and charts and get them back as downloadable attachments, previewed inline.

Two containers, one fileEverything persists in ./data/agentflow.db; back it up by copying a directory.
Models are not locked inAny OpenAI-compatible endpoint, including local Ollama. Change it live in Settings.
Real deliverablesxlsx / pptx / png come back as attachments, with images rendered inline in chat.
Android clientA Capacitor build is attached to the GitHub release.

Quick start

Two minutes from clone to a running instance.

git clone https://github.com/PHclaw/agentflow.git
cd agentflow
cp .env.example .env      # set JWT_SECRET_KEY at minimum
docker compose up -d --build

Open http://localhost:3000, sign up, then go to Settings → Model Config and point it at any OpenAI-compatible endpoint. The demo site requires email sign-up (a verification code is sent; temporary email works).

When this fits

Honest guidance — it is not a replacement for everything.

Documentation

The detailed guides below are currently Chinese-only. The English README covers the essentials.