Comparisons

Kortix vs LangGraph: open-source agents need a system you own

Kortix is the open-source system a company owns end to end; LangGraph is the low-level framework for stateful agents in code.

The Kortix Team
Kortix··6 min read

LangGraph is the low-level orchestration framework a Python team reaches for when it wants an agent's control flow as code, and Kortix is the open-source CompanyOS a team moves those agents onto once they leave a single application. Each agent's prompt, the grants that agent holds and the company's memory live in one git repository the company owns, and every connector it may call is declared there. What separates them is who owns the store, the grants and the merge gate once a second person and a second agent share the same memory, and a file tree answers that question.

Compared here:
LangGraphLangGraph

What LangGraph gives you

LangGraph is a runtime for long-running agents that keep state. LangChain Inc builds it, and the library is released under the MIT license. Its own documentation calls it focused entirely on orchestration. It gives fine-grained control to mix deterministic, hand-coded steps and model-driven steps in one graph.

The capabilities it documents are the ones that keep an agent alive in production. Durable execution resumes a run where it stopped. Interrupts let a person step in and change the state. Working memory holds one run, long-term memory carries across runs, and LangSmith traces and evaluates the graph, with a separate product for deployment.

None of that is small. A team that writes its agent as a graph knows what the code does and can test it in its own suite. If your agents live inside a product you already build and host, this is the right shape for them.

The system around the graph

On Kortix the repository is the unit of work, and the manifest is where it starts.

A workspace's root holds kortix.yaml, and the manifest reference lists every key. The manifest carries no version line, because the format has none. A new workspace starts like this, narrowed to one agent:

project:
  name: northwind-ops
default_agent: analyst
skills: {}
agents:
  analyst:
    prompt_file: agents/analyst.md
    permission: allow
    skills: all
    connectors: [kortix_slack]
    workspace: { project_repository: true }

The prompt lives in agents/analyst.md, which holds the prompt alone and has no frontmatter. The block holds the behavior settings and the grants. permission decides which tool calls run, which ask a person and which never run. skills, connectors, secrets, tools and kortix_permissions each name what the agent may use, and a grant the block leaves out gives the agent nothing, except tools, which defaults to all.

Two files, both readable and both diffable in a change request. A reviewer who asks which tools an agent may call opens kortix.yaml. The same repo holds the memory the agents accumulate, the connectors, the triggers and the sandbox template. A change to any of them arrives as a diff someone can approve or reject.

One isolated sandbox per session. The repository is checked out there, on a branch of its own. What the agent changes comes back as a change request. Nothing merges itself: someone reviews the diff and approves it, unless an admin has granted the merge capability.

LangGraph gives you a program to run. Kortix gives you the repository, the machines and the review step the program runs inside.

Where LangGraph is the right call

  • The agent is part of a product. When agents are a feature inside software you already build, ship and host, a library keeps them next to the rest of the application and inside the same release process.
  • You want the control flow in code you review. LangGraph does not abstract your prompts or your architecture. The behavior stays exactly what the code says, which is what a custom control flow needs.
  • Your platform is Python. The library installs as a package, so it fits services you already run without a new hosting model.
  • Tracing and evaluation belong in your application. LangSmith traces execution paths and scores outputs, which matters when agents are judged against application-level tests.

What a framework leaves on your desk

A framework answers how an agent reasons. It does not answer who owns the memory the agent draws on, which tools it may touch, or how its work gets reviewed before it counts. Those questions arrive once more than one person and more than one agent share the same context.

Shared state comes first. Several agents need what the company decided last quarter, and several people need to see what each learned. A store inside one application stops being the right home for that. Reach into real tools comes next. Wiring a CRM, a billing system and a code host into agent logic is application plumbing. That stops being plumbing once the rules about which agent may write to billing live somewhere a security reviewer can read. The review gate follows, because work that changes something the company depends on should land the way code lands: a diff somebody approves.

Kortix puts those pieces in the repo. A few commands take a directory from nothing to a running workspace:

kortix init my-agent
cd my-agent
kortix ship
kortix sessions new --prompt "Summarize this week's commits and open a change request"

kortix init creates the directory from the starter, with a manifest, a default agent and the repo layout. kortix ship validates the manifest, commits, offers to set any secret the workspace declares and is missing, pushes the branch and connects the connectors the manifest declares. In a folder with no workspace yet, that first push is what creates it. kortix sessions new starts a session on a fresh cloud computer, where the agent reads the repo, does the work on a branch of its own, and opens the change request because the starter's kortix-system skill tells it to.

What you pay for, and what you keep

The bill is not per seat. Free is $0 with 500 credits a month on a person's first workspace (later workspaces start with 0), on a provider key you supply or a ChatGPT subscription; managed models come with the Credits plan or Enterprise. Paid plans start at $50 a month, and the pricing page carries the rate card, including what one credit buys on the agent computer.

Self-host is free. kortix self-host installs the full platform on a server you control, as one Docker Compose stack that the CLI configures and updates. No managed models run on that instance, so every workspace brings a provider key, and sessions still run on Platinum.dev sandboxes rather than on the server you installed.

Side by side

KortixLangGraph
Open sourceYesYes, MIT license
What it isA company's agents, memory and connectors in one repoA low-level framework for stateful agents in your code
Where agents runAn isolated cloud computer per sessionWherever you deploy the process
MemoryCompany memory as files in the repoShort and long-term memory in your own store
Review before it landsA change request a person approvesInterrupts you build into the graph
Self-hostCloud, VPC or on-prem; self-host is freeIn your own infrastructure
Cost shape500 free credits a month, then paid credits, no seatsThe library is free; hosting is yours to run and pay for

Which to pick

Pick LangGraph when you are building agent logic inside an application you already run. You want the graph, the state and the observability to be code your team controls. That is a large, ordinary case, and the framework earns its place in it.

Pick Kortix once agents outgrow a single application and start doing the company's work. The signals are concrete. Several people and several agents draw on one memory. Agents act in tools where permissions and an audit trail have to hold up. The work has to pass a review gate before it counts. At that point the graph is the smaller half of the problem, and the system around it is what you want to own.

Kortix on GitHub is where the code lives. Create a workspace at Kortix and run a first session, or self-host it for free.

Own your company’s AI.Start today, in our cloud or yours.

Start for free

Open source · SOC 2 Type I · SAML SSO and SCIM · Any model, your keys