Beyond Agent Memory

Topic: Why digital organizations scale better than digital assistants — a thesis on the shift from smarter agents to better organizational structure

Versions

Component

Version

Jarvis

0.5.x

syspilot

0.5.x

Sphinx

9.1.0

sphinx-needs

8.0.0


Abstract

The current discourse around AI agents focuses heavily on larger context windows, persistent memory, retrieval systems, and increasingly capable foundation models.

This article argues that these are not the primary scaling mechanisms for complex knowledge work.

Instead of building smarter individual agents, we propose building digital organizations: collections of long-lived actors with clear responsibilities, localized knowledge, traceable artifacts, and explicit communication channels.

In this model, knowledge does not live inside a global memory. Knowledge is distributed across actors, while specifications, requirements, code, tests, and documentation serve as organizational artifacts. Learning emerges from the organization rather than from the underlying LLM.

The result is a system that resembles a software company more than a chatbot.


The Wrong Abstraction: Sessions

Most contemporary AI systems are session-centric.

User
  ↓
Session
  ↓
LLM
  ↓
Memory

A session receives information, interacts with tools, may store memories, and eventually terminates.

As systems grow more complex, practitioners attempt to overcome session limitations through:

  • Larger context windows

  • Persistent memory

  • Vector databases

  • Knowledge graphs

  • Long-term memory systems

All aim to answer the same question:

How can a single agent know more?

Our experience suggests this is the wrong question.


The Alternative: Actors

Instead of sessions, we model actors.

An actor is a long-lived organizational entity with:

  • Responsibilities

  • Local knowledge

  • Communication channels

  • Persistent state

  • Tool access

Examples:

Project Manager
Change Manager
System Designer
Developer
Quality Manager
Tech Writer
Atlas (PMO)

An actor may be inactive for days. An actor may be restarted. An actor may switch underlying models or sessions.

Yet the actor remains the same organizational entity.

The actor is not the LLM. The LLM is merely a runtime.

This was not a design we drew on a whiteboard and then implemented. It arrived by evolution, and the trail runs longer than any single repository shows.

The first experiments with coding agents go back to spring 2025 — small projects, pure vibe coding, agents but no traceability and nothing about the agents themselves was even version-controlled yet (checking your prompts and roles into .github/ simply wasn’t a habit anyone had at the time). That was agents as clever assistants, not yet actors.

The spec-driven turn came over the summer. A hobby project — an ESP32 distance sensor, started in June 2025 — was built against explicit requirements from the very beginning, first with OpenFastTrack and then, from August, with a full Sphinx-Needs traceability graph. By October the approach was mature enough to demo on stage: a fully agentic, spec-driven workflow. The spec-driven backbone was in place before there was anything resembling an organization to hang it on. The progression, in hindsight, was:

vibe coding → spec-driven development → agentic workflows → digital organization

By the time the project-management system began, its very first commit was — tellingly — “project setup with copilot instructions”: from day one that work was about giving a role its disposition, not about growing a session’s memory. A project manager, a change manager, a quality manager each accumulated their own responsibilities and local context long before we had the word actor for what they were.

The shift from agent to actor was therefore less an invention than a recognition — naming a pattern that had been quietly assembling itself for over a year.


LLMs as Semantic Runtimes

One of the architectural principles we discovered early is a strict separation between:

  • Semantic runtime (LLM)

  • Algorithmic runtime (deterministic systems)

LLMs should only solve problems that require semantics:

  • Interpretation

  • Planning

  • Prioritization

  • Communication

  • Negotiation

Everything deterministic should be implemented algorithmically:

Task

Runtime

Requirement traceability

Sphinx-Needs

Impact analysis

Python

Email access

MCP

File operations

Algorithms

Graph traversal

Algorithms

Specification reasoning

LLM

This separation:

  • Reduces hallucination

  • Improves reliability

  • Enables use of smaller models (e.g., Qwen)

A small model may struggle to reliably compute a dependency graph — but it can reason remarkably well once that graph is supplied by deterministic tooling.

The actor focuses on judgment. The algorithm focuses on certainty.


Knowledge Is Not Memory

Most AI systems equate memory with stored information. We disagree.

  • Git is not memory

  • Requirements are not memory

  • Specifications are not memory

  • Code is not memory

These are artifacts — outputs of work. Knowledge resides inside actors.

Typical actor assets:

context.md
actor-tailoring.md
local notes
communication history
role heuristics

