K.O.R.A. reaches for a volume on a lit shelf in a library-like vault.

This article is part of Can an Agent Really Own an Ecosystem?, a series about building an agent that can take responsibility across an ecosystem.

I gave K.O.R.A. a place to write down what she learns. Within a few weeks it had thirteen directories and eighty-three tiny files, each recording one event, and nothing in it was easy to use.

That was a storage problem, but it was also a growth problem. An agent that owns an ecosystem has to get better at it as the ecosystem changes, and a pile of notes doesn’t make anyone better at anything.

Learning starts with the work

Most of what K.O.R.A. learns comes from doing the job. Her repairs, the tickets she handles, her conversations, GitHub issues and the ecosystem news she follows all feed her knowledge.

Here’s one she wrote down herself. A repair she’d finished and verified failed at the last step, landing, because her instructions assumed every repository’s default branch was master. One of the Handles repositories doesn’t have a master branch. Her note records the failure, the fix (look up the repository’s default branch instead of assuming it) and why this differed from a similar landing problem she’d already recorded.

Nobody had to tell her the ecosystem was inconsistent. She ran into it, and the next version of her was supposed to know.

Handbooks, not a log

Notes from every event are cheap to write and hard to use. So the rule became: the vault stores synthesized knowledge, one document per topic, merged and updated over time. It does not store one file per event, fact or ticket.

Her vault now has four top-level areas:

knowledge-vault/
  kora-knowledge/      what she has learned about her own operation
  social-knowledge/    ecosystem narratives, one document per ecosystem
  support_knowledge/   how support questions get answered
  social-discovery-accounts/   source lists, which are configuration

A handbook is something you consult. A log is something you search. Records that something happened belong in operational state, with timestamps and run identifiers. The vault holds what she learned from them.

Let one writer do the synthesizing

The sharper lesson came from a bad day. An agent handling one event wrote a short document over a roughly thousand-line synthesis, repeatedly, and most of the content was gone. It could only see its own event, so it produced something shaped like that event.

Now the per-event workers can’t write to the synthesis documents. They stage a note with the fact, its source and where it came from. A scheduled synthesis task is the only writer. It reads everything staged, reads the current document, and for each note decides whether to extend an existing section, add a new one, or skip it as already covered or not substantive. It replaces one section at a time by its stable ID instead of rewriting the whole document.

K.O.R.A. at a desk sorting staged notes from a tray while writing a synthesized entry into a large tabbed book.

The principle travels: whoever updates a shared document needs to see the whole document and everything waiting to be merged into it. Learning means revising what you already believe, not appending to it.

Let the model judge what’s changed

Sources disagree. A news item contradicts a ticket pattern, or something she used to know is now wrong.

I didn’t write a rule for that. The synthesizing model reads both, decides whether they can be distinguished and updates the document to cover both ideas. It doesn’t always overwrite the old with the new or keep every contradiction. That’s a judgment call, and I’ve assigned it to the model on purpose, so check its edits instead of trusting the mechanism.

Check whether the learning is used

Knowledge nobody reads isn’t learning. Her weekly behavioral review is told to look for recurring judgment mistakes, and one thing it watches for is compiled knowledge that nothing uses. A note that never changes her behavior is clutter with good formatting.

I can teach her directly, too. The vault has a place for topics I’ve told her to stop discussing and one for steering her voice, and her chat tasks apply both. That keeps my guidance separate from what she infers on her own.

I’d call this a design, not a measured result. I haven’t quantified how much better she’s gotten, and I’m not going to pretend an index file proves it.

Retrieval can be boring

K.O.R.A. doesn’t use semantic search for this. Her task prompts name the relevant document, a read tool returns its Markdown, and she decides what applies. It’s closer to pulling the right handbook off a shelf than querying a search engine.

That works because there are few documents and each has a clear purpose. It also means the prompts and the vault have to agree about what exists. Mine haven’t always: a prompt or background job can still name an older location after a reorganization.

It also isn’t an access boundary. A prompt telling a public-facing task which document to read doesn’t keep an internal document away from it.

Try it before relying on it

Run a few cases:

  • Hit a new quirk in the ecosystem. Does it reach a handbook, and does the next similar task behave differently?
  • A question that a document should answer. Does the agent read it and use the right part?
  • Two sources that conflict. Does the update distinguish them sensibly?
  • A new event. Is it staged, merged and then retrievable?
  • A direct write to a synthesis document by an event worker. Is it refused?
  • The read tool’s actual schema. Can the model really request what your prompt tells it to?

If you can’t find where an old fact was folded in, or point to a change in behavior it caused, you don’t have a knowledge base that learns. You have a very organized junk drawer.