agentflow-cli-0.1.1 is not a library.
flow-cli
The flow binary - command-line interface combining git workflow management with AI agent monitoring.
What it does
flow-cli is the main entry point that ties everything together. It's the single binary you install and use for all Flow operations. Think of it as the remote control for your entire development environment.
Commands
flow <command>
Workflow Commands:
status Show worktrees, sessions, and project overview
branch Create a worktree + tmux session for a branch
switch Fuzzy-find and jump to any project
worktree Manage git worktrees (list, remove)
scan Run security scanners
sync Sync state across machines
Agent Monitoring Commands:
serve Start web dashboard (localhost:3456)
monitor Launch terminal UI (TUI)
features Manage features in SQLite database
theme List and switch color themes
Usage
Workflow
# See everything at a glance
# Start working on a feature (creates worktree + tmux session)
# Switch between projects
Agent Monitoring
# Web dashboard
# Terminal UI
# Feature management
# Themes
Architecture
flow-cli/
├── main.rs - Entry point, clap arg parsing
└── commands/
├── mod.rs - Command enum and routing
├── status.rs - Status overview
├── branch.rs - Worktree + tmux creation
├── switch.rs - Project switcher
├── worktree.rs - Worktree management
├── scan.rs - Security scanning
├── sync_cmd.rs - State synchronization
├── serve.rs - Web server launcher
├── features.rs - Feature CRUD operations
├── monitor.rs - TUI launcher
└── theme_cmd.rs - Theme management
Building
# Debug build
# Release build (optimized, ~7MB)
# Install globally
Related Crates
flow-cli ties together all other crates:
- flow-core - Config, types, themes
- flow-db - SQLite for
featurescommands - flow-resolver - Dependency sorting for
features graph/ready - flow-server - Web server for
serve - flow-tui - Terminal UI for
monitor