Agent context index
Use this page to choose the smallest Teammately docs context package that can answer a product, workflow, object, troubleshooting, or code-assistance question. This page is about retrieval surfaces and source boundaries, not autonomous agent behavior policy.
Task intent
Select a context source before reading or summarizing Teammately docs. Agents should start with the smallest pack or retrieval query that matches the task, then load page-local context only when the answer needs exact wording.
The decision rule is conservative: load less context first, cite stable public pages, and stop before inferring product contracts from draft docs or internal file paths.
Decision checkpoint
| Agent task | Start with | Escalate only when... |
|---|---|---|
| Route a human to the right docs | /docs/llms.txt or machine maps | The user needs page-local wording. |
| Explain category or first path | /docs/llms-core.txt | A specific workflow page is needed. |
| Answer an operating question | /docs/llms-operating.txt or /api/docs/context | The answer depends on exact source confidence. |
| Explain object semantics | /docs/llms-reference.txt | Exact page retrieval is needed. |
| Diagnose a symptom | /docs/llms-recovery.txt | The symptom spans multiple artifacts. |
| Work through an MCP client | MCP search | Exact page or block Markdown is needed through fetch. |
| Build an index or audit | /docs/llms-full.txt | Full-corpus context is intentionally required. |
Required context
- Root map: /docs/llms.txt for the concise docs map and recommended loading strategy.
- Core pack: /docs/llms-core.txt for category, lifecycle, product boundaries, quickstart, and core model concepts.
- Operating pack: /docs/llms-operating.txt for task and workflow guidance.
- Reference pack: /docs/llms-reference.txt for object model and reference pages.
- Recovery pack: /docs/llms-recovery.txt for troubleshooting pages.
- Retrieval APIs: /api/docs/search, /api/docs/context, and /api/docs/page.
- Machine maps: /docs/tasks.json, /docs/objects.json, /docs/surfaces.json, and /docs/troubleshooting.json.
- Private Docs MCP:
https://docs-mcp.teammately.ai/mcp, withsearch,fetch, andlisttools after connection withdocs:readaccess.
Context pack strategy
- Start with /docs/llms.txt to understand the docs map and source-confidence policy.
- Use one focused pack: core for positioning, operating for workflows, reference for objects, or recovery for symptoms.
- Use /api/docs/context for query-scoped context when the task is narrow.
- Load /docs/<slug>/docs/llms-full.txt only when a specific page needs full context.
- Treat /docs/llms-full.txt as an intentional full-corpus dump for indexing or exhaustive review, not as the default context.
MCP retrieval strategy
- Call
searchwith the user's question and an optionalkindor product-area filter. - Read the returned search mode and build metadata. Semantic retrieval can fall back to lexical retrieval without making results invalid.
- Use cited
blockId,pageId, orslugwithfetchbefore quoting exact guidance or applying an instruction. - Use
listonly for navigation or filtered inventory; it is not a substitute for page content. - Treat AI Overview text as a cited routing aid. The referenced blocks and fetched page remain the evidence boundary.
The MCP resources teammately-docs://manifest, teammately-docs://docs/{slug}, and teammately-docs://blocks/{blockId} provide the same active corpus at manifest, page, and block granularity.
Agent answerability check
| Before answering, verify... | If not... |
|---|---|
| The cited page is stable and public. | Say the source boundary is not public rather than quoting draft files. |
| Source confidence matches the claim strength. | Downgrade the answer or ask for human confirmation. |
| The route answers the user's task without loading unrelated packs. | Use search or /api/docs/context before full-corpus context. |
| MCP overview claims resolve to returned block references. | Fetch the cited block or page before relying on exact wording. |
| The claim is not about API, auth, billing, compliance, retention, deployment, or provider handling unless a source-backed page says so. | State that the docs do not currently confirm the contract. |
Available routes
- /docs/<slug>.md: page-level markdown export.
- /docs/<slug>/docs/llms.txt: compact page-local context.
- /docs/<slug>/docs/llms-full.txt: page-local full context.
- /api/docs/manifest.json: stable public page metadata, source confidence, source refs, and related IDs.
- /api/docs/page?slug=quickstart: exact public page retrieval.
Allowed assumptions
- Stable public docs are the public source of truth for published guidance.
- Draft and removed pages are intentionally excluded from public routes and root context packs.
- Source confidence metadata tells the agent how strongly to treat a claim.
- Page-local routes are useful for exact wording; root packs are useful for routing and broad orientation.
Forbidden assumptions
- Do not load draft or removed docs from repository files as public facts.
- Do not treat /docs/llms-full.txt as mandatory for every answer.
- Do not infer public API, auth, rate-limit, compliance, deployment, billing, or integration guarantees from internal evidence paths.
- Do not collapse doctrine-backed positioning into code-backed behavior, or code-backed product behavior into public external contracts.
Related human docs
Related reference docs
Safe operating boundaries
Agents should answer from stable public pages and cite the page URL. If a needed claim is only draft, inferred, or absent from the context packs, say the source boundary is unconfirmed and ask for human confirmation.
When a task needs exact behavior, prefer /api/docs/page?slug=<slug> or page-local markdown over a broad pack. When a task needs a route into the docs, prefer /docs/llms.txt, focused packs, search, and machine maps before loading full-corpus context.
Source confidence
Docs-backed: this page describes routes and files implemented in the docs repository. The source_refs frontmatter lists the docs loaders, llms generators, and machine-readable route files.