← All writing
4 min read

Knowledge as a Service is the unsolved problem in agentic ops

Agents across an org all need the same context. Why knowledge as a service is the problem underneath AI assistance, and where I'd start.

  • agents
  • sre
  • knowledge-management

I think knowledge as a service is such an interesting problem to solve in the new AI and agentic world, especially as an SRE.

Through my current experience at work, I’m noticing it’s becoming ever-so important to find a scalable, maintainable, and contributable way to build a central knowledge-as-a-service product: one place that systems developed across different orgs can both read from and write to.

Finding a way to create this knowledge base is a challenge I have yet to see solved optimally.

Knowledge comes from five places, and they don’t agree

There’s a lot of context to manage, and it comes from very different sources:

  • Tribal knowledge
  • How the business should work
  • Code maps and repos
  • How the platform actually behaves today
  • The database: how the code processed a given event that caused a specific result, which is essentially how the platform actually worked for a given instance

Some of these are easier to keep current than others. The database and code map can be indexed on a regular interval and always be kept up to date. Tribal knowledge can’t.

Centralizing these sources and segregating them in a non-conflicting manner, while maintaining up-to-date knowledge, seems to be a great problem to solve.

Tribal knowledge wins, until it’s wrong

When sources disagree, it typically seems like tribal knowledge wins. Internal users and employees usually know best how things are supposed to behave, given the context of the problem a customer is reporting.

But I think tribal knowledge also goes stale the fastest. Facts about how the product should work can go stale. Someone senior could have written something that was once true, but the company has since pivoted and now it’s no longer true. Because of that person’s tenure and stature, it may be believed rather than verified.

AIs may not have this bias.

Disagreement is a signal, not a bug

Disagreement is certainly useful. I don’t think the knowledge base should be expected to be 100% accurate all the time. There has to be an understanding that information can be stale, and that’s why maintaining it becomes so key. It’s also part of the problem: finding the cadence to do it, how to do it, how to find and fix gaps, and for that matter, how to determine what a knowledge gap even is.

I’m sure there’s some sort of table or formula that can derive what plus what equals the source to trust. I’m not sure yet what that formula is.

It has to write, not just read

The “as a service” part matters in both directions. Systems across orgs should read from and write to one central place. That allows things like failure patterns to make their way into the knowledge base, so AI PR intelligence can learn from code patterns that have led to incidents or issues in the platform, review PRs more intelligently, and catch issues before they make it to production.

New knowledge comes from manual contributions, findings in support tickets, PR reviews, incident failure patterns, and more.

More than a wiki with a chatbot

It might be looked at as a wiki with a chatbot. But when you’re creating a self-healing, self-improving knowledge base, I think it surpasses being just a regular wiki.

Part of the problem is optimizing search, and how quickly triage, troubleshooting, or the correct information can be delivered. Exposing the right tooling for AI to fetch information, and to understand what information is available to it, is key to avoiding hallucinations and improving answer accuracy.

For example, say an issue is related to file processing, but the AI can’t reach the server running the job or confirm the file was ever delivered. Then it must know how far its confidence can go, given that it’s missing crucial information.

Support is where it pays off first

Support is the most obvious place this pays off. Giving a non-technical user the ability to access technical information, presented in a digestible manner, so they can communicate root causes, symptoms, and so on back out to customers, is key.

Before, a support user might receive an answer from engineering or product support that describes the root cause with internal lingo and engineering terms that may not make sense to a customer. There has to be a way to refine the tone and language of the response, to convey exactly what happened, how it happened, and what we can do to mitigate, remediate, and resolve it.

And it doesn’t stop at support. Done well, this can enable different departments within an org to accelerate the kind of AI assistance offered by the internal and external solutions being created.

Where I’d start

If I were starting from scratch, I’d begin by isolating the sources of truth and laying out an understanding of what’s available today, how it’s accessed, and what contributing to it can look like, given the reality of the system in place.

Then I’d work out what kind of pipeline is required to embed systems together into this, to create a self-learning intelligence loop, and where that loop can yield the most benefit quickly for the org.