Install pflow
- uv (recommended)
- pipx
Set up your API key
pflow uses an LLM for intelligent discovery - finding the right workflows and nodes without your agent needing to load everything into context. These features currently require an Anthropic API key.What the API key is used for
This is pflow’s own API key, separate from whatever LLM your agent uses:- Discovery commands -
pflow registry discoverandpflow workflow discoveruse LLM to find relevant nodes and workflows - LLM nodes - workflows that include an LLM node for text processing
- Smart filtering - automatic field selection for large API responses
Your agent creates workflows using its own LLM (Claude Code uses Claude, Cursor uses its models, etc.). pflow’s API key is only for pflow’s internal features.
When is it required?
The API key is strongly recommended if you’re using MCP servers. MCP servers expose many tools, and intelligent discovery is how pflow avoids loading all those tool schemas into your agent’s context. Without it, you lose the main benefit. For basic usage without MCP servers or testing pflow, the API key is optional.Connect pflow to your AI agent
Your AI agent can use pflow in two ways:Option 1: CLI access (easiest)
If your agent has terminal access (Claude Code, Cursor, Windsurf), instruct it to run:Option 2: MCP server
Add pflow to your AI tool’s MCP config (Claude Desktop, Cursor, etc.):What your agent can do with pflow
Once connected, your agent can:- Discover workflows:
pflow workflow discover "what I want to do" - Run workflows:
pflow my-workflow param1=value1 - List workflows:
pflow workflow list - Discover nodes:
pflow registry discover "capability I need" - Build new workflows: Following
pflow instructions create
Next steps
AI tool integration
Set up Claude Desktop, Cursor, or other AI tools
Add MCP servers
Expand pflow capabilities with external tools
Troubleshooting
Command not found: pflow
Command not found: pflow
Make sure the install location is in your PATH:Then restart your terminal.
Python version error
Python version error
pflow requires Python 3.10+. Check your version:If you need to upgrade, use pyenv or your system package manager.

