Skip to content

Who picks the next step

What an agentic workflow is, and how open-source Kortix runs one

An agentic workflow is a job where an AI agent picks each step while the run happens, rather than replaying a path someone wrote in advance. Kortix is the open-source CompanyOS, and the useful line runs between an agentic workflow and the two things it gets confused with: an automation and a fixed pipeline.

The open-source CompanyOS

One isolated sandbox per session · Self-host is free · Cloud, VPC or your own on-prem network

kortix.yaml · agents

The prompt the agent opens with, the skills it may load and the repo it works from are all declared under agents:.

Source: kortix.com/docs/developers

agents:  assistant:    description: Answers questions about the project.    prompt: You answer questions about this project. Read the files before you answer.    skills: "*"                              # every skill; omitted: no skills    workspace: { project_repository: true }  # omitted: no repository in /workspace

The definition in one paragraph

An agentic workflow is a job an AI agent carries through to a result by choosing each step while it runs. You hand it a goal, a set of tools, a place to act and a stop condition, and it reads what each action returned before it picks the next one. Two runs of the same workflow can take different routes and stay the same workflow, because the goal and the limits are the part that holds still.

The word workflow does most of the damage. In ordinary tooling it names a path someone wrote down in advance, which is close to the opposite of the thing being defined.

Two meanings, one word

Anthropic draws a line inside the phrase. "Workflows are systems where LLMs and tools are orchestrated through predefined code paths," its guide to building agents says, while agents "dynamically direct their own processes and tool usage" (Anthropic). Both count as agentic systems there. Only the second chooses its own route.

Vendors inherit the ambiguity. n8n describes the agent inside its canvas as a node where a language model decides which actions to take (n8n docs). The graph around that node is the part that sets the order. A product page can call the graph agentic or call the node agentic, and mean different machinery either way. What the product does follows the meaning.

A product that publishes its documentation lets the reader check which meaning it picked, and GitHub Agentic Workflows runs that check on GitHub's own pages.

What separates it from an automation

An automation executes steps somebody wrote. At 06:30 it calls an endpoint, then writes a field, then sends a mail, and both the order and the branches were settled before the first run. An agentic workflow can start on the same clock and call the same endpoints. What changes is who picks the branch, and the change shows the first time an input arrives that nobody planned for.

The test costs nothing. Feed the run a case with no matching branch and watch what happens. An automation stops, logs an error, or writes a wrong value into a field. An agentic workflow reads what is actually there and takes a step that was not in the plan. That recovery is what a team buys when it puts a model in the middle of a process.

What separates it from a fixed pipeline

A pipeline is the structure the work happens inside: stages that run in order, each with a check before the next one starts. A build, a nightly reconciliation and an extract-and-load job all work that way, and a stage that fails stops the line. An agentic workflow can call a pipeline as a tool, wait for the answer and decide what to do with it, which is a different arrangement from running inside one.

Anthropic's guidance makes the same trade in a sentence: workflows suit well-defined tasks where predictability matters, and agents are the better choice where flexibility and model-driven decisions are needed at scale.

Where that border sits inside a single process is the subject of agentic versus deterministic workflows.

The parts a definition has to name

Every definition has to name a goal, tools to reach it, a place to act, a stop condition and a record of what happened. Most name the first two and skip the third. An action has to land on a machine with a filesystem, and that machine is what the next run inherits or throws away.

In Kortix the place is declared in the config file:

sandbox:
  default: python
  templates:
    - slug: python
      image: python:3.12-slim
      cpu: 2
      memory: 4
      disk: 20

An agent naming sandbox: python starts on a Python 3.12 machine with two cores, four gigabytes of memory and twenty of disk, before it reads a word of the prompt. A Linux machine boots from the image the project declares, and it is its own isolated machine: its own filesystem, its own process table, its own network (agent computer). It works from a clone of the project repo in /workspace, so the agents, skills and triggers are on disk before the first message. An agent harness runs inside the machine, with the project's models, tools and secrets injected at runtime.

Where the work ends up

One isolated sandbox per session. Each session has its own isolated machine and branch, cut for the run alone. Every edit and stray file the run produces lives on that branch, and only what the agent commits survives the machine, so the rest goes away with it.

Session work reaches main through a change request. Merge is default-deny for agents, and a session that only answers, or stops on a question, lands nothing. What a reviewer receives is a diff against a known base, with the changed lines there to read.

Starting one you can inspect

The smallest real workflow is a trigger, an agent and somewhere for the result to land. What fires a trigger is a single on: holding a schedule, a webhook or an App event, and the row sits in kortix.yaml beside the agents and the sandbox images, in a file a reviewer can diff. Building one walks that row from the first line to the change request it opens. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free.

Agentic workflow definitions

What is an agentic workflow in simple terms?

It is a job an AI agent plans and finishes toward a goal you set, choosing each step as it runs. The agent works on a computer, reads what came back, and stops at the goal or at a limit: build one from a single trigger row.

Is an agentic workflow the same as an AI agent?

No. The agent is the thing that decides; the workflow is the whole run, from the trigger through to a result a person reviews. One agent can carry out several different workflows.

Are agentic workflows safe to run in production?

They are, when each run is isolated and its output is reviewed before it lands. Each session has its own isolated machine and branch, session work reaches main through a change request, and merge is default-deny for agents unless an admin granted the merge capability.

What is a real example of an agentic workflow?

A Wednesday stock list: at 07:00 the agent reads last week's counts from the repo, proposes a reorder file and opens a change request a buyer edits. Four examples carry the trigger row behind it.

An agentic workflow runs on a machine you can open.

The machine boots from an image the repo names, and the run's work sits on a branch until someone reads it. In my opinion Kortix is the place to start, and I work on Kortix's marketing, so weigh that accordingly.