Quick start
Install AgenticMind, add a model key and run your first workflow in about five minutes.
Prerequisites
| Tool | Version | Why |
|---|---|---|
| Python | 3.11 or newer | Backend API and runtime |
| uv | Latest | Python package and workspace manager |
| Node.js | 20 or newer (22 recommended) | Web IDE toolchain |
| Git | Any recent | Cloning the repository |
| Docker | Optional | Sandboxed code execution, local deployments, self-hosting |
You also need one model key. The simplest is an OpenRouter key: one key reaches Gemini, Claude, GPT, Llama, Qwen and hundreds of other models, and the templates use it by default. Prefer to stay fully local? Use Ollama instead; no key is needed.
Install and run
git clone https://github.com/taeefnajib/AgenticMind.git
cd AgenticMind
uv sync # Python workspace: every package, editable
npm install # web IDE
cp .env.example .env # then add a model key, e.g. OPENROUTER_API_KEY=...
npm run dev # API on http://127.0.0.1:8000 + IDE on http://localhost:5173Open http://localhost:5173. Stop both servers with Ctrl+C in that terminal, or run npm run stop from any terminal.
What the first run does
On first launch AgenticMind creates a database under .agenticmind/ (SQLite, no setup) and a Hello pipeline project. The first RAG run also downloads a small local embedding model (about 65 MB) once.
Add your model key
Open .env in the repository root and set the key for the provider you use:
OPENROUTER_API_KEY=sk-or-v1-...
# or any of:
# OPENAI_API_KEY=...
# ANTHROPIC_API_KEY=...
# GEMINI_API_KEY=...Restart the API after editing .env (Ctrl+C, then npm run dev). Alternatively, add keys in the IDE under avatar → Settings → Secrets: they are encrypted at rest and never shown again, and no restart is needed.
Node configurations never contain the key itself. They reference it by name, for example {"$secret": "OPENROUTER_API_KEY"}, and the value is resolved only while a run executes.
Your first run in 60 seconds
- The Hello pipeline project is open. It is four nodes: Manual Input → Text Template → Text Transform → Output.
- Open the Run inputs tab at the bottom, set
nametoAda. - Click Run in the toolbar. Nodes turn green as they finish; the Output tab shows
HELLO, ADA!. - Open the Trace tab to see every event:
run_started,node_started,node_succeeded… with durations.
Let Wingman build something
Click the ✨ button in the bottom-right corner and type:
Take any question and answer it yes or no, with a one-sentence reason.
Wingman adds a Manual Input, an LLM node, and two outputs, validates the graph, and saves it as a new revision. Press Run (or ask in the Chat tab). Don’t like it? Press Undo. See Wingman.
Try a template
Click New in the toolbar to pick from 24 templates. Good first choices:
- RAG answers with citations: upload
examples/data/employee-handbook.mdin Load documents, choose Run → Index report, then ask in Chat: “What is the hotel limit per night?” - Agent with tools: index the same file, then ask “How many leave days do 3 employees get in total?” and expand Used N tool calls.
- Ask your database: upload
examples/data/sales.sqlite, select it in Sales database, ask “Which product category had the most revenue in 2025?”
The full list is on Templates.
Other ways to run it
One container with Docker
docker compose up --build # http://localhost:8000 — API + built IDE, SQLite in a volumeSee Self-hosting for PostgreSQL and extra run workers.
Command line only (no UI, no server)
uv run agenticmind nodes
uv run agenticmind validate apps/api/src/agenticmind_api/templates/hello-pipeline.json
uv run agenticmind run apps/api/src/agenticmind_api/templates/hello-pipeline.json -i name=Ada --eventsSee CLI.
Different ports
If a port is taken, npm run dev says so and suggests a free one:
npm run dev -- --web-port 5174 --api-port 8001npm run dev:api and npm run dev:web still start each server on its own.
Verify the installation
curl http://127.0.0.1:8000/api/health # {"status": "ok", ...}
npm test # Python tests + web typecheck + web unit testsSomething not working? See Troubleshooting.
Next steps
- Your first workflow walks through building three apps by hand.
- A tour of the IDE explains every panel.
- Core concepts gives you the vocabulary.

