A powerful agentic AI coding CLI built from scratch with Python and Rich TUI — inspired by Claude Code CLI and Gemini CLI. Featuring multi-tool orchestration, streaming responses, and a plugin architecture.
Everything You Need in an AI Coding Agent
Built from the ground up with a focus on extensibility, safety, and developer experience.
Multi-Turn Agent Loop
Sophisticated reasoning engine that autonomously plans, executes tools, and iteratively refines solutions through multiple turns of intelligent decision-making.
11 Built-in Tools
Read, write, edit files, execute shell commands, search code, browse the web, manage tasks, and store persistent memory — all through a unified tool interface.
MCP Integration
Model Context Protocol support with stdio and SSE transports. Connect external servers and extend the agent with custom capabilities seamlessly.
Safety & Approval
Configurable approval policies from fully automatic (YOLO) to strict confirmation. Smart detection of dangerous commands and path validation built in.
Lifecycle Hooks
Shell-based event triggers for every stage — before/after agent, tool execution, and error handling. Extend and integrate with your existing workflows.
Streaming Responses
Real-time token streaming with incremental tool call events. Live Markdown rendering and syntax-highlighted output in a beautiful Rich-powered TUI.
Context Compression
Intelligent conversation history management with automatic compression at 80% context window. Tool output pruning keeps the most relevant information accessible.
Sub-Agent Delegation
Spawn specialized sub-agents for codebase investigation and code review. Isolated context and focused tool access for complex multi-step tasks.
Ready to Get Started?
Install Flux-CLI and start building with AI-powered assistance in minutes.