HaaS — Harness as a Service by OpenComputer

1 min read Original article ↗

Define your agent in TypeScript. Deploy it like a serverless function. We run the loop, Linux VMs, and durable sessions.

Try OpenComputer Read the quickstart →

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.Start from a template ↗