CLI Tool
DAG — AI Pipeline CLI
Build and run AI workflows without a server. Define a pipeline once as a string, a JSON file, or a Mermaid diagram — then run it anywhere.
Quick Start
1
Install
bash
npm install -g @robota-sdk/dag-cli2
Add your API key
bash
# .dag/.env
ANTHROPIC_API_KEY=sk-ant-...3
Run your first pipeline
bash
dag run --pipeline "input | llm-text-anthropic | text-output" --input text="Hello, world!"Features
◎
No Server Required
Run AI pipelines directly from your terminal. No infrastructure to configure, no services to keep running.
◈
Natural Language Pipelines
Use dag describe to generate a DAG from a plain English description. The CLI writes the workflow for you.
◇
Multi-Provider AI
Built-in nodes for Anthropic, OpenAI, and Google Gemini. Swap providers without rewriting your pipeline.
◆
Built for Agents
Compose pipelines programmatically. Use --watch for live iteration or pipe stdin for scripted workflows.
Ready to build?
Follow the Getting Started guide or jump straight to the command reference.