← Back to Registry

Claude Code

Run Claude Code as an agentOS agent with full tool access, file editing, and shell execution.

Category
Agent
Status
Beta
Docs
Guide

Add to agentOS

Register the Claude Code adapter as your VM's software: [], then open a session with the claude agent id.

import { agentOS, setup } from "@rivet-dev/agentos";
import claude from "@agentos-software/claude-code";

// Register the Claude Code adapter as VM software
const vm = agentOS({ software: [claude] });

export const registry = setup({ use: { vm } });

// Then start a session from your client with the "claude" agent id:
// const session = await agent.createSession("claude", { env: { /* API keys */ } });