IQ
AI workflow automation. Define multi-step agent pipelines in YAML — no code required.
IQ is a Go CLI and SDK for orchestrating LLM agent workflows. Write a YAML file that chains prompts, routes on LLM output, integrates external tools via MCP, and processes data at scale — then run it anywhere with a single command.
Capabilities
What it does
Architecture
How it works
IQ parses your YAML workflow, resolves job dependencies, and executes steps through a configurable LLM provider. Conditional routing uses CEL expressions evaluated against step outputs, allowing workflows to branch, loop, and converge based on model decisions.
Example
A workflow in YAML
Define jobs, chain steps, and route on LLM output — all in plain YAML. No framework to learn, no boilerplate to write.
# extract-and-summarize.yml
name: extract-and-summarize
jobs:
main:
steps:
- name: extract
uses: prompts/extract.md
output: data
- uses: prompts/classify.md
switch:
- when: choice == "technical"
route: technical-summary
- when: choice == "business"
route: business-summary
technical-summary:
steps:
- uses: prompts/tech-summary.md
business-summary:
steps:
- uses: prompts/biz-summary.mdUsage
Run it in seconds
Install via Homebrew, point IQ at your workflow file and an input document. It handles the rest.
$ brew install fogfish/tap/iq
$ iq agent -f extract-and-summarize.yml report.pdf
> Running extract...
> Classifying content... → technical
> Running technical-summary...
✓ Done — output written to stdout
$ _
Installation
Get started
IQ is available via Homebrew and as open source on GitHub. MIT licensed.
Try IQ
Start automating AI workflows
IQ is open source and ready to use. Star it on GitHub, read the docs, or reach out if you want to build something together.