Skip to main content
Replicas supports Pi as an SDK-backed coding agent. Pi runs inside the workspace VM, uses Aster or OpenRouter for inference, and persists its session and tool history across turns.

Setup

Pi and Opencode share Aster credentials. DeepSeek Harness, Pi, and Opencode share OpenRouter credentials. Aster is preferred when both are connected.
  1. Create a key in the Aster console or on the OpenRouter keys page.
  2. Paste it under Pi → Aster API Key or Pi → OpenRouter API Key in Organization → Coding Agents. The Aster credential also appears under Opencode; the OpenRouter credential appears under DeepSeek Harness and Opencode.
  3. Set organization credentials for the team, or add a personal key under Personal to override the organization default.
See Credentials for credential scope and fallback behavior.

Models

With Aster connected, Pi provides kimi-k3, glm-5.2, gpt-oss-120b-fast, and gpt-oss-120b. With OpenRouter, Pi offers the models enabled under Pi → OpenRouter models in Coding Agents settings. Organization admins pick these from the connected OpenRouter account, and the selection is shared with DeepSeek Harness and Opencode. Until it is changed, Pi provides: Choose an organization default under Defaults, a personal default in account preferences, or a model for the active chat from the workspace composer.

Using Pi in Workspaces

Choose Pi from the composer’s harness/model picker when creating a chat. Pi can:
  • Read, write, and edit repository files
  • Run shell commands with Replicas command protection
  • Accept image attachments
  • Persist sessions and tool history across workspace sleep
  • Discover provisioned and repository skills through Pi’s global .agents/skills directory
  • Run skills explicitly with /skill:<name>
Pi does not currently provide native plan-mode, fast-mode, goal-mode, or environment MCP support. Ask Pi for a read-only implementation plan in the prompt when you want planning without changes.

Programmatic Use

Select Pi anywhere Replicas accepts a coding agent: