Network Views
The dashboard tiles that draw how the platform's resources connect — agents, knowledge and memory — rather than how much they are used. The figures tiles draw are covered in
statistics.md.
Four widget types, in the widget picker's Networks group. All four are data_kind: platform: drawn from stored records, never from a model, and static — the frontend reads the graph as the viewer each time the board opens.
| Widget | Draws | Served by |
|---|---|---|
agent_memory | agents → the conversations they remember → the newest memory entries | GET /app/network/memory |
web_link_graph | a website source's pages as its crawl walked them | GET /app/knowledge/{id}/web/graph |
knowledge_graph | a graph source's entities and relationships | GET /app/knowledge/{id}/graph |
The last two reuse what the source's own page draws (WebLinkGraph in embedded mode; a read-only twin of the graph editor). The first two are new graphs, built in app/services/network/.
The knowledge network
Agents never integrate a source directly: they are granted whole repositories, and a repository expands to its member sources at inference time (agents/transformers._load_agent_knowledge_bases). So the network is three layers joined by two edge kinds — grant (agent → repository) and member (repository → source) — plus a memory edge to each agent's memory store, drawn to its left.
What it answers is reach, not use. A grant is what an agent may retrieve from. Use — which sources answers actually cited — has been recorded since October 2026 (the citations record) and is what the knowledge pages count; this graph still draws reach, so "which source did this agent actually use last week" is a question for a source's page, not this tile. A repository's source map (its Overview, knowledge.md) is a different graph: its sources tied to one another by evidence, drawn by force rather than in columns, on the same frame (FlowFrame). The summary leads with what reach can say, and what nothing else in the product shows:
shared sources — reached by more than one agent (
×Non the node)unreachable sources — in no granted repository, so indexed and paid for but never retrievable (drawn dashed, at the bottom of their column)
agents without knowledge — granted nothing at all
Scope is the caller's own agents, repositories and sources, as the resource listings are by default — plus any system repository (the CHAIN-R User Guide) one of their agents has been granted. CHAINR Bot itself is not drawn: it is every user's, not one of theirs. agent_id narrows the view to those agents and what they reach; an id the caller does not own is ignored rather than an error, so a tile outliving an agent still renders the rest.
A graph source's size is its source_config.node_count — only that integer is read, never the rest of a config that may hold credentials for other source types. Every other source counts its knowledge_documents rows.
The memory graph
svc-ai writes one episode per completed agent turn — the task and a digest of the answer — and, when the person says something worth keeping, curated memories (a fact, a preference, ongoing work) kept from their own words; all keyed by agent, user, conversation and workspace (Memory). Later turns recall the ones a request bears on, so memory is the part of an agent's context that grows on its own and that nobody granted explicitly. The graph is agent → conversation → entry; a curated entry's task line is its statement.
Counts come from one svc-ai call for the whole fleet, GET /memory/summary, which answers per agent and per conversation and, with recent, each agent's newest entries as a task line rather than full text.
A conversation deleted since stays on the graph, marked — its memory outlives it, which is exactly the thing worth seeing. It has no link.
Past twelve conversations per agent the rest fold into one "N older" node.
If svc-ai cannot answer, the summary says memory is unavailable — never zero entries. The knowledge network does the same (
memory_entries: null).Only the viewer's own entries, in every workspace: memory is written per (agent, user), and an agent-wide count showed one person what an agent remembered of another's conversations — a personal agent's too, which its owner's personal projects inherit (
network/knowledge._memory_user).
Ids in config
A tile that draws one source or one agent may leave its id empty, and then draws a documented default — the newest source of its kind, or every agent — which its caption names ("Newest: docs.example.com"). That is what lets a template, or the dashboard generator, place one without an id.
Ids the user does pick are checked when the tile is saved. Each renderer declares the resources its config names (WidgetRenderer.references), and the dashboard router resolves every one against the user saving it — a tile naming somebody else's source is a 403, a knowledge_graph pointed at a file source is a 422. The agent a generated tile runs on goes through the same hook, which replaced a branch that checked only that.
Ids a model proposes are never kept: reference_fields on the renderer lists them, the generator strips them, and the tile keeps its default view with a warning on the proposal.
Built-in boards
Two built-in boards are built on these tiles (system_resources/dashboards.py; they were templates until the built-in boards replaced them), neither of which invokes a model:
Knowledge — the network (without memory, with unreachable sources), knowledge searches this month, the source list, and the newest website link graph and entity graph.
Agent fleet — the network (with memory, reachable only), the memory graph, and spend, latency and error rate by agent.
Every id in them is empty, so each viewer sees their own agents and sources.
Adding a view
A new graph over stored records is a builder in app/services/network/ that returns Network (nodes with a kind, label, ref_id and meta; typed edges), a route in app/router/app/network/router.py, and a widget class in app/services/dashboards/widgets.py. On the frontend, NetworkCanvas draws any such graph: give each new node kind a column, tone, glyph and a line of figures there, and it lays out, highlights lineage on selection and links nodes with resourceHref like the others.