This mirrors real organizations. A company does not store all knowledge inside one master document. The quality manager knows different things than the architect. The project manager knows different things than the technical writer. No individual knows everything — the organization compensates through structure.

Knowledge is distributed by design.


From Workflow Control to Intent Control

This is the most important shift — and also the one most easily overstated, so it is worth being precise.

Traditional agent systems are workflow-driven in a hard sense:

Step 1 → Step 2 → Step 3 → Tool → Output

Control lives in a predefined execution path. Deviating from the path is a failure state.

Actors Are Not Empty

The opposite extreme — “just give the swarm a goal and let it self-organize” — is a fantasy, at least with today’s models. It does not work without scaffolding.

Our actors are not blank. Each has:

  • A soul — its identity and disposition

  • Duties — what it is responsible for

  • A workflow — but a deliberately high-level one

The distinction is in the grain of that workflow. It is not a step-by-step script; it is a short list of responsibilities the actor owns and a rough sense of order. Closer to a job description than a flowchart. It says what the role is accountable for, not which button to press next.

And crucially: these workflows are guidelines, not hard rules. They are far from perfect. An actor is expected to depart from them when judgment says so — to loop back, escalate, insert a step, or hand off differently than the “happy path” suggests. The skeleton exists to give the actor somewhere to stand, not to constrain every move.

Intent Over Path

So the shift is not “no workflow” versus “workflow.” It is coarse guidelines plus intent versus fine-grained script.

The CEO (the user) defines:

  • Intent — the goal

  • Constraints — quality, traceability, validation

The actors bring their duties and their high-level workflows, and between them they determine:

  • Which steps are actually needed this time

  • Who does what

  • How to coordinate

  • When to loop back

Example. Instead of:

“First analyze requirements, then generate a spec, then implement…”

You define:

“Deliver a fully traceable change with validated artifacts.”

Each actor already knows its own duties. Together they figure out the rest — and adapt the path to the situation rather than following it off a cliff.

Why This Works

Guidelines can be loose because the constraints are not. The system enforces:

  • Traceable specifications

  • Role ownership

  • Independent validation (QM)

  • Structured artifacts

So many execution paths become valid — the actor is free to choose among them — while invalid outcomes are rejected by the structure itself, not by a fixed script. The scaffolding constrains the result, not the route.

👉 The system learns how to achieve goals under constraints, not how to follow a predefined workflow.


Specifications as Organizational Infrastructure

Specifications are not memory. They are infrastructure.

Using a traceable specification framework such as Sphinx-Needs, every artifact becomes connected:

User Story
    ↓
Requirement
    ↓
Specification
    ↓
Test
    ↓
Validation

Actors do not need global knowledge — they navigate a structured network. The specification system becomes the nervous system of the organization.


Designed for Imperfection

Here is an admission that most agent demos avoid: our workflows are not perfect. Not the ones in this system, and not the ones in the other digital organizations we have built. The souls are approximate, the duties have gaps, the guidelines are wrong at the edges. This is not a temporary state to be engineered away — it is the permanent condition of any non-trivial organization, human or digital.

The mistake is to treat that as a bug. It is the design premise.

If you accept that errors will happen — that an actor will misjudge, that an impact analysis will miss a dependency, that a build will break for reasons nobody anticipated — then the interesting engineering question is no longer “how do we prevent all errors?” It is:

How does the organization catch the errors it will inevitably make?

Real companies answer this with structure, not with smarter individuals: independent review, separation of duties, audits, a quality function that doesn’t report to the people it checks. The value isn’t that any one person is infallible. It’s that a mistake by one role has a good chance of being caught by another.

We build the same nets:

  • Independent validation — the Quality Manager checks work it did not produce

  • Separation of duties — the actor who writes is not the actor who approves

  • Traceable artifacts — a broken link in the specification graph is findable, not just felt

  • Redundant paths — more than one role can notice the same fault from a different angle

None of these assume the actors are good. They assume the actors are fallible and arrange the organization so that fallibility is survivable. When a net catches something, the fix doesn’t just repair the artifact — it improves the net. That is what continuous improvement means here: not fewer mistakes by better agents, but a tighter mesh over time.

The next section shows one of these nets catching a fault it was never explicitly told to look for.


Two Levels of Learning

After multiple change cycles processed through a digital organization —

PM → CM → Designer → Developer → Tester → QM → PM

— failure rates decreased. Reviews improved. Requirements improved. Handoffs improved.

