Command-line interface for Kestrel — AI Agents for Platform Engineering.
brew install KestrelAI/tap/kestrelDownload from GitHub Releases.
go install github.com/KestrelAI/kestrel-cli@latestkestrel register # sign up with a work email, verify, and log inkestrel auth kestrel_sk_...kestrel loginkestrel workflows list # List all workflows
kestrel workflows get <id> # Show workflow details + DAG diagram
kestrel workflows create --file wf.json
kestrel workflows activate <id>
kestrel workflows pause <id>
kestrel workflows test <id> # Dry-run execution
kestrel workflows generate "..." # AI-generate from description
kestrel workflows executions <id> # List executions
kestrel workflows stats # Aggregate statistics
kestrel approvals list # Pending approval gates
kestrel approvals approve <id>
kestrel approvals reject <id>
kestrel approvals request-changes <id> # Re-run RCA with feedback (refine loop)
kestrel requests list # Workflow requests
kestrel requests approve <id>
kestrel apikeys list # List API keys
kestrel apikeys create <name> # Create new key
kestrel apikeys revoke <id> # Revoke a key
kestrel apikeys delete <id> # Delete permanently
kestrel integrations list # All integrations + connection status
kestrel integrations connect <name> # Connect an integration (flags vary per integration)
kestrel integrations test <name> # Test an integration's credentials
kestrel integrations disconnect <name>
kestrel mcp # Start MCP server for Claude/Cursor
Each integration has its own authentication requirements — run
kestrel integrations connect <name> --help to see the exact flags.
# Token integrations (credentials via flags; secrets prompt interactively if omitted)
kestrel integrations connect cloudflare --api-token <token> --account-id <id>
kestrel integrations connect pagerduty --api-token <token> --webhook-secret <secret>
# Knowledge sources
kestrel integrations connect confluence --base-url https://acme.atlassian.net --email me@acme.com --api-token <token>
# OAuth integrations print a browser URL to finish the flow
kestrel integrations connect github
# Kubernetes generates the operator token + Helm values file and prints the install command
kestrel integrations connect kubernetes --cluster-name prod
# AWS is a two-step IAM role flow
kestrel integrations connect aws # step 1: prints CloudFormation/CLI instructions
kestrel integrations connect aws --role-arn <arn> --external-id <id> # step 2: verifyThe CLI includes a built-in MCP (Model Context Protocol) server for AI assistant integration:
kestrel mcpThis exposes 26 workflow and integration management tools to Claude, Cursor, and other MCP-compatible AI assistants — including list_integrations, connect_integration, test_integration, and disconnect_integration.
Apache 2.0