Define your agent in TypeScript. Deploy it like a serverless function. We run the loop, Linux VMs, and durable sessions.
TS agent.ts
import { useInput, useModel } from "@opencomputer/agent";
export default function Agent() {
const input = useInput();
// Choose your model. Keep your agent.
useModel("anthropic/claude-sonnet-4.6");
return `Help with this request: ${input.text ?? "Say hello."}`;
}
You write the behavior. We run the harness.
Model options ↗ Built something useful? Share it with
oc-template.toml.