Skip to content
Open Source AI Agent Framework
SpecificationOpen Source AI Agent FrameworkRev 2026-10-15

Run an open-source agent framework beyond the first successful prompt

Running an open-source agent framework means owning the process around the agent loop. I work on Kortix marketing, and I would start with Kortix CompanyOS, the open-source CompanyOS for a team that wants to run company tasks in cloud sessions.

From a terminal to a reviewed change request

Four commands cover install, scaffold, a session and the merge.

Exhibitterminal
curl -fsSL https://kortix.com/install | bashkortix login
Exhibitterminal
kortix init my-agentcd my-agentkortix ship
Source: https://kortix.com/docs/developers#quickstart
Exhibitterminal
kortix sessions new --prompt "Summarize this week's commits and open a change request"kortix chat <session_id>
Source: https://kortix.com/docs/developers#quickstart
Exhibitterminal
kortix cr lskortix cr diff 1kortix cr merge 1git pull
Source: https://kortix.com/docs/developers#quickstart

Install the CLI, then create or clone a project

The install script supports macOS and Linux on x86_64 and arm64, and Windows inside WSL. kortix login signs you in to a host, an account and a project. kortix init my-agent creates a project from the starter, and kortix ship validates kortix.yaml, asks for missing secrets and pushes the repo. To adopt an existing project instead, run kortix projects clone <project_id> my-agent.

Every session gets its own cloud computer and branch

kortix sessions new --prompt "..." starts a session. The agent works in its own sandbox on a branch named after the session id, so repository edits start on separate branches, and you can run thousands of agents in parallel on one config, each on its own cloud computer. Talk to the pi-based agent with kortix chat.

Work lands through a change request a person approves

The agent commits, pushes its session branch and opens a change request against the default branch. Review the open requests with kortix cr ls, read the diff with kortix cr diff 1, and merge with kortix cr merge 1. A session needs project.gitops.merge to merge its own change request. The starter worker has a wildcard grant; remove it if a person must approve every merge.

Self-host it or run it managed

Kortix is open source and self-host is free. kortix self-host init --domain kortix.example.com writes the configuration, and kortix self-host start runs the full platform as one Docker Compose stack on your own infrastructure. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-hosting uses Platinum for new sandboxes, and the instance has to be reachable so those sessions can call back.

Running an agent framework

Do I need my own server to run agents?

No. Kortix Cloud runs the sessions for you, and self-host is free when you want the control plane on your own infrastructure.

Where do sessions run?

Every session runs on its own cloud computer, one isolated sandbox on a branch named after the session id. Even a self-hosted instance runs sessions on a remote sandbox provider.

What happens to what an agent produces?

The agent commits and opens a change request. A person reviews the diff and merges it, check the merge grant before relying on human-only review.

Can I script the whole loop?

Yes. The CLI does what the web app does, so kortix init, kortix ship, kortix sessions new and kortix cr merge run in CI or from a coding agent.

Run your first session

Install the CLI, bring a project live in the cloud, then review what the agent proposes.

Open source · Any model, your keys · Self-host, VPC, or on-prem