Skip to main content

Quick start

Overview

The Faheem Code CLI provides multiple ways to interact with the Faheem Code AI agent:

ModeCommandBest For
Terminal (CLI)faheemcodeInteractive development
Headlessfaheemcode --headlessScripts & automation
Web Interfacefaheemcode webBrowser-based terminal UI
GUI Serverfaheemcode serveFull web GUI
IDE Integrationfaheemcode acpZed, VS Code, JetBrains

Your first conversation

Set up your account (first time only):

faheemcode login

This authenticates with Faheem Code Cloud and fetches your settings.

  1. Start the CLI:

    faheemcode
  2. Enter a task:

    Create a Python script that prints "Hello, World!"
  3. Watch Faheem Code work: The agent will create the file and show you the results.

Controls

Once inside the CLI, use these controls:

ControlDescription
Ctrl+POpen command palette (access Settings, MCP status)
EscPause the running agent
Ctrl+Q or /exitExit the CLI

Starting with a task

You can start the CLI with an initial task:

# Start with a task
faheemcode -t "Fix the bug in auth.py"

# Start with a task from a file
faheemcode -f task.txt

Resuming conversations

Resume a previous conversation:

# List recent conversations and select one
faheemcode --resume

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

# Resume a specific conversation by ID
faheemcode --resume abc123def456

For more details, see Resume Conversations.

Next steps