Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 | 2x | import type { DocContent } from "../docsTypes";
export const guidesInference: Record<string, DocContent> = {
"/docs/guides": {
title: "Platform Guide",
description:
"Every surface of the platform in depth — inference, knowledge, governance, evaluation and dashboards.",
image: {
src: "/pages/optimisation.jpg",
alt: "Optimised, connected AI workflows",
},
sections: [
{
paragraphs: [
"These guides go deeper than the getting-started walkthrough. Each covers one surface of the platform: what it is for, how its pages are laid out, what you configure, and what is recorded as a result. Read them in order or jump to the one you need.",
],
},
{
heading: "Inference",
cards: [
{
title: "Agents & Models",
text: "What an agent is made of, how its model is chosen, what happens inside a run, and the model catalogue with its playgrounds.",
},
{
title: "Chatting with Agents",
text: "Conversations, streaming, attachments, citations, the trace, approvals, and saving answers to a board.",
},
{
title: "Skills & Skill Graphs",
text: "Skillsets, skills, the graph builder, workers, bindings, conditional edges and the test bench.",
},
{
title: "Tools",
text: "The built-in tools every agent has. MCP servers, for your own tools, are coming soon.",
},
],
},
{
heading: "Knowledge",
cards: [
{
title: "Knowledge & Retrieval",
text: "Sources and repositories, how documents become retrievable context, indexing, the retrieval pipeline and citations.",
},
],
},
{
heading: "Governance and evaluation",
cards: [
{
title: "Rules & Governance",
text: "Rules in four layers — Access, Input, Tools, Output: scopes, conditions, actions, quotas, trusted sources and the rule builder.",
},
{
title: "Governance Activity & Reviews",
text: "The log of what every rule did to every invocation, and the queue of things rules asked a person to look at.",
},
{
title: "Evaluating Agents",
text: "Datasets, evaluations, runs, regression verdicts, promotion gates, Quick try and reports.",
},
],
},
{
heading: "Seeing what happened",
cards: [
{
title: "Dashboards",
text: "Boards, the widget catalogue, provenance markers, templates, scheduled refresh and generated boards.",
},
{
title: "Activity, Overview & Stats",
text: "The Activity feed and its run panel, the Overview home page, and the Stats page.",
},
{
title: "Generative Setup & Provenance",
text: "The generate-then-review pattern shared by every generative flow, and how output is marked and traced.",
},
{
title: "Version History & Traceability",
text: "The edit history on every resource, diffing versions, and tracing a result back to the configuration that produced it.",
},
],
},
],
},
// ─── Agents & Models ──────────────────────────────────────────────────────
"/docs/guides/agents-models": {
title: "Agents & Models",
description:
"What an agent is made of, how its model is chosen, what happens inside a run, and the model catalogue behind it all.",
sections: [
{
heading: "What an agent is",
appPath: ["Inference", "Agents"],
paragraphs: [
"An agent is a named assistant with a **system prompt**, a **model**, an **appearance** (icon and accent colour), and two kinds of attachment: the knowledge **repositories** it may retrieve from and the **skillsets** whose skills it may run. Its owner — you, a project or an organisation — decides who can use it.",
"The Agents tab lists every agent you can reach, with search, sort and an origin filter (**AI generated** or **hand-built**). Each card shows the agent's icon, name and description; opening one lands on its detail page.",
],
},
{
heading: "The agent page",
appPath: ["Inference", "Agents", "your agent"],
paragraphs: [
"The page opens with the agent's identity — name, description, created date — and its system prompt with a copy button. A **Chat** action opens the conversation view. Below that, six tabs:",
],
table: {
headers: ["Tab", "What it shows"],
plainFirstColumn: true,
rows: [
[
"Knowledge",
"The repositories attached to the agent, with the sources each one contains. Attach or detach a repository here; an agent is only ever granted a whole repository, never an individual source.",
],
[
"Skillsets",
"The skillsets attached, and the **effective skills** — every skill the agent can run, resolved from all of its skillsets.",
],
[
"Tools",
"The built-in tools every agent has. MCP servers, for connecting the agent to your own tools, are coming soon.",
],
[
"Memory",
"What the agent has remembered across conversations, as key/value memories you can read and delete.",
],
[
"Activity",
"The agent's recent runs — its conversations, each opening on the turn in question.",
],
[
"History",
"Every version of the agent, with what changed in each and a diff between any two.",
],
],
},
},
{
heading: "Which model an agent runs on",
paragraphs: [
"An agent runs on the model **assigned** to it. If none is assigned, or the assigned model is unavailable, it falls back to the platform's **default chat model**, so an agent never fails simply because a provider went away. In a chat you can also **override the model for that conversation** from the model picker — useful for comparing how the same agent behaves on two models without editing it.",
],
},
{
heading: "What happens inside a run",
paragraphs: [
"Every execution — a plain agent, an agent running a skill graph, or a skill run on its own from its test bench — goes through the same pipeline of system stages around the agent's own work. You can see each stage in the trace of any turn on the Activity page.",
],
diagram: {
kind: "stack",
bands: [
{
node: {
label: "Input gate",
sub: "decides where the answer will come from: a direct reply, your knowledge, the web, or tools; rewrites a follow-up into a standalone question",
},
},
{
node: {
label: "Reconnaissance",
sub: "classifies how complex the task is and whether a synthesis pass is needed",
},
},
{
node: {
label: "Memory recall & planning",
sub: "reads the agent's memories and writes a plan: which skill nodes to run, what to retrieve, which tools to suggest",
},
},
{
node: {
label: "Retrieval",
sub: "internal (your knowledge bases), external (web search and page reads) and tool retrieval run side by side and merge into one evidence block with [S#] ids",
},
},
{
node: {
label: "Skill graph",
sub: "the planner-selected nodes of any attached skills run with the evidence read-only, fetching a missing detail on demand",
},
},
{
node: {
label: "Synthesis",
sub: "consolidates evidence and skill outputs into the answer, in the agent's persona, with inline citations",
},
},
{
node: {
label: "Quality evaluator",
sub: "checks coverage and reasoning; a serious gap re-enters the skill graph, re-synthesises, or retrieves again for the gap only",
},
},
{
node: {
label: "Approval & memory",
sub: "pauses for a person when a step asks for approval; writes anything worth remembering",
},
},
],
},
diagramCaption:
"Access and Input rules run before the gate and Output rules after synthesis. Trivial turns — a greeting, a thank-you — leave at the gate without retrieval or planning.",
},
{
heading: "Memory",
paragraphs: [
"An agent can remember facts across conversations. Memories are read at the start of a run and written at the end, scoped to the agent and to you, and the **Memory** tab lets you inspect and delete them. Nothing an agent remembers is shared with another user's conversations.",
],
},
{
heading: "Models",
appPath: ["Inference", "Models"],
paragraphs: [
"The Models tab lists every model registered on the platform. A model's page shows its **provider**, **effort band** (how much reasoning it spends, with examples of what suits it), **context window**, **data region**, when it was registered, and its **capabilities** — chat, vision, embedding and so on — alongside its specification and any configuration overrides. Pricing per token, where the provider publishes it, is what cost caps and spend charts use.",
"Every chat-capable model has a **chat playground**, reachable from its page, that talks to the model directly with no agent in front of it. Use it to compare providers or debug a prompt before putting it in an agent.",
],
},
{
callout: {
tone: "info",
title: "Models have no edit history",
text: "Models are the platform's records rather than yours, so they are the one resource type without a version trail. A direct model chat therefore carries no version stamp; an agent turn always does.",
},
},
{
heading: "Deleting an agent",
paragraphs: [
"Deleting an agent removes it from every list, but its history remains readable and every turn it produced stays on the Activity page with the version that ran it. Rules pinned to the agent stop matching. Skills, workers, knowledge and rules that were generated alongside it stay, still marked as generated for that agent.",
],
},
],
},
// ─── Chat ─────────────────────────────────────────────────────────────────
"/docs/guides/chat": {
title: "Chatting with Agents",
description:
"Conversations, streaming answers, attachments, citations, the trace, approvals, and saving an answer to a board.",
sections: [
{
heading: "The conversation view",
appPath: ["Inference", "Agents", "your agent", "Chat"],
paragraphs: [
"The chat view has a **conversation sidebar** on the left — every conversation you have had with this agent, newest first, with a button to start a new one — and the conversation itself on the right. Answers **stream** in token by token, and the composer accepts files as well as text.",
"A model's chat playground looks the same, minus the agent: no system prompt, knowledge, skills or tools, just you and the model.",
],
},
{
heading: "Anatomy of a turn",
diagram: {
kind: "flow",
nodes: [
{ label: "You send", sub: "a message, optionally with files attached" },
{
label: "The agent works",
sub: "retrieves, runs skills, calls tools — streamed as it happens",
},
{
label: "It may pause",
sub: "to ask your approval or a clarifying question",
},
{
label: "You receive",
sub: "the answer, its citations, and the full trace",
},
],
},
diagramCaption:
"Every turn is recorded with the agent version that produced it and the rules that ran on it, whether it completed, was blocked, or errored.",
},
{
heading: "Attachments",
paragraphs: [
"Attach files to a message from the composer. Uploaded files are stored and listed so they can be attached again later, and the agent can read them for that turn. Attachments are shown on the message they were sent with.",
],
},
{
heading: "Citations",
paragraphs: [
"When an answer draws on your knowledge bases or the web, it cites its sources inline as `[S1]`, `[S2]` and so on. Each citation resolves to the document, page and passage it came from — or the web page it read — so a claim can be checked against its evidence rather than taken on trust.",
],
},
{
heading: "The trace",
paragraphs: [
"Expand any answer to see what the agent did to produce it, grouped by stage: the **input gate**, **reconnaissance**, **planning**, **knowledge retrieval** (internal, external and tool), **synthesis**, **memory recall** and **store**, the **quality evaluator**, and the **policy** and **audit** rules that ran. Each skill node shows its inputs, outputs and token spend. The same trace is what the Activity page shows for the turn.",
],
},
{
heading: "Approvals",
paragraphs: [
"A run can pause before it finishes and hand control to you. When it does, the conversation shows an **approval request** — the proposed answer, waiting for a decision — or a **clarification request**. Approve to continue, or reject with feedback that the agent takes into account and tries again. Nothing runs while the turn is waiting on you, and the wait is not counted against the model's latency.",
],
callout: {
tone: "info",
title: "On our roadmap",
text: "The execution engine and the chat both support the pause. A setting that lets you require approval per agent or per skill node is not exposed yet, so today a run only pauses where the platform itself asks it to.",
},
},
{
heading: "Blocked turns",
paragraphs: [
"If an Access or Input rule blocks a request, the turn is refused before it reaches a model and the conversation shows the rule's message. If an Output rule redacts a response, what you see is the redacted text. Both are recorded on the Governance → Rules → Activity page with the rule and version that acted. See **Governance Activity & Reviews**.",
],
},
{
heading: "Response format",
paragraphs: [
"The composer can ask the model to answer in a structured format such as JSON. When set, the model is instructed to respond in that format for the turn.",
],
},
{
heading: "Keeping an answer",
list: [
"**Save to dashboard** on any answer pins it to a board — as a **pinned message** tile on its own, or into a **saved messages** list — with a link back to the conversation.",
"**Message deep links** — every turn has a link that opens the chat on that exact message, scrolled to and highlighted. The Activity page and the governance log use the same link to open the turn they describe.",
],
},
{
callout: {
tone: "tip",
title: "Override the model for one conversation",
text: "The model picker in the chat runs this conversation on a different model without editing the agent. The agent's own model is unchanged for everyone else.",
},
},
],
},
// ─── Knowledge ────────────────────────────────────────────────────────────
"/docs/guides/knowledge": {
title: "Knowledge & Retrieval",
description:
"Sources and repositories, how documents become retrievable context, indexing, the retrieval pipeline and citations.",
sections: [
{
heading: "Two tabs",
appPath: ["Knowledge"],
paragraphs: [
"The Knowledge page has two tabs. **Sources** are the individual knowledge bases — uploaded documents, knowledge graphs, crawled websites, connected databases and API sources — filterable by type and by origin. **Repositories** are the shelves that group sources, and a repository is what you grant to an agent.",
],
diagram: {
kind: "tree",
root: { label: "Repository", sub: "granted to agents as a whole" },
branches: [
{ node: { label: "File source", sub: "uploaded documents" }, tags: ["PDF", "Office", "text"] },
{ node: { label: "Web source", sub: "crawled from URLs" }, tags: ["crawl depth"] },
{ node: { label: "Graph source", sub: "entities & relationships" }, tags: ["explore"] },
{ node: { label: "Database / API source" }, tags: ["connection", "endpoint"] },
],
},
diagramCaption:
"A source can belong to more than one repository. A source in no repository is flagged on the Overview page, because no agent can retrieve from it yet.",
},
{
heading: "Source types",
appPath: ["Knowledge", "Sources", "New Knowledge Source"],
table: {
headers: ["Type", "What you provide", "How it is used"],
plainFirstColumn: true,
rows: [
[
"File upload",
"Documents, uploaded now or added over time, organised into folders.",
"Parsed, chunked, embedded and indexed for semantic and keyword search.",
],
[
"Web / URL",
"One or more URLs and a crawl depth.",
"Pages are fetched and indexed like documents.",
],
[
"Database",
"A connection string and a query.",
"Rows are read through the configured query.",
],
[
"API",
"An endpoint URL, with an optional auth header name and value.",
"The endpoint is read on retrieval.",
],
[
"Knowledge graph",
"Entities and the relationships between them.",
"Walked at retrieval time; entity names also seed keyword searches over your documents.",
],
],
},
},
{
paragraphs: [
"Every source has a name, a description, an icon and colour, and an owner. A source's page shows its type, its configuration (for web, database and API sources), a graph canvas (for graph sources), and — for file sources — its documents.",
],
},
{
heading: "How documents become context",
diagram: {
kind: "flow",
nodes: [
{ label: "Upload", sub: "stored securely, indexing queued" },
{ label: "Parse & chunk", sub: "PDF and Office files read as text; 512-token chunks" },
[
{ label: "Vector index", sub: "semantic + keyword search" },
{ label: "Knowledge graph", sub: "entities & relationships" },
],
{ label: "Agent retrieval", sub: "passages and facts, cited as [S#]" },
],
},
diagramCaption:
"Each owner's documents are indexed into an isolated store, so retrieval never crosses organisational boundaries.",
},
{
heading: "Managing documents",
appPath: ["Knowledge", "Sources", "a file source"],
paragraphs: [
"A file source's **Documents** panel is a small file manager. Create **folders** and move documents between them, **preview** a document, **download** it, or **delete** it. Each document shows its **indexing status**: pending, indexed with its chunk count, or failed with the error on hover.",
"**Reindex** a single document from its row, or use the panel's button to reindex only the documents that are not yet searchable, or to rebuild the whole index. Reindexing re-reads the stored file and runs the same parse, chunk, embed and index steps.",
],
},
{
callout: {
tone: "tip",
title: "A named file can always be found",
text: "Ask an agent about a document by name — original name, different casing, missing extension, a close misspelling — and it resolves the file, searches inside it, and includes the document itself for whole-document questions. A file that is uploaded but not yet indexed is read on demand, and a name that matches nothing is reported as not found rather than guessed at.",
},
},
{
heading: "Repositories",
appPath: ["Knowledge", "Repositories"],
paragraphs: [
"A repository groups sources into one retrieval scope. Create one, add sources to it from its page, and attach it to agents from their Knowledge tab. Agents are only ever granted **whole repositories**: at run time the platform expands each grant to its member sources and deduplicates, so the same source in two attached repositories is searched once.",
"Combine related sources — product documentation and support transcripts, say — into one repository for an agent that needs both, and keep a sensitive source in a repository only the agents that need it are granted.",
],
},
{
heading: "Generating a knowledge setup",
paragraphs: [
"From either tab, **Describe what an agent needs to know** and the platform proposes a set of named, typed sources — and, from the Repositories tab, a repository to group them. Every proposed source is a **stub**: it arrives with a name, a description and a type, and **no URL, connection string or endpoint**, because a model must never invent where to fetch data from. You add those afterwards, on each source's page. See **Generative Setup & Provenance**.",
],
},
{
heading: "How retrieval works",
paragraphs: [
"When an agent retrieves from its repositories, the request goes through a pipeline tuned for grounded answers rather than a single similarity search:",
],
diagram: {
kind: "stack",
bands: [
{
node: { label: "Query planning", sub: "the question is expanded into several searches, and documents named in it are targeted directly" },
},
{
node: { label: "Graph retrieval", sub: "graph sources are walked for related entities; their names seed keyword searches" },
},
{
node: { label: "Hybrid search", sub: "semantic and keyword searches run over every source and are fused by rank" },
},
{
node: { label: "Rerank", sub: "the best candidates are re-ordered by relevance to the question" },
},
{
node: { label: "Expand & pack", sub: "neighbouring chunks are merged around each hit and the evidence is packed to a token budget with stable [S#] ids" },
},
],
},
diagramCaption:
"When the pipeline finds little, the agent can search again itself for what is missing. When it names a document, that document is searched in its own pass and never crowded out by other sources.",
},
{
heading: "The knowledge tools an agent has",
paragraphs: [
"Beyond the pipeline, every agent with knowledge attached has four small tools it can call on demand — during a skill node, for example, to fetch a detail the evidence lacks:",
],
table: {
headers: ["Tool", "What it does"],
rows: [
["search_knowledge", "Semantic and keyword search across attached sources, optionally narrowed to one."],
["read_document", "The full parsed text of one document, by exact or approximate name."],
["list_documents", "File names, folders, page and chunk counts and indexing status."],
["explore_graph", "Entities and relationships around a named entity in graph sources."],
],
},
},
{
heading: "Citations",
paragraphs: [
"Every passage and graph fact the agent used carries a stable id — `S1`, `S2` and so on — that appears inline in the answer and resolves in the chat to the source, document, page and passage behind it. Web pages the agent read are cited the same way, after the knowledge citations.",
],
},
{
heading: "Tuning retrieval",
paragraphs: [
"Retrieval has defaults that suit most knowledge bases. An agent's configuration can override them — how many passages to keep per source, how far to expand around a hit, the token budget for evidence, and whether retrieval runs as a deterministic pipeline, an agent-driven search, or the hybrid of the two. A repository grant can also carry per-grant overrides that apply to every source in it.",
],
},
{
heading: "Retention & deletion",
paragraphs: [
"Deleting a document removes it and its index entries. Deleting a source removes everything in it and takes it out of every repository. Deleting a repository leaves its sources in place. Each of these is recorded in the resource's history, which outlives the resource. See the Privacy Policy for how CHAIN-R handles data on your behalf more broadly.",
],
},
],
},
// ─── Skills ───────────────────────────────────────────────────────────────
"/docs/guides/skills": {
title: "Skills & Skill Graphs",
description:
"Skillsets, skills, the graph builder, workers, bindings, conditional edges and the test bench.",
sections: [
{
heading: "Skillsets and skills",
appPath: ["Inference", "Skillsets"],
paragraphs: [
"A **skill** is a packaged, reusable behaviour: a graph of nodes that runs inside an agent's pipeline when the planner decides it is needed. A **skillset** is a named bundle of skills, and skillsets — not individual skills — are what you attach to an agent. The Skillsets tab lists your bundles; **Skills** beneath it lists the graphs themselves.",
"A skillset's page lets you add and remove member skills. An agent's **Skillsets** tab shows the skillsets it has and the effective skills they resolve to.",
],
},
{
heading: "Creating a skill",
appPath: ["Inference", "Skillsets", "Skills", "New Skill"],
paragraphs: [
"Start from a **template** — a ready-made graph such as request triage that you can adapt — or build a **custom** graph from scratch. Either way the skill gets a name, a description and tags, and opens in the graph builder.",
"A skillset can also be **generated** from a description of what its skills should let an agent do. The proposal is shown as a diff of what will be created, and it bundles skills only.",
],
},
{
heading: "The shape of a skill graph",
diagram: {
kind: "flow",
nodes: [
{ label: "Skill inputs", sub: "typed values from the caller" },
{ label: "Worker node", sub: "a model reasons over its bound inputs" },
[
{ label: "Tool node", sub: "a deterministic call — no model" },
{ label: "Transform node", sub: "reshape state — no model" },
],
{ label: "Skill outputs", sub: "projected from final state" },
],
},
diagramCaption:
"Edges carry data from node to node. A conditional edge chooses the next node from a value already in state, so branching costs no model call.",
},
{
heading: "Node types",
table: {
headers: ["Node", "What it does", "Calls a model?"],
plainFirstColumn: true,
rows: [
[
"Worker",
"The reasoning unit: a system prompt, a model, an optional toolset and a typed interface. Its bound inputs are presented to the model, and — when it declares outputs — its answer is parsed and validated against them, so downstream nodes can address individual fields.",
"Yes",
],
[
"Tool",
"One call to a built-in tool (web search, page read, calculation, time) with arguments bound from state.",
"No",
],
[
"Transform",
"A pure state operation: template text, merge values, select a field, compose an object, parse JSON, or set a literal.",
"No",
],
],
},
},
{
heading: "Workers",
paragraphs: [
"Workers have no page of their own: they are configured on the node that uses them, inside the graph builder. A worker declares an **input schema** and an **output schema** as typed fields — string, number, integer, boolean, enum, array or object — with descriptions, defaults and whether each is required. Inputs are validated and coerced before the model sees them; outputs, when declared, turn the worker into a structured worker whose answer is checked against the schema, repaired once if it does not parse, and never allowed to silently break the graph.",
"The built-in **request classifier** is a reference structured worker you can copy from.",
],
},
{
heading: "Bindings and the variable namespace",
paragraphs: [
"Every binding, template and condition in a skill reads from one namespace: the user's task text as `input`, the skill's own declared inputs, every node's output under its output key, and each completed node's full result under the node's id — so `classify.category` addresses one field of a structured worker's answer. Paths are dotted and may index into lists.",
"A binding that is exactly one placeholder keeps the value's type — numbers stay numbers, objects stay objects. Anything else is a text template. A worker input that is not bound explicitly is filled from a same-named variable automatically.",
],
},
{
heading: "Conditional edges",
paragraphs: [
"A node's outgoing edges are either all unconditional — a fan-out — or governed by one routing form: **branches**, each with a predicate over state and a default; a **route field**, where the value of one output field names the next node; or a legacy **router** worker that picks a key. Predicates compare, test membership, match patterns and check emptiness, and compose with all, any and not. A predicate that cannot be evaluated is simply false, so the default applies.",
],
},
{
heading: "The graph builder",
appPath: ["Inference", "Skillsets", "Skills", "your skill", "Graph"],
list: [
"**Canvas** — drag nodes, draw edges, zoom and pan. A node's badge shows its type and role.",
"**Node panel** — for a worker: its interface, behaviour (prompt template and bound inputs) and per-node overrides; for a tool: the tool and its arguments; for a transform: the operation and its fields.",
"**Edge panel** — the routing form and, for branches, each branch's predicate and the default.",
"**Per-node overrides** — pin a node to a specific **model**, overriding what the agent would otherwise give it.",
"**Interface** — the skill's own typed inputs (seeded from the caller) and outputs (projected from final state when the run ends).",
],
},
{
heading: "Validation",
paragraphs: [
"A graph is validated every time it is saved: node ids must be identifiers, every edge and branch target must exist, every variable a binding, argument, transform, condition or output references must resolve, no node may reference its own output, and every node must be reachable. An invalid graph is refused with a message naming the node and the variable, rather than saved and left to fail at run time.",
],
},
{
heading: "The test bench",
paragraphs: [
"A skill's page has a **test bench** that runs the skill standalone — outside any agent — with values for its inputs. You see the run's outputs, its final state and the trace, which is the quickest way to check a graph before attaching its skillset to an agent. Test-bench runs are governed and recorded like any other execution.",
],
},
{
callout: {
tone: "info",
title: "Skills run inside the agent pipeline",
text: "When an agent has a skillset attached, the planning stage decides which skill nodes to run for a given turn and hands them the retrieved evidence read-only. A skill is not a separate agent; it is the middle of the same run.",
},
},
],
},
// ─── Tools & MCP ──────────────────────────────────────────────────────────
// The address stays /tools-mcp so existing links resolve; MCP servers are
// not available in this release, so the page says they are coming soon.
"/docs/guides/tools-mcp": {
title: "Tools",
description:
"The built-in tools every agent has. MCP servers, for connecting agents to your own tools, are coming soon.",
sections: [
{
heading: "Two kinds of tool",
paragraphs: [
"An agent reaches the world through two kinds of tool, and neither needs setting up.",
],
diagram: {
kind: "tree",
root: { label: "An agent's tools" },
branches: [
{
node: { label: "Built-in tools", sub: "every agent, automatically" },
tags: ["web search", "page read", "calculate", "current time"],
},
{
node: { label: "Knowledge tools", sub: "when knowledge is attached" },
tags: ["search", "read document", "list documents", "explore graph"],
},
],
},
diagramCaption:
"The agent's Tools tab lists its built-in tools; knowledge tools come with the repositories it is granted.",
},
{
heading: "Built-in tools",
appPath: ["Inference", "Agents", "your agent", "Tools"],
table: {
headers: ["Tool", "What it does"],
rows: [
["web_search", "Searches the web and returns ranked results with citations. Subject to a domain policy, so search can be limited to approved publishers."],
["url_fetch", "Reads the main content of a web page or document — typically after a search. Inherits the search tool's domain policy."],
["calculate", "Evaluates an arithmetic expression exactly, instead of leaving it to the model."],
["current_time", "The current date and time, so an agent never guesses it."],
],
},
},
{
paragraphs: [
"Built-in tools are bound to every agent by the platform, so there is nothing to list, attach or configure. Which ones a given turn actually used is visible in the turn's trace and on the Stats page under Tool Usage.",
],
},
{
heading: "MCP servers",
paragraphs: [
"The **Model Context Protocol** is an open standard for exposing tools to models. Connecting agents to MCP servers you run or subscribe to — a file store, a search index, a database, a developer tool, a mailbox — and bundling them into **toolkits** is coming soon.",
],
},
{
callout: {
tone: "info",
title: "Coming soon",
text: "MCP servers and toolkits are not available in this release, so an agent cannot be connected to one yet. Until then, every agent has the built-in tools above and answers from the knowledge it is granted.",
},
},
{
callout: {
tone: "warning",
title: "Tools act; rules govern the turn",
text: "A tool call is part of the governed turn: Input rules ran on the prompt that led to it, Output rules run on the answer that follows, and the call appears in the trace with its arguments and result. A rule cannot yet veto an individual tool call.",
},
},
],
},
};
|