Skip to main content

Terminal (CLI)

Overview

The Command Line Interface (CLI) is the default mode when you run faheemcode. It provides a rich, interactive experience directly in your terminal.

faheemcode

Features

  • Real-time interaction: Type natural language tasks and receive instant feedback
  • Live status monitoring: Watch the agent's progress as it works
  • Command palette: Press Ctrl+P to access settings, MCP status, and more

Command palette

Press Ctrl+P to open the command palette, then select from the dropdown options:

OptionDescription
SettingsOpen the settings configuration menu
MCPView MCP server status

Controls

ControlAction
Ctrl+POpen command palette
EscPause the running agent
Ctrl+Q or /exitExit the CLI

Starting with a task

Start a conversation with an initial task:

# Provide a task directly
faheemcode -t "Create a REST API for user management"

# Load task from a file
faheemcode -f requirements.txt

Confirmation modes

Control how the agent requests approval for actions:

# Default: Always ask for confirmation
faheemcode

# Auto-approve all actions (use with caution)
faheemcode --always-approve

# Use LLM-based security analyzer
faheemcode --llm-approve

Resuming conversations

Resume previous conversations:

# List recent conversations
faheemcode --resume

# Resume the most recent
faheemcode --resume --last

# Resume a specific conversation
faheemcode --resume abc123def456

For more details, see Resume Conversations.

Tips

See also