Use this file to discover all available pages before exploring further.
The CrewForm CLI (npx crewform) is a standalone command-line tool that lets you create, run, and manage AI agents locally — with optional connectivity to the CrewForm platform.
# 1. Create an agent confignpx crewform init# 2. Run it (defaults to Ollama; set OPENAI_API_KEY for OpenAI, etc.)npx crewform run agent.json "Summarise the latest AI news"# 3. Interactive chatnpx crewform chat agent.json
# Read prompt from a filecrewform run agent.json --input prompt.txt# Save output to a filecrewform run agent.json "Generate a report" --output report.md# Pipe input/output (CI/CD friendly)echo "Review this code" | crewform run agent.jsoncrewform run agent.json "Summarise" > summary.txt# JSON output with token usage and metadatacrewform run agent.json "Hello" --json# Quiet mode (suppress streaming, show only final result)crewform run agent.json "Hello" --quiet
Steps with type: "fan_out" run multiple agents in parallel, then merge results:
{ "step_name": "Parallel Research", "type": "fan_out", "parallel_agents": ["researcher-1", "researcher-2", "researcher-3"], "merge_agent_ref": "synthesiser", "merge_instructions": "Combine all research into a single report", "fan_out_failure": "continue_on_partial"}
Failure modes:
fail_fast — Stop all branches if any fails
continue_on_partial — Collect results from successful branches
crewform whoami # Show user, workspace, plancrewform agents # List agents (name, model, ID)crewform teams # List teams (mode, member count, ID)# JSON output for scriptingcrewform agents --json | jq '.items[].name'
Send a task to a cloud-hosted agent or team without running locally:
# Dispatch to an agentcrewform push <agent-uuid> "Write a quarterly report"# Dispatch to a team and wait for completioncrewform push <team-uuid> --type team --wait "Research and summarise AI trends"# JSON output for CI/CDcrewform push <agent-uuid> "Generate report" --json