akougkas.io

Context is part of the system

A capable model still fails when the system hands it the wrong slice of reality. CLIO's answer is to treat context the way a database treats state: selected, shaped, and recorded for each decision.

Published
Updated
Reading
4 min read
Topics
systems, data, scientific computing, agents, building

The boundary around one action

  1. Scientific state

    Data, metadata, provenance, and tools.

  2. Bounded context

    Select what the decision needs.

  3. Authorized action

    Apply tool contracts and human approval.

  4. Inspectable receipt

    Record selection, activity, and decisions.

Selection and authority shape one action, and a receipt records what happened.

Here is a failure I have watched more than once. An agent has a strong model behind it and a clear question in front of it, and it still makes a bad call. The calibration file changed yesterday, or the dataset belongs to a different experiment. The derived quantity has no provenance. The tool named compare deletes. The action it wants to take exceeds the authority of the person who asked.

None of those is a prompt-writing failure. Each is a systems failure: the model acted inside a reality that the surrounding system assembled badly. I have spent the last two years building around that observation.

The thesis

CLIO gives agents what databases give applications: structured, reliable, queryable state. A model on its own has a context window. A scientist has terabytes on a parallel file system, a Slurm queue, instrument metadata, a decade of provenance, and tools with side effects. Something has to select from that world, shape it for one decision, and write down what it chose. When that something is invisible, the agent’s answer is unauditable no matter how good the model is.

So “context” in CLIO does not mean a paragraph pasted above a question. It means a runtime product: content, metadata, current state, provenance, tool contracts, policy, and the boundary of human approval, assembled for a particular action and recorded.

That is a data-systems claim, and it comes from a data-systems lineage. Hermes taught me that placement decisions are only trustworthy when you can see why they happened. LABIOS taught me that a request should carry its intent instead of forcing the system to guess. ChronoLog taught me to order activity at write time so it can be replayed later. DTIO taught me that a task is a better unit than a request once a pipeline has more than one stage. CLIO is what happens when you apply those lessons to an agent instead of an I/O request.

The shape I want across the whole of CLIO is selection, rejection, authority, and action, with a record another person can check. IOWarp is where the team and I are carrying it into the context store, the scientific tools, and the science agent.

More context is not the goal

Context windows invite an easy metric: fit more tokens. Scientific context does not become correct when it becomes large. A smaller, well-scoped package with provenance beats a giant retrieval dump. A refusal caused by missing authority beats a plausible action. An explicit conflict between two measurements beats a smooth synthesis that hides the disagreement.

The objective is the smallest sufficient context for a bounded action, with enough provenance and state to make the result inspectable.

Context is a data-movement problem

At scientific scale the right evidence lives in object storage, a parallel file system, an instrument buffer, or another site entirely. Moving all of it toward a model wastes bandwidth, and summarizing too early erases the feature the agent needs. Someone has to decide where filtering happens, which representation moves, what gets cached, and when a derived object is safer than the source. Hermes and LABIOS asked those questions about I/O, and IOWarp’s transfer and assimilation engines ask them again with an agent on the other end.

What is unresolved

I do not have a universal schema for context, and I doubt one exists across instruments, simulations, and organizations. Provenance describes a chain without proving its inputs were right. A perfect record does not repair a biased selection policy. Retrieval quality, adversarial content in retrieved text, changing permissions, and the cost of keeping history are all open. Context can also expose the very thing a system is meant to protect, so minimization and redaction have to happen before data reaches a model, not after generation.

The model matters, and it still acts inside the reality the surrounding system constructs. That layer should be designed, tested, and audited like any other component.

Sources, code, and records

  1. source

    IOWarp documentation

    The runtime layers under CLIO.

  • 2025–present
    active

    CLIO

    A context layer for scientific AI agents and workflows

  • 2024–present
    active

    IOWarp

    Context management infrastructure for scientific AI

More on CLIO

  1. essay

    One destination, N tiers

    Every tier supplies the application at once, and the application sees one destination. I gave that thesis to my group at the Gnosis Research Center in November 2026, with the six lines of I/O work behind it since 2016 and my bet that they are the foundation agents need for context.

    9 min
  2. essay

    CLIO as the entry point

    CLIO should become the single place a developer starts with IOWarp, built as an application SDK with deployment profiles rather than an umbrella package or a gateway service. This is the direction for 2027.

    5 min
  3. essay

    A study that keeps its evidence

    CLIO Agent now links a study's questions, hypotheses, experiments, observations, and conclusions to the tool calls that produced them, so a scientific conclusion stays attached to the evidence that produced it.

    3 min