{"slug": "harness-as-a-service", "title": "Harness as a Service", "summary": "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.", "body_md": "# Harness as a Service.\n\n**Define your agent in TypeScript. Deploy it like a serverless function.** We run the loop, Linux VMs, and durable sessions.\n\nTS agent.ts\n\n``` js\nimport { useInput, useModel } from \"@opencomputer/agent\";\n\nexport default function Agent() {\n  const input = useInput();\n\n  // Choose your model. Keep your agent.\n  useModel(\"anthropic/claude-sonnet-4.6\");\n\n  return `Help with this request: ${input.text ?? \"Say hello.\"}`;\n}\n```\n\nYou write the behavior. We run the harness.\n\n[Model options ↗](https://docs.opencomputer.dev/agents/models)\nBuilt something useful? Share it with \n\n`oc-template.toml`.", "url": "https://wpnews.pro/news/harness-as-a-service", "canonical_source": "https://www.harnessasaservice.dev/", "published_at": "2026-09-12 01:03:03+00:00", "updated_at": "2026-09-12 01:27:47.329010+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "ai-products", "developer-tools"], "entities": ["OpenComputer", "TypeScript", "anthropic/claude-sonnet-4.6", "@opencomputer/agent"], "alternates": {"html": "https://wpnews.pro/news/harness-as-a-service", "markdown": "https://wpnews.pro/news/harness-as-a-service.md", "text": "https://wpnews.pro/news/harness-as-a-service.txt", "jsonld": "https://wpnews.pro/news/harness-as-a-service.jsonld"}}