cd /news/ai-agents/harness-as-a-service · home topics ai-agents article
[ARTICLE · art-127370] src=harnessasaservice.dev ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Harness as a Service

OpenComputer launched a service that lets developers define an AI agent in TypeScript and deploy it like a serverless function, with the company running the loop, Linux VMs, and durable sessions. The agent template imports useInput and useModel from "@opencomputer/agent" and defaults to the model "anthropic/claude-sonnet-4.6". Developers keep control of agent behavior while OpenComputer operates the underlying harness.

read1 min views2 publishedSep 12, 2026

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.

── more in #ai-agents 4 stories · sorted by recency
── more on @opencomputer 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/harness-as-a-service] indexed:0 read:1min 2026-09-12 ·