Choose Your Interface
Loom offers two ways to interact with your AI coding assistant:Web UI
Real-time streaming chat, file browser, diff viewer, and decision graph visualization
CLI
REPL-style interface with markdown rendering and colored diffs
Web UI
Open the workspace
Navigate to http://localhost:4200 in your browser.The workspace has four main areas:
- Chat panel — Send messages and see streaming responses
- File tree — Browse your project files
- Tabs — Switch between Files, Diffs, Decision Graph, and Terminal
- Model selector — Choose which LLM to use
Send your first message
Click into the chat input at the bottom and type a question:Press
Shift+Enter to send (or click the send button).Watch as Loom:- Uses the
directory_listtool to explore the project structure - Uses
file_readto read relevant files - Responds with a summary and shows you the code
Approve tool permissions
When Loom wants to use a tool that requires permission (like
file_write or shell), you’ll see a permission modal.Review the tool parameters and approve or deny the operation.View the decision graph
Click the Decision Graph tab to see an interactive SVG visualization of Loom’s reasoning:
- Blue nodes — Goals and decisions
- Green nodes — Actions and outcomes
- Yellow nodes — Observations
- Edges — Relationships (leads_to, chosen, rejected, etc.)
CLI
Build the escript (if you haven't already)
./loom executable in your project directory.Start an interactive session
Navigate to your project directory and run:Or from within your project:You’ll see the Loom prompt:
Ask a question
Type a question and press Enter:Loom will:
- Search for auth-related files using
file_search - Read the most relevant files with
file_read - Analyze the code and respond with an explanation
CLI Commands
Once in an interactive session, you can use these commands:| Command | Description |
|---|---|
/help | Show available commands |
/model <name> | Switch LLM model mid-session |
/history | Show conversation history |
/sessions | List all saved sessions |
/clear | Clear the terminal |
/quit or /exit | Exit Loom |
CLI Options
Specify which LLM model to use:
Path to your project directory:
Auto-approve all permission prompts:
Resume a previous session by ID:
Show help message and exit:
Show version and exit:
One-Shot Mode
You can ask a single question without entering an interactive session:- Quick code explanations
- CI/CD integrations
- Scripting and automation
Example Session: Fixing a Failing Test
Here’s a real example of using Loom to fix a failing test:Project Rules
Create aLOOM.md file in your project root to give Loom persistent instructions:
LOOM.md
Next Steps
Decision Graph
Learn how Loom remembers context across sessions
Project Rules
Advanced LOOM.md configuration
Tools
Explore all 11 built-in tools
Permissions
Configure tool permissions and auto-approval