Yet:

  • No model was fine-tuned

  • No weights changed

  • No reinforcement learning occurred

The models learned nothing. The organization learned.

We observe two distinct layers of this learning.

1. Explicit Learning (engineered)

Someone — usually the CEO — notices a gap and closes it deliberately:

  • Prompts evolve

  • Checklists evolve

  • Roles evolve

  • context.md files evolve

This is organizational learning, not machine learning — but it is still directed. A human decided what to change.

2. Emergent Learning (organizational)

More interesting is what happens when actors start doing this without being told: judging the quality of their own findings, anticipating failures, or introducing a step nobody asked for.

Case in point. A build broke on the main branch, and no existing safety net — not Change Manager, not Quality Manager, not Release Manager — had caught it, because verification only ever built the directly affected package. The CEO closed the gap explicitly, at the Change Manager/Quality Manager level, with an intent rather than a script:

“Going forward, ensure that verifying a Change includes a full build of the entire package suite. Decide yourself where, when, and how to implement this.”

That directive is explicit learning — a human closed a process gap. But what happened next was not scripted at all. Running the new full-suite build, the Quality Manager didn’t just report a red build. It traced the failure back through time to a specific change from weeks earlier, recognized that the break was latent rather than caused by anything currently in its review queue, and flagged that the earlier change’s impact analysis must have missed a dependency — all without being asked to do forensics, and before anyone had pointed it out. The Change Manager, working the same fault independently, converged on the same conclusion: the root cause wasn’t just a missed code update, it was a missing link in the specification graph that should have connected the two areas of the system in the first place.

Nobody instructed either actor to reason backward from a compiler error to a specification defect. That judgment — “this isn’t just broken code, the traceability itself is broken” — emerged from the roles and incentives of the organization, not from a prompt.

There is a second, quieter detail that matters just as much. Both the Quality Manager and the Change Manager, independently, turned the new directive into a standing habit: each added “run the full-suite build” to its own working memory as something to do on every future change — without being told to persist it anywhere, let alone where or how. The instruction they’d been given (“decide yourself where, when, and how”) was, if we’re honest, an indirect nudge toward some form of self-modification. But nobody specified the mechanism. And when we looked at what each actor actually wrote down, the two entries didn’t match at all — different location, different wording, different level of detail. Two actors reached the same conclusion and then encoded it in two genuinely different ways. That divergence is itself informative: it means the persistence wasn’t a shared script firing twice, it was two independent judgments landing on the same policy.

This is the distinction that matters: explicit learning improves the organization’s rules. Emergent learning improves the organization’s judgment — including, apparently, its judgment about how to remember something.


The Role of the CEO

Managing such a system feels less like prompt engineering and more like leading a company.

The objective is no longer:

How do I build the best agent?

It becomes:

How do I build the best organization?

The key questions shift:

  • Which roles exist?

  • Who owns which decisions?

  • How is quality enforced?

  • Where are the bottlenecks?

  • How does the organization improve over time?

The actors become employees. The specifications become institutional infrastructure. The LLM becomes replaceable runtime technology.


Conclusion

The future of agentic systems may not be:

  • Larger context windows

  • Larger memory systems

  • Larger models

It may be organizational design.

Instead of building smarter agents, we build:

Digital organizations of specialized actors.

In such systems:

  • Knowledge is local

  • Artifacts are traceable

  • Learning is organizational

  • LLMs are semantic runtimes

  • Algorithms ensure correctness


Final Thought

The fundamental unit is no longer the session. It is the actor.

And the most important capability is no longer memory.

It is organization.


The Systems Behind This Article

The ideas here are not theoretical. They come from building two digital organizations in the open:

  • Syspilot — an example approach to spec-driven development (SDD) with GitHub Copilot. This is where the actors, the Sphinx-Needs traceability graph, and the PM → CM → Designer → Developer → Tester → QM pipeline live. The build-break story in this article happened here.

  • Jarvis — a VS Code extension for personal project and event management, structured as long-lived actors with local knowledge and explicit communication channels rather than a single assistant session.

Neither system is finished, and — as this article argues — neither is meant to be. Their workflows are imperfect by design; the nets that catch that imperfection are the point.


Acknowledgements

Many of the ideas in this article were sharpened in discussions with the COVESA GenAI Working Group. Even where a group spends more time coordinating than building, that coordination is itself a lesson in what organizations are for — and what they cost. Thank you for the conversations.