Architecture
Why agents need a shared retrieval layer
A new data pipeline for every agent doesn't scale. Here's what we do instead.
The first agent a team builds usually comes with its own retrieval pipeline. Someone writes a connector for the CRM and another for the wiki, sets up embeddings and ships it. It works. Then the second agent arrives, and the third, and each one gets its own slightly different copy of the same plumbing.
The hidden cost of one pipeline per agent
Every copy has to handle authentication, rate limits, schema changes and re-syncing. When an upstream app changes its API, several pipelines break at once. Data freshness differs from agent to agent, so two assistants can give two different answers to the same question.
Retrieval is infrastructure. Treating it as a one off script for each project is where most of the pain comes from.
What a shared layer changes
A shared retrieval layer connects each source once, keeps it in sync and exposes everything through one search interface. Your agents stop owning data plumbing and just use it. A new agent can search every connected source on day one.
- One integration per source, maintained in one place.
- Consistent freshness, so every agent sees the same current data.
- One place to control who and what can access each source.
What to look for
A good retrieval layer supports more than one search mode, because a question about an error code and a question about strategy need different approaches. It keeps syncing instead of running on a schedule. And it returns sources with every result, so agents can show where an answer came from.
That's the problem we're working on at Loomweft. Connect a source once, search it from anywhere, and spend your time on the agents themselves.
Try Loomweft
Connect your sources once. Every agent you build can use them.