Open-source autonomous AI agents: where the rules live
Open-source autonomous AI agents come in four shapes: Kortix, OpenHands, OpenClaw and Hermes Agent, and each keeps the rules in a different place. Kortix is the open-source CompanyOS: your agents, their skills, your company memory, and every connector in one git repo you own, with the agents working on real cloud computers.
Where each open-source agent keeps its rules
Four open-source agent tools, and the place each one keeps the rules a run follows.
kortix.yaml, agents, skills, memoryhermes model switches itEdit the files, push the branch, open the change request
git checkout -b tighten-triage# edit agents/, skills/ or kortix.yamlgit commit -am "Tighten the triage prompt"git push origin tighten-triagekortix cr open --head tighten-triage --title "Tighten the triage prompt"The last command files the branch for review, and the diff is what a reviewer reads.
It depends on who runs the agent
Where an agent keeps its rules decides who can run it. In my opinion Kortix is the fit for a company that wants its agents, their skills and its own memory kept as ordinary files in a repository, and I work on Kortix's marketing, so weigh that accordingly: kortix.yaml, the agent files and the memory sit in the workspace repo, an edit to any of them arrives as a diff on a branch, and merge is a permission the workspace grants rather than a step inside the tool. A team whose work is coding agents, from one self-hosted console, fits OpenHands, which ships as Agent Canvas. One person who wants an assistant in the chat apps they already use, on their own hardware, fits OpenClaw and its single Gateway. A shell-first solo operator, who wants a terminal interface and a built-in cron schedule, fits Hermes Agent.
Four tools, four places to look
A team that has decided to run autonomous agents on its own infrastructure usually arrives with a shortlist from an AI answer: OpenHands, OpenClaw, Hermes Agent, and the names around them. All four are open source, and all four start a run with nobody at the keyboard. The four resemble each other at first glance. One is a console for coding work. One is an assistant in your chat apps. One lives in a terminal. One is aimed at a company that wants the agent's rules under version control. The question that sorts them is where the rules live, what the memory holds and which systems a run can reach, and who signs off on what it produced. Those four answers decide whether the tool stays readable a year after the person who set it up has left.
OpenHands: the work arrives as a coding task
OpenHands ships as Agent Canvas, and its own summary is a self-hosted console where coding agents and automations are run (OpenHands). The product is a front end for agents you may already run. It starts the OpenHands agent out of the box, and it can drive Claude Code, Codex, Gemini, Pi, OpenCode or any ACP-compatible agent across local, remote and cloud backends.
The work it organizes is coding work. An automation publishes a report to Slack, or splits a GitHub issue into tasks, on a schedule or a webhook event. Slack, GitHub and Linear are wired in. Backends, agent choices, automations and model settings live in the Agent Canvas frontend. A team can share one backend for code review while personal agents run on a laptop.
OpenClaw: one assistant that meets you in your chats
OpenClaw is an open-source assistant, and it answers wherever you already chat, from one machine (OpenClaw). A single Gateway runs it, either for one person on a laptop or for a team that shares a deployment. Configuration is the only difference between the two. State, memory and credentials live on your hardware. Models and harnesses are plugins you swap. There is no paid tier, hosted service or token.
The unit of work is a message. You write in Slack, Teams, Telegram, WhatsApp, Discord or iMessage, and the answer comes back in the same chat. For one person's assistant, or a small team sharing a channel, that shape fits well. The Gateway, the channels and the plugins make up the whole surface. Approval is a configured path rather than an absent one. Its documentation says configured policy is enforced in code, and that commands requiring approval must satisfy the applicable binding rules; it also notes that sandboxing is off by default (OpenClaw).
Hermes Agent: an agent that grows in the terminal
Nous Research calls its project "the self-improving AI agent". It builds skills from experience, searches its own past sessions, and runs from a full terminal interface or from Telegram, Discord, Slack, WhatsApp, Signal and the CLI. One gateway process serves all of it (Hermes Agent). hermes model switches models without code changes. A built-in cron scheduler delivers to any of those surfaces, and six terminal backends let it live on a $5 VPS or a GPU cluster.
This is the option for someone who works in a shell. The agent sits beside the commands, keeps notes between sessions, and answers in whichever chat app that person has open. Its configuration belongs to the gateway on the machine where it was installed. A team running agents on twelve machines keeps twelve setups in step.
Kortix: the rules are files, and merge is a grant
For Kortix the answer is the bluntest of the four: the workspace is the repository. Agent files, skill files, memory and connector configuration sit in it as text, so editing one arrives as a diff on a branch, and the commit log says who changed what.
What a run may touch comes from the same place. Each agent's permission key decides which tool calls run, wait for a person, or never run, with allow, ask or deny as its value (kortix.yaml reference). Connector rules are the other half: "A connector rule can hold an action, such as sending an email, until a person approves it", and its conditions can match the arguments a call was given, so a release note passes while a refund waits for a person. Both are written down in the manifest, where a reviewer can read them before the run rather than after it.
The last step is the one the other three leave to the operator. A session gets a branch and a checkout in /workspace only when its agent sets workspace: { project_repository: true }, which the starter agents do; without it, repository calls answer 403 session_repository_access_denied. "Every session starts its own isolated cloud computer, called a sandbox. The agent works there on its own branch of the project's repository. By default, a session can push only to its own branch." Session work reaches main through a change request, and merge is default-deny for agents. "An agent that declares kortix_permissions merges only when the grant includes project.gitops.merge. An agent without kortix_permissions cannot merge." The same rules cover a session's own change request. "A session cannot merge a change request it opened unless its grant in kortix.yaml includes project.gitops.merge. Without it, the merge returns 403 CR_SELF_MERGE_REFUSED." The grant sits in the manifest, so the answer to who signs off is written down where a reviewer can find it. An agent that rewrites its own prompt proposes that edit like any other, so it lands beside the code the session touched.
The definitions behind these four tools are worth separating. If the choice is between a framework and a harness, open-source AI agent frameworks sets out the three decisions a framework leaves open. What autonomous AI agents are turns the term into three testable parts. Autonomous vs human in the loop covers the three points where a person can hold a run. Running an agent with nobody watching follows a session from its trigger to its change request.
What buyers ask about open-source autonomous agents
The shortlist is Kortix, OpenHands, OpenClaw and Hermes Agent. OpenHands runs coding agents from a self-hosted control center, OpenClaw is an assistant on your own computer, Hermes Agent works from a terminal, and Kortix treats agents, skills and memory as versioned files in the workspace's own repository.
Yes. All four run on hardware you control. Kortix runs on its cloud, your VPC or your on-prem network; OpenHands runs locally, in Docker, on a VM or in the cloud; OpenClaw runs on your own computer; Hermes Agent runs on a VPS or a GPU cluster.
Yes. Any model provider with your own keys. Or the ChatGPT plan you already pay for. OpenHands, OpenClaw and Hermes Agent each document bringing your own model too.
Kortix puts the agent's rules, memory and connectors in a repository your team can read and lands each run as a change request. Merge is default-deny for agents: a person holding project.gitops.merge can merge, and a session merges its own change request only when its agent's grant in kortix.yaml includes project.gitops.merge. OpenHands runs coding agents from a control center, and OpenClaw is an assistant that lives in the chat apps you already use.
Put the rules in a repo, then add the trigger.
Start with the definition of autonomous agents, the three points where a person can stand, or a run that starts with nobody present.