Skip to content

Installation

Get Looplia installed and configured in under 5 minutes.

  • Node.js 18+ or Bun 1.0+
  • Anthropic API key (or ZenMux API key for proxy access)
Terminal window
bunx looplia init

The init command creates a workspace at ~/.looplia/ with:

  • Plugin files — Skills and commands
  • Workflow definitions — Ready-to-use workflows like writing-kit
  • Configuration — User profile and settings

Looplia needs an API key to access Claude. You have two options:

Set your Anthropic API key as an environment variable:

Terminal window
export ANTHROPIC_API_KEY=sk-ant-api03-...

ZenMux provides access to multiple AI providers through a single API:

Terminal window
# Set the provider preset
looplia config provider preset ZENMUX_ZAI_GLM47
# Set your ZenMux API key
looplia config provider set auth-token sk-zenmux-...

Available presets include models from Google, OpenAI, xAI, DeepSeek, and more. See config provider for the full list.

Run a quick test to verify everything is working:

Terminal window
# Check available workflows
looplia run --help
# Create a test file
echo "AI is transforming healthcare with predictive diagnostics." > test-article.md
# Run a workflow (requires API key)
looplia run writing-kit --file test-article.md

If successful, you’ll see a streaming TUI showing the workflow progress.

After installation, your workspace looks like this:

~/.looplia/
├── looplia-core/ # Infrastructure plugin
│ ├── commands/ # CLI commands
│ ├── skills/ # Workflow execution skills
│ └── hooks/ # Lifecycle hooks
├── looplia-writer/ # Domain plugin
│ └── skills/ # Content analysis skills
├── workflows/ # Workflow definitions
│ └── writing-kit.md # Built-in writing kit workflow
├── sandbox/ # Workflow execution sandboxes
├── user-profile.json # Your preferences
└── looplia.setting.json # Provider configuration