Reproducible AI Workflows for Research & Development
Version 0.7.3 (pre-release) Β· Documentation Β· GitHub
- π― Git-like Discovery: Run from anywhere in your project tree. WireFlow walks up to find
.workflow/automatically. - π Native Documents: PDFs, Office files, images (including HEIC, TIFF, SVG) handled natively with automatic conversion.
- π Obsidian Embeds:
![[file]]syntax auto-resolves. Embedded images and PDFs become content blocks. - π§ Model Profiles: Switch between
fast,balanced, anddeeptiers. Enable extended thinking or effort levels for complex tasks. - π Multi-Provider: Use Anthropic Claude API or any OpenAI-compatible endpoint (LM Studio, ollama, vLLM).
- π¦ Batch Processing: Process hundreds of documents at 50% cost savings with the Message Batches API.
- π§ Config Cascade: Global β ancestors β project β workflow β CLI. Set once, override where needed.
- ποΈ Nested Projects: Inherit settings from parent projects. Perfect for monorepos.
- π Workflow Chains: Build pipelines with
--depends-on. Stale dependencies auto-execute before the target. - π₯ Input vs Context: Separate primary documents from supporting materials for cleaner prompts.
- π° Prompt Caching: Smart ordering puts stable content first. Up to 90% savings on cached input tokens.
- π Citations: Enable source attribution with
--enable-citations. Get references you can verify. - β‘ Three Modes: Persistent workflows for iteration, quick
taskmode with hierarchical templates, orbatchfor bulk processing. - πΊ Streaming Output: Watch responses generate in real-time with incremental Markdown rendering in the terminal.
- π Shell Integration: Bash completion, project-aware prompt (
__wfw_ps1), and streamlined CLI. - πΎ Safe Outputs: Timestamped backups, hardlinked copies, atomic writes. Never lose work.
Clone the repo and run the installer:
# Clone repository
git clone https://github.com/jdmonaco/wireflow.git
cd wireflow
# Install (creates symlinks to ~/.local/bin and bash completions)
./wireflow.sh shell installFor Anthropic Claude API (default):
export ANTHROPIC_API_KEY="sk-ant-..."
export PATH="$HOME/.local/bin:$PATH" # if not already in PATHFor local LLM servers (LM Studio, ollama, etc.):
# In ~/.config/wireflow/config
PROVIDER="openai"
OPENAI_BASE_URL="http://localhost:1234"
OPENAI_MODEL_BALANCED="your-model-name"# Initialize project
cd my-project
wfw init .
# Create workflow
wfw new analyze-data
# Edit workflow config
wfw edit analyze-data
# Run with context
wfw run analyze-data -cx data.csv --streamYour project files and folders are treated as read-only. All WireFlow files are maintained in a .workflow/ subfolder.
π Complete documentation: https://docs.joemona.co/wireflow/
- Installation Guide: Detailed setup instructions
- Quick Start Guide: Get running in 5 minutes
- User Guide: Complete usage documentation
- CLI Reference: All commands and options
- Troubleshooting: Common issues and solutions
Persistent, named tasks with configuration and outputs:
wfw new 01-analysis
wfw run 01-analysis --streamLightweight, one-off execution without persistence:
wfw task -i "Summarize these notes" -cx notes.mdChain workflows to build pipelines:
wfw run 02-report --depends-on 01-analysis --streamMulti-tier cascade with pass-through:
Global (~/.config/wireflow/config)
β
Ancestor Projects (grandparent β parent)
β
Project (.workflow/config)
β
Workflow (.workflow/run/<name>/config)
β
CLI Flags (--model, --temperature, etc.)
wfw init my-analysis
wfw new analyze-data
wfw run analyze-data -cx data.csv --streamwfw run 00-context --stream
wfw run 01-outline --depends-on 00-context --stream
wfw run 02-draft --depends-on 00-context 01-outline --streamwfw task -i "Extract action items" -cx meeting-notes.md- Bash 4.0+
curlandjq- Anthropic API key (get one here)
Optional: glow or gum for enhanced output display, yq for request inspection.
See installation guide for details.
Auto-created on first use at ~/.config/wireflow/:
config- Global defaults for all projectsprompts/base.txt- Default system prompttasks/- Named task templates (optional)
Created by wfw init:
.workflow/config- Project-level settings.workflow/project.txt- Project description (optional).workflow/run/<name>/- Individual workflows
wfw help # Show all subcommands
wfw help <subcommand> # Detailed subcommand help
wfw <subcommand> -h # Quick helpContributions welcome! See the Developer Guide for guidelines.
MIT License - see LICENSE for details.
- GitHub: https://github.com/jdmonaco/wireflow
- Issues: GitHub Issues
- Anthropic API: https://docs.anthropic.com/
- Technical Details: CLAUDE.md
Made with Claude Code