Once pflow is installed and connected to your AI tool, you don’t need to learn anything else. Your agent has everything it needs to build and run workflows.Documentation Index
Fetch the complete documentation index at: https://docs.pflow.run/llms.txt
Use this file to discover all available pages before exploring further.
You don’t need to learn the schema
pflow workflows are markdown files (.pflow.md) — readable documents that double as executable workflows. Your agent writes them, but you can open any workflow to see exactly what it does and why. Just like any .md file, it renders everywhere — GitHub, your editor, any markdown viewer. Your agent:
- Reads pflow’s instructions automatically
- Knows which nodes are available
- Understands how to connect them
- Handles all the technical details
- Creates, updates and reuses workflows for you
Your agent guides you when needed
When pflow needs something from you, your agent will tell you exactly what to do. Need an API key?
Your agent: “pflow needs an API key for discovery. Run this command: pflow settings set-env OPENAI_API_KEY 'your-key'”
Need to connect to an API?
Your agent reads the documentation and builds the integration for you using the http node.Need an MCP server?
Your agent helps you find and install it with your permission.Something unexpected happen?
Your agent diagnoses the issue using pflow’s structured errors and traces. See How debugging works for details.You don’t need to memorize any commands. Your agent knows them and will prompt you when necessary.
What happens behind the scenes
When you ask your agent to do something:- Agent checks for existing workflows - If you’ve done this task before, pflow finds the saved workflow
- Runs instantly if found - No repeated workflow generation, no LLM costs, same reliable result
- Updates existing workflow if it needs to be modified - Agent updates it with new functionality or parameters
- Builds new workflow if needed - Agent creates it once, pflow saves it for next time
Not everything needs a workflow
Sometimes you just need to run a single tool - send a Slack message, fetch a file, query an API. Your agent can run individual nodes directly without building a workflow:- One-off tasks - No workflow needed, just run the tool
- Testing - Your agent tests nodes to understand their output before building workflows
Checking your workflow library
To see what workflows have been saved:Optional: Running workflows directly
You don’t have to go through your agent. Saved workflows are CLI commands you can run yourself:- CI/CD pipelines - Run workflows as build steps
- Cron jobs - Schedule recurring tasks
- Scripts - Chain workflows with other tools
Unix piping
Chain workflows together using pipes:Summary
| Task | Who handles it |
|---|---|
| Learning pflow commands | Your agent |
| Writing workflows | Your agent |
| Knowing which nodes exist | Your agent |
| Configuring API keys | You (agent tells you the command) |
| Discovering new capabilities | Your agent or you |
| Installing new MCP servers | Your agent or you |
| Running saved workflows | Your agent or you directly |

