# Omnara: open-source, self-hostable platform for running durable AI agents

> Omnara is an Apache 2.0 platform that runs AI agents through an API on any model and any machine, and keeps their state so they survive restarts.

- Project: omnara by omnara-ai
- List: Built for AI
- Kind: tool
- Works with: Claude Code, Codex, Cursor, OpenRouter, Ollama
- Noticed: 114 points on Hacker News (when we found it)
- Added: 2026-11-25T13:09:44+00:00
- Web page: https://ai-news.ikangai.com/built/omnara/

The README describes Omnara as a managed agent platform. You define an agent in a YAML file that names a model, instructions and machines. You then launch it with the CLI or the TypeScript SDK, and Omnara runs the agent loop. According to the README, agents can use models from OpenAI, Anthropic, OpenRouter, Ollama or any compatible endpoint. They can run commands on sandboxes from several providers, or on your own laptop through a small daemon, omnarad, that connects out without inbound ports. Built-in tools cover shell, files, web search and MCP servers, and agents can load skills and start subagents.

There are two ways to start. Omnara Cloud needs a sign-in and a config file, then npx omnara agents launch, which requires Node.js 22 or newer. To self-host, the README says to clone the repository and run docker compose with the app profile, then add a model provider and a machine in the console. It warns that this Compose setup uses local development defaults, such as built-in encryption keys and email links printed to the logs, so production needs your own keys and the self-hosting guide. The README says the project is licensed under Apache 2.0 and that self-hosting is free.

In a post, founder Kartik writes that the team first made a remote-control phone app for Claude Code and Codex. He describes the design as an append-only event log in Postgres, with each loop iteration run by a stateless worker and committed in one transaction. The post frames Omnara as an open-source counterpart to Claude Managed Agents and the OpenAI Agents API. The comparison table in the README is the project's own, and the post does not report independent testing of the design.

## In the author's words

> Use the API to run AI agents on any model and any machine, with tools, secrets, permissions, and streaming built in.

## When to reach for it

A reader building agents that must survive crashes or run across a laptop and a cloud sandbox could study the design. Each step of the loop commits with its outputs and next wakeup in one transaction, and a worker that dies mid-step leaves a lease that another worker retries. It is the tool to reach for when agents need to run for days and resume, rather than a single chat session.

## See it

- [omnara](https://github.com/omnara-ai/omnara)
- [Discussion on Hacker News](https://news.ycombinator.com/item?id=50183892)

---

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it.
