Litellm Agent Runtime — Design skill for Claude Code
Coding-agent runtime that runs inside per-session VMs provisioned by LiteLLM proxy.
How to install Litellm Agent Runtime
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open BerriAI/litellm-agent-runtime and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Litellm Agent Runtime does
Coding-agent runtime that runs inside per-session VMs provisioned by LiteLLM proxy. Generic by design — customization happens via .cursor/ harness, Settings UI, or hydrate payload.
Alternatives in Design
- Poco Claw — A more beautiful and easier-to-use alternative to OpenClaw 1.3k ★
- Design Harness — Feed your agent papers and half-formed ideas — it links them into a system design you can defend 211 ★
- Claude Code Debug Mode — Cursor-style Debug Mode skill for coding agents 111 ★
README
litellm-agent-runtime
Long-running daemon that lives inside a per-Session VM and drives the coding-agent loop for the LiteLLM Cloud Agents product (Cursor SDK on LiteLLM). Tracks Linear epic [LIT-2879](https://linear.app/litellm-ai/issue/LIT-2879).
Status
| Wave | Scope | Status |
|---|---|---|
| Wave 1 | Scaffold + tools (read/edit/shell/grep/glob/todo) + git clone + gh pr create + e2e single-run-creates-PR test |
in this PR |
| Wave 2 | Cursor harness (.cursor/skills, .cursor/hooks.json, .cursor/mcp.json); warm-pool SIGUSR1 hydrate handler; multi-run within a Session |
follow-up |
| Wave 3 | Validations 5–11 (skills, hooks, MCP, per-team secrets, network allowlist, daemon restart resilience, warm mode) | follow-up |
3-layer extension model (LIT-2879 architecture)
The daemon ships **generic**. Customer-specific behavior is layered on top:
- Per-repo (Layer 1) —
.cursor/skills/,.cursor/hooks.json,.cursor/mcp.jsonin the cloned repo. Auto-detected at session start. - Per-team (Layer 2) —
LiteLLM_AgentVMConfig+LiteLLM_AgentSecretin the proxy DB, written from the Settings UI. Surfaced via the hydrate payload at session start. - Per-session (Layer 3) —
repos,env_vars,agent_configfrom the SDK call toagent.createSession(). Surfaced via the hydrate payload too.
If you find yourself adding code like `if (sessionId.startsWith("shin"))`, **stop**. Push the customization into one of those 3 layers instead.
Architecture
┌─────────────────────────────────────────────────────────────┐
│ EC2 VM (per Session) │
│ │
│ systemd unit: litellm-agent-runtime.service │
│ │ │
│ ▼ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ daemon (Node.js)
Related Skills
Product Delivery Harness
PRD, design, and PLAN/RUN graph orchestration for any coding agent (Codex, Claude Code, Pi, or generic), with
Bipolar Code
Web UI for managing LiteLLM proxy backends, models and API usage
Agentic Design Patterns In Production
What happens when you read 500K lines of a production agent runtime and extract the patterns the textbook didn
Agent Mode Change
Agent-mode floating window for DeepSeek Harness (dsh): a draggable Web-UI panel that switches a session's syst
Wf UI
Open the Harness browser control panel for task capsules, workflow graphs, agent peers, settings, and terminal
Archeus
The workspace layer for Claude Code — browse every session, persistent project memory, MCP awareness, and per-
Related Agents
Plugin Contract Reviewer
Verifies the otel-as-code repo conforms to Claude Code plugin runtime contracts — hook stdin payload keys and
Runtime Reviewer
Reviews a diff for what happens when it runs — empty and null data, error paths, leaks, races, re-renders, two
Light Security ClaudeSettingsAudit
Audit Claude Code config files (settings.json, settings.local.json, .mcp.json) for unsafe or malicious content