Prerequisites
- Java 21+ — check with
java -version. Install via SDKMAN:sdk install java 21.0.9-librca - An API key for at least one provider:
| Provider | Environment Variable | Get a key |
|---|---|---|
| Anthropic (default) | ANTHROPIC_API_KEY | console.anthropic.com |
| OpenAI | OPENAI_API_KEY | platform.openai.com |
| Google Gemini | GOOGLE_API_KEY | aistudio.google.com |
Install
Or build from source:Your First Session
Loopy starts in interactive TUI mode by default — a terminal chat interface with real-time agent feedback and a spinner while the agent thinks. Try giving it a coding task:CLAUDE.md if present), plans the change, edits files, and verifies the result. You see token usage and estimated cost after each response:
Three Execution Modes
| Mode | Command | Use case |
|---|---|---|
| TUI (default) | loopy | Interactive development — chat, iterate, explore |
loopy -p "your task" | Scripting and CI — single task, stdout output | |
| REPL | loopy --repl | Quick tasks — readline loop, no TUI overhead |
Slash Commands
Lines starting with/ are intercepted before reaching the agent — no LLM tokens consumed.
| Command | What it does |
|---|---|
/help | List all commands |
/skills | Discover, search, install domain skills |
/boot-new | Scaffold a new Spring Boot project |
/starters | Discover Agent Starters for your project |
/boot-add | Add capabilities to an existing project |
/boot-modify | Structural changes (Java version, CI, native image) |
/btw <question> | Side question without polluting session context |
/session save | Save current session for later |
/clear | Reset conversation memory |
Add Project Context
Create aCLAUDE.md file in your project root. Loopy reads it automatically and appends it to the agent’s system prompt — same convention as Claude Code.
What’s Next
Extending Loopy
Custom skills, subagents, tool profiles, and the programmatic API
CLI Reference
All flags, options, and configuration