How gjalla works

The model behind gjalla: visibility first, then a loop that measures your agent fleet, finds the hotspots and feeds fixes back through the levers that steer agents.

You can’t optimize what you can’t see. gjalla is the monitoring layer for agentic enterprises: it shows you what your agents are doing and what it costs, then closes the loop by feeding fixes back to the agents and measuring what changed.

This page is the model. For the problems teams bring to gjalla and the questions it answers, see Use cases.

Visibility comes first

You start by connecting the agents you already run. Nothing changes about how people work.

  • Coding agents like Claude Code and Codex, through a local scan or a plugin.
  • Agents you build, through our Python SDK or anything that exports OpenTelemetry.

Every session lands in one place, whichever agent produced it. Cursor and GitHub Copilot sessions are not monitored today. Observe covers what each connection records.

The loop

Four steps. Each feeds the next, and the last feeds the first.

  • Monitor. Every session across the fleet, by agent, team and task.
  • Measure. What the spend produced: the tasks and deliverables, by team, model and kind of work.
  • Analyze. The hotspots across the whole fleet: waste, rework, repeated mistakes, contradictions, and what one agent learned that the others should know.
  • Optimize. Fixes in the levers that steer agents, each measured before and after. Optimize is rolling out.

A change that helps is kept. One that shifts behavior somewhere else gets the rest of the system adjusted. Models, repos and people keep changing, so the loop keeps running.

Where agents are steered

An agent’s behavior is set in a few places that stay put as tools, devices and harnesses change. Like bumpers in bowling, that is where good guardrails and fixes belong.

The inference layer: which model does the work. Every task doesn’t need the most expensive model, and some need a better one. Applying the right model per task goes through a gateway: gjalla’s own, or the one you already run. The model index shows which model is reported to suit which task.

The harness layer: what fills the context window. Rules, memory, skills, tools and the knowledge an agent can reach. gjalla holds the shared pieces and delivers them to every agent. See Rules and skills and Shared agent memory.

One integrated system that measures the fleet and can act on both layers is what closes the loop. Measurement without a lever leaves the savings on the table, and a lever without measurement is a guess.

Why it learns across the whole fleet

Real learning comes from looking at every session in a company, not one session or one person at a time. When one agent figures something out or makes a mistake, the rest of the fleet shouldn’t have to.

A token is only waste relative to the task, what the agent knew and the goal. Rereading a file is waste in one task and diligence in another. So sessions are judged in context, and every change is judged on cost and outcomes together. Saving tokens at the expense of results doesn’t count as a win.

People stay in charge

gjalla recommends and measures. Your team decides what changes. How much is applied automatically is up to you, and it should depend on the risk.

Your data

Insights are built from compact derived artifacts rather than raw sessions, which is also what makes analyzing every session affordable. For companies that need it, processing can run inside your VPC. We walk your security team through exactly what is stored during review.

Go deeper