FlowBack
Pick up exactly where you left off.
FlowBack is a developer productivity tool that saves your coding context before a break and brings you back up to speed instantly when you return. It tracks errors across projects, detects recurring patterns, and visualizes skill gaps — all from your terminal.
How it works
Before break After break When errors hit
───────────── ──────────── ────────────────
flowback pause flowback resume flowback error "..."
│ │ │
▼ ▼ ▼
Scans recently Shows per-project Root cause + fix
modified files AI briefing: steps. Detects if
across projects goal, stuck point, you're hitting the
next 3 steps, tags same error again
Install
pip install flowback
Requires Python 3.10+. On macOS, if
pipis not found or you see "no matching distribution", use Homebrew Python:python3.11 -m pip install flowback
Then create ~/.flowback/.env with your LLM API key. FlowBack works with any provider via litellm:
Google Gemini (free tier available — recommended)
LLM_MODEL=gemini/gemini-2.5-flash
LLM_API_KEY=your_gemini_key
→ Get a free key at aistudio.google.com
OpenAI
LLM_MODEL=gpt-4o
LLM_API_KEY=your_openai_key
Anthropic Claude
LLM_MODEL=claude-3-5-sonnet-20241022
LLM_API_KEY=your_anthropic_key
Groq (fast + free tier)
LLM_MODEL=groq/llama-3.1-70b-versatile
LLM_API_KEY=your_groq_key
Ollama (fully local — no API key needed)
LLM_MODEL=ollama/llama3
LLM_API_BASE=http://localhost:11434
That's it. No server to run. Works from any terminal.
CLI Usage
flowback pause — save context before stepping away
flowback pause ~/projects/myapp
flowback pause ~/projects/myapp ~/projects/other # multiple projects at once
flowback pause ~/projects/myapp --note "debugging auth middleware, getting 401s"
flowback resume — pick up where you left off
flowback resume # latest session
flowback resume --all # all past sessions
Each project gets its own AI briefing:
─────────────── Session #18 2026-03-15 11:49 ───────────────
╭─ fashio-ai — Goal ──────────────────────────────────────────╮
│ Building AI-powered fashion virtual try-on with image │
│ processing and Supabase storage integration. │
╰─────────────────────────────────────────────────────────────╯
╭─ Stuck point ───────────────────────────────────────────────╮
│ Client-side cropped images not returning public URLs │
│ from Supabase for AI service consumption. │
╰─────────────────────────────────────────────────────────────╯
╭─ Next steps ────────────────────────────────────────────────╮
│ 1. Debug ensurePublicUrl in src/lib/ai-service.ts │
│ 2. Add error logging to upload pipeline │
│ 3. Test with small static images first │
╰─────────────────────────────────────────────────────────────╯
#file-upload #supabase-storage #api-integration
flowback error — track errors and break loops
# Paste an error directly
flowback error "TypeError: Cannot read properties of undefined"
# Pipe from any command
npm run build 2>&1 | flowback error
python manage.py migrate 2>&1 | flowback error
# See all tracked errors with occurrence counts
flowback errors
| Occurrences | Response |
|---|---|
| 1st time | Root cause + 3 fix steps + prevention tip |
| 2nd time | ⚠ "Seen twice — watch this pattern" |
| 3rd+ time | 🔁 "You're in a loop!" + tailored break-the-loop advice |
flowback graph — visualize skill gaps
flowback graph
Generates a self-contained HTML file and opens it in your browser — no server needed. Shows a force-directed graph of your errors, the projects they appeared in, and the skill areas they involve.
graph TD
classDef error fill:#ef4444,color:#fff,stroke:#dc2626
classDef project fill:#3b82f6,color:#fff,stroke:#2563eb
classDef tag fill:#a855f7,color:#fff,stroke:#9333ea
E1("TypeError ×4"):::error --- P1("fashio-ai"):::project
E1 --- P2("flowBack"):::project
E1 --- T1("#null-check"):::tag
E2("401 Unauthorized ×3"):::error --- P1
E2 --- T2("#auth-token"):::tag
E3("CORS Error ×2"):::error --- P2
E3 --- T2
E3 --- T3("#api-integration"):::tag
E4("ModuleNotFoundError ×1"):::error --- P2
E4 --- T4("#dependency"):::tag
| Node | Color | Meaning |
|---|---|---|
| Error | 🔴 Red | A unique error type — size = how many times you've hit it |
| Project | 🔵 Blue | A project where errors occurred |
| Skill tag | 🟣 Purple | A skill area extracted from errors — size = how often it's involved |
- Large red node → recurring error, fix it properly
- Red node linked to multiple blue nodes → cross-cutting knowledge gap, not project-specific
- Large purple node → skill area to study
flowback tags — browse skill tags
flowback tags
Claude Code — MCP Integration
Connect FlowBack directly to Claude Code. Your context, errors, and skill gaps become Claude tools — available through natural language, no commands needed.
Setup
# Register with Claude Code (one time, after installing)
claude mcp add flowback flowback-mcp
Tools
| Tool | What it does |
|---|---|
resume |
Returns your last briefing so Claude has full context at session start |
pause |
Scans project folders and saves context |
track_error |
Analyzes an error, returns root cause + fix, detects loops |
skill_gaps |
Returns recurring patterns and skill areas to strengthen |
Example prompts in Claude Code
"Resume my context from yesterday"
"I'm getting this error — track it and tell me the fix: [paste error]"
"What skill gaps am I building up?"
"Save my context for ~/projects/myapp before I take a break"
Claude calls the right tool automatically and returns the analysis inline.
Web UI (optional)
A React/Vite browser interface is included for those who prefer a visual workflow. Requires both servers running.
# Terminal 1 — API server
cd backend
pip install -r requirements.txt
uvicorn main:app --reload # http://localhost:8000
# Terminal 2 — frontend
cd frontend
npm install
npm run dev # http://localhost:5173
Three tabs: Pause · Resume · Graph
Project structure
FlowBack/
├── flowback/
│ ├── cli.py # CLI commands
│ ├── mcp_server.py # Claude Code MCP tools
│ ├── capture.py # file scanner
│ ├── database.py # SQLite (~/.flowback/history.db)
│ ├── llm.py # multi-provider LLM integration (litellm)
│ └── models.py # Pydantic models
├── backend/
│ └── main.py # FastAPI server (web UI only)
├── frontend/ # React/Vite web UI (optional)
└── pyproject.toml
Stack
| Layer | Technology |
|---|---|
| AI | Any provider via litellm (Gemini, OpenAI, Claude, Groq, Ollama…) |
| CLI | Python, Typer, Rich |
| Graph | force-graph.js (self-contained HTML) |
| Storage | SQLite (~/.flowback/history.db) |
| MCP | Anthropic MCP SDK |
| Web UI (optional) | FastAPI, React 18, Vite, Tailwind CSS |
Notes
- All data stays local — the only thing that leaves your machine is file snippets sent to your configured LLM. With Ollama, nothing leaves your machine at all.
- Scans up to 5 recently modified files per folder within the last 2 hours, skipping binaries,
node_modules,.git, and build output. - History is stored at
~/.flowback/history.db— shared between the CLI, MCP server, and web UI. - The Choose folder button in the web UI is macOS-only (
osascript). On other platforms type the path manually.
Metadata
Release files for flowback 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flowback-0.1.4.tar.gz | 24.5 kB | Without provenance | Details for flowback-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flowback-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for flowback-0.1.4-py3-none-any.whl |
Total release size: 48.5 kB
Release files / flowback-0.1.4.tar.gz
| Download URL | flowback-0.1.4.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31d0c74f6f17f4d96bf667302ef07e52d11db47dd384a81a1ed9a74ac189263e
|
|
BLAKE2b-256 checksum How to use checksums |
dfcebd9c9a78b2dc95a9daef02ac38a7f4bffaff2ebc9131b9497483e8f8edb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / flowback-0.1.4-py3-none-any.whl
| Download URL | flowback-0.1.4-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
667f3b6327e27c0233e0857c500c0fe94a5f21fa1ee9729d0f8f0fc05933e7fa
|
|
BLAKE2b-256 checksum How to use checksums |
7998eeead943710d6793eb9de5ed2b71af7f57c5a0965cc7f000a501e05feb99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for flowback 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.