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

Build an open-source AI agent with a testable first job

An open-source AI agent needs a specific job and a result you can check. I recommend Kortix CompanyOS, the open-source CompanyOS for that first company-work agent, and I work on Kortix marketing.

From install to a merged change request

Five commands from the Kortix quickstart, in the order you run them.

Exhibitterminal
curl -fsSL https://kortix.com/install | bashkortix login
Exhibitterminal
kortix init my-agentcd my-agent
Source: https://kortix.com/docs/developers#quickstart
Exhibitterminal
kortix ship
Source: https://kortix.com/docs/developers#quickstart
Exhibitterminal
kortix sessions new --prompt "Add a skill that drafts the weekly status report"
Source: https://kortix.com/docs/developers#quickstart
Exhibitterminal
kortix cr lskortix cr diff 1kortix cr merge 1
Source: https://kortix.com/docs/developers#quickstart

What building an agent means

An open source AI agent framework usually gives you a library and the pieces to wire together, and the application that runs them is yours to write. On Kortix, you describe the agent as a file and let the platform run it. An agent has an agents.<name> block in kortix.yaml for its model, permissions and enabled tools. Its Markdown prompt file holds the instructions alone. The platform supplies the harness, the sandbox and the review path, so your work is the agent's instructions and its reach.

From an empty directory to a running agent

The quickstart runs five steps. Install the CLI, and kortix init my-agent scaffolds a project with kortix.yaml plus starter agents, skills and runtime config. kortix ship validates the config, commits, pushes and brings the project live in the cloud. kortix sessions new starts a session, one unit of agent work on its own cloud computer and its own branch.

What each agent needs

Begin with one task and the tools it needs. Add access only when the acceptance test calls for it. Approval gates you set. Off until you set them. Test a held action before connecting a tool that can change production data.

Where the change lands and who reviews it

Session work reaches main through a change request, and an agent needs a merge grant. The agent commits, pushes its session branch, and opens the change request against the project's default branch; a person with the project.gitops.merge permission reads the diff and merges it. Each session runs on its own isolated machine and branch, so thousands can run in parallel without touching each other. The patterns that make that handoff reliable are covered in building reliable AI agent workflows, and the runtime a session uses is covered in running an agent framework.

How to self-host

Kortix runs on Kortix Cloud, in your VPC, or on your own on-prem network, and self-host is free. After installing the CLI, kortix self-host start brings up the full stack on your own box as one Docker Compose stack. The Kortix docs and Kortix on GitHub cover the rest.

Building an agent on Kortix

Do I need to write code to build an agent?

Start with instructions and an agents.<name> block in kortix.yaml for the model, permissions and enabled tools. You can start a session from the web app with nothing installed. A skill can be Markdown; custom tools and connectors may need code.

Which models can it use?

Any model provider with your own keys, or the ChatGPT plan you already pay for. Pick the model per agent, per session or per message. Kortix is model-agnostic, so you can switch the day a different one lands.

Can I self-host it?

Yes. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. Install the CLI and run kortix self-host start to bring up the full stack on your own box.

Where does the agent's work land?

The agent commits its work to its session branch and opens a change request against the project's default branch. A person reads the diff and merges it. An agent needs a merge grant to merge its own change request; the starter worker has a wildcard grant.

Build your first agent on the open-source CompanyOS

Start in the web app with nothing installed, or take the CLI path from install to change request.