Loading repository data…
Loading repository data…
Nocetic / repository
Knows your world. Answers to you. — the open-source personal AI agent you own.
Flowly is the personal AI agent you own — it runs on your machine, on your LLM keys, and gets better the longer you use it. One governed memory of your world that learns across conversations and corrects itself, one library of skills, one agent that meets you on every channel you already use. It acts on your behalf in a visible, sandboxed loop, schedules its own work, and connects to anything that speaks MCP — from a $5 VPS, a Mac mini, or the laptop in front of you. Open source, yours to run, no account required.
# Install — sets up uv, Python, and a Flowly git checkout that `flowly update` keeps current
curl -fsSL https://useflowlyapp.com/install.sh | bash
# (prefer a packaged PyPI install? `uv tool install flowly-ai`)
# First-time setup — pick an LLM provider, add any channels
flowly setup
# Start chatting (bare `flowly` opens the terminal UI)
flowly
flowly setup walks you through a provider (OpenRouter, Anthropic, OpenAI, Gemini, Groq, xAI/Grok, Zhipu, or a local model) and any channels you want. Two minutes, done. Add a Telegram bot? flowly setup → Telegram → paste token. The gateway hot-reloads each channel as you save.
Adapters for OpenRouter, Anthropic, OpenAI, Google Gemini, Groq, xAI / Grok, Zhipu / GLM, any OpenAI-compatible local model (Ollama, LM Studio, vLLM), and a hosted Flowly Cloud option. Sign in to xAI with your SuperGrok / X Premium+ subscription instead of an API key. Switch any time:
flowly # open the chat
/provider openrouter # pick provider
/model anthropic/claude-sonnet-4-6
Or edit ~/.flowly/config.json. When nothing is pinned, Flowly cascades through whatever you've configured (OpenRouter → Anthropic → OpenAI → xAI → …) so it always has a working model.
Two entry points: start the terminal UI with flowly, or run the gateway and talk to Flowly from Telegram, Discord, Slack, WhatsApp, iMessage, or email. Once you're in a conversation, most slash commands work the same in both.
| Action | Terminal (TUI) | Messaging channels |
|---|---|---|
| Start chatting | flowly | flowly setup → add channel, then message your agent |
| New / reset conversation | /new | /new |
| Change model / provider | /model, /provider | /model, /provider |
| Switch persona | /persona [name] | /persona [name] |
| Browse & run skills | /skills or /<skill> | /<skill> |
| Inspect / correct memory | /memory, flowly memory list | /memory |
| Sessions & history | /sessions | /sessions |
| Interrupt current work | Ctrl+C or send a message | /stop or send a message |
Flowly's agent core is Apache 2.0. Self-host on your laptop, a VPS, or a Mac mini — your keys, your data, your machine. Everything in this repo works with no Flowly account. → self-hosting guide · open source vs. Desktop/Cloud
Optional Flowly Cloud adds the native Mac/iOS/Android apps, cross-device sync, hosted LLM access, and a managed relay that keeps your agent reachable when your laptop sleeps. Sign-in is opt-in (flowly login) and only affects the cloud features; the agent is unchanged.
flowly # terminal chat (TUI)
flowly setup # interactive wizard (LLM, channels, integrations)
flowly agent -m "..." # one-shot prompt
flowly service install --start # run the gateway as a background service
flowly restart # smart restart (launchd / systemd / Task Scheduler)
flowly doctor # diagnose config + runtime health
flowly memory list # inspect / correct long-term memory
flowly skill mine --dry-run # preview self-improved skills (opt-in subsystem)
flowly mcp install <name> # add an MCP server from the catalog
flowly mcp serve # expose Flowly as an MCP server
flowly login / logout # Flowly Cloud account (optional)
Other command groups: flowly channels · cron · plugins · skills · bundles · persona · codex · xai · sessions · approvals · pairing. Full reference: flowly --help.
The gateway runs as a local daemon, and the whole process runs inside the OS sandbox (sandbox-exec on macOS, bwrap on Linux). Channels route through an in-process message bus; the TUI, desktop, and mobile apps connect as clients over one WebSocket protocol (ws://127.0.0.1:18790) — desktop and mobile can also reach it remotely via the Flowly Cloud relay. Config lives at ~/.flowly/config.json, shared by every client. → internal RPC protocol
| Method | Command | When |
|---|---|---|
| Install script | curl -fsSL https://useflowlyapp.com/install.sh | bash | Recommended — git checkout in a uv venv; flowly update pulls new versions between releases (Windows: irm https://useflowlyapp.com/install.ps1 | iex) |
uv tool | uv tool install flowly-ai | Packaged PyPI install; tracks releases |
| Source | git clone … && pip install -e ".[dev]" | Contributors |
After install, run flowly setup. To run without a terminal session open:
flowly service install --start # launchd (macOS) / systemd (Linux) / Task Scheduler (Windows)
It survives reboots and terminal close.
Full docs: useflowlyapp.com/docs — searchable, with everything below. The Markdown sources live in content/docs/.
Flowly was open-source in v1.x, closed during the v2 rewrite, and is back open under Apache 2.0. The agent, 40+ tools, 135 skills, and every channel adapter in this repo are the same code that ships inside the Flowly Desktop app — there is no separate "lite" build.
Active development. Issues and PRs welcome.
Apache 2.0. Fork it, ship it, embed it. Self-hosted use with your own LLM keys is unrestricted. Commercial use of Flowly Cloud credentials (account / relay /