🎉 ai-infra v1.0 is here — Production-ready AI/LLM infrastructure
What's new
nfrax logonfrax

Infrastructure that just works. Ship products, not boilerplate.

Frameworks

  • svc-infra
  • ai-infra
  • fin-infra
  • robo-infra

Resources

  • Getting Started
  • What's New
  • Contributing

Community

  • GitHub

© 2026 nfrax. All rights reserved.

nfrax logonfrax
Start HereWhat's New
GitHub
ai-infra/CLI Demo

Command Line Interface

Chat with LLMs, manage sessions, and run AI agents from your terminal

Back to Overview

Key Features

Interactive Chat

Chat with any LLM provider directly from your terminal with streaming responses and markdown rendering.

Autonomous Executor

Execute tasks from ROADMAP.md files autonomously. Human-in-the-loop approval, dry-run mode, and rollback support.

Provider Agnostic

Switch between OpenAI, Anthropic, Google, and more with a single command. Auto-detects configured providers.

Session Persistence

Auto-saves conversations with LLM-generated names. Resume, switch, or manage sessions seamlessly.

MCP Server Testing

Debug and test MCP servers. List tools, prompts, resources, and call them directly from the CLI.

Image Generation

Generate images from text prompts using any configured provider. List available models and providers.

Voice Mode

Speak to chat and hear responses. Perfect for hands-free AI interactions.

Easy Setup

Interactive setup wizard guides you through API key configuration. Get started in under a minute.

See it in Action

Your browser does not support the video tag.

Why a CLI?

The ai-infra CLI brings the full power of ai-infra to your terminal. Instead of context-switching between browser tabs and code editors, stay in your flow state. Chat with LLMs, execute autonomous tasks from roadmap files, test MCP servers, generate images, and manage your AI infrastructure—all from one unified command-line interface.

Chat Commands

ai-infra chatStart interactive chat (auto-resumes last session)
ai-infra chat --newStart a fresh chat session
ai-infra chat -m "Hello"One-shot message without entering REPL
ai-infra chat --provider anthropicUse a specific provider
ai-infra chat --voiceEnable voice mode

Executor Commands

The executor reads tasks from a ROADMAP.md file and executes them autonomously using an AI agent.

ai-infra executor run --roadmap ./ROADMAP.mdExecute tasks from roadmap autonomously
ai-infra executor status --roadmap ./ROADMAP.mdShow execution status
ai-infra executor run --dry-runPreview what would be executed
ai-infra executor resume --approveResume with auto-approval
ai-infra executor rollbackRollback last execution

MCP Server Commands

Debug and test MCP servers directly from the command line.

ai-infra mcp test <url>Test MCP server connection
ai-infra mcp tools <url>List available tools
ai-infra mcp call <url> <tool> '{...}'Call a tool with arguments

Other Commands

ai-infra setupConfigure API keys interactively
ai-infra modelsList available models for all providers
ai-infra image-providersList image generation providers
ai-infra image-models --provider googleList image models for a provider

In-Chat Commands

Once inside the chat REPL, use these commands to control your session:

/helpShow all available commands
/use openai gpt-4oSwitch provider and model
/switchInteractive session picker
/sessionsList all saved sessions
/toolsList available MCP tools
/clearClear conversation history
/quitSave and exit

Ready to try it?

Get started with the ai-infra CLI in under a minute.

Get StartedBack to Overview