Skip to main content

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:
ProviderEnvironment VariableGet a key
Anthropic (default)ANTHROPIC_API_KEYconsole.anthropic.com
OpenAIOPENAI_API_KEYplatform.openai.com
Google GeminiGOOGLE_API_KEYaistudio.google.com

Install

1

Download the JAR

2

Run it

The TUI launches with a chat interface. Type a message and press Enter.
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:
The agent reads your codebase (via 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

ModeCommandUse case
TUI (default)loopyInteractive development β€” chat, iterate, explore
Printloopy -p "your task"Scripting and CI β€” single task, stdout output
REPLloopy --replQuick tasks β€” readline loop, no TUI overhead

Slash Commands

Lines starting with / are intercepted before reaching the agent β€” no LLM tokens consumed.
CommandWhat it does
/helpList all commands
/skillsDiscover, search, install domain skills
/boot-newScaffold a new Spring Boot project
/startersDiscover Agent Starters for your project
/boot-addAdd capabilities to an existing project
/boot-modifyStructural changes (Java version, CI, native image)
/btw <question>Side question without polluting session context
/session saveSave current session for later
/clearReset conversation memory

Add Project Context

Create a CLAUDE.md file in your project root. Loopy reads it automatically and appends it to the agent’s system prompt β€” same convention as Claude Code.
No CLI flags needed. The agent sees your conventions on every turn.

What’s Next

Extending Loopy

Custom skills, subagents, tool profiles, and the programmatic API

CLI Reference

All flags, options, and configuration