Flox is the recommended way to run FlowState. A singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/8BitTacoSupreme/flowstate/llms.txt
Use this file to discover all available pages before exploring further.
flox activate command gives you Python 3.13, Node 24, git, jq, ripgrep, the Claude Code CLI, and both MCP servers — all pinned, cached, and reproducible across macOS and Linux. No manual installs, no version conflicts, no system pollution. Everything lives in Flox’s own cache so your global environment stays clean.
What Flox provides
Runtime tools
Python 3.13, Node 24, git, jq, ripgrep — all pinned to exact versions in
.flox/env/manifest.tomlClaude Code CLI
@anthropic-ai/claude-code installed via npm into the Flox cache — not your system node_modulesContext7 MCP
@upstash/context7-mcp — injects live library documentation into Claude Code sessionsExa MCP
exa-mcp-server — semantic web search available to all Claude Code sessions inside the projectWhat happens on first flox activate
The on-activate hook in manifest.toml runs once and caches everything. Subsequent activations are instant.
Install Claude Code CLI via npm
Claude Code is installed into the Flox node cache (
$FLOX_ENV_CACHE/node-global), not your global npm prefix. If installation fails, you’ll see a warning — set FLOWSTATE_CLAUDE_BIN manually as a fallback.Install Context7 and Exa MCP servers
Both MCP servers are installed into the same Flox node cache alongside the Claude Code CLI.
Create a Python venv and install FlowState
Flox creates
.venv inside your project directory and runs pip install -e . so every flowstate command reflects the live source.[profile] block sources your .env file (if present) so API keys are exported automatically:
Set up your API keys
Before activating for the first time, copy.env.example to .env and fill in your values:
.env.example file contains:
EXA_API_KEY is required for the Exa MCP server to perform semantic web searches. Without it, the MCP server will start but search calls will fail. Get a key at exa.ai.How MCP servers enhance the pipeline
Both MCP servers are available to every Claude Code session launched from withinflox activate:
- Context7 resolves library names to their current documentation and injects it into prompts. When the research adapter asks about a framework, Claude Code has access to accurate, version-specific docs rather than training-data snapshots.
- Exa provides semantic web search. The research adapter’s
WebSearchtool calls route through Exa when the MCP server is configured, giving more relevant results than keyword-only search.
Quick start
Fallback: manual installation
If Flox isn’t available on your system, see the installation guide for manual setup using a plain Python venv. You’ll need to install the Claude Code CLI, Node, and MCP servers yourself.Supported platforms
The Flox environment is tested on all four targets declared inmanifest.toml:
| Platform | Architecture |
|---|---|
| macOS | Apple Silicon (aarch64-darwin) |
| macOS | Intel (x86_64-darwin) |
| Linux | ARM64 (aarch64-linux) |
| Linux | x86_64 (x86_64-linux) |