docs: rename agent → fleet site-wide + add template docs#105
Merged
Conversation
The product's deployable unit is now a "fleet" (matches the code: core.fleets, /v1/fleets, fleet_id, fleet-key). This brings the docs into line. - rename agents/ → fleets/; docs.json nav relabeled (Fleets, Fleet keys, Fleet bundles, …), API-reference operation paths corrected to /fleets (they were stale against the live OpenAPI), and /agents/* → /fleets/* redirects so old links don't 404 - prose sweep agent → fleet across 20+ pages; brand names (agentsfleet*), AGENTS.md, generic "host agent" coding-tool references, and changelog history left untouched - error-codes.mdx reconciled to src/agentsfleetd/errors/error_registry.zig: add the UZ-BUNDLE-001..006 section, fix UZ-EXEC-012/013 titles (Runner fleet init/run failed) - document the template flow: `agentsfleet templates`, `install --template <id>`, and `--name` for installing one template as several fleets mintlify validate + broken-links pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The site-wide sweep wrongly renamed generic "AI agent / host agent" (the coding tool that drives the CLI — Claude Code, Cursor, Amp, Codex) to "fleet", and the article-fix pass skipped cli/agentsfleet.mdx. Reverts: - cli/agentsfleet.mdx: "an fleet" → "a fleet" (4×) - cli/configuration.mdx: "external fleets (LangGraph, …)" → "external agents"; "detected AI fleet" → "detected AI agent" (@vercel/detect-agent host detection) - fleets/running.mdx: "host-fleet install skill" → "host-agent install skill" (matches the kept term in fleets/install.mdx) - fleets/tools.mdx: delegate "sub-fleet" → "sub-agent" (consistent with spawn's "subagent"; these are runtime sub-executions, not Fleet entities) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the docs site in line with the product: the deployable unit is a fleet now (matches the code —
core.fleets,/v1/fleets,fleet_id,fleet-key). The website already renamedAgents → Fleets; the docs were the straggler.What changed
Structure
agents/→fleets/(9 pages,git mv).docs.json: nav relabeled (Fleets, Fleet keys, Fleet bundles, Fleet messages/memories/events); API-reference operation paths corrected to/fleets— they were stale against the live OpenAPI (/agentsops no longer exist in the spec); new Fleet bundles group (GET /v1/fleets/bundles, snapshots);/agents/:slug → /fleets/:slugredirect so old URLs don't 404.Prose sweep — agent → fleet across 20+ pages. Deliberately kept:
agentsfleet*brand, theAGENTS.mdfilename, generic host-agent references (the coding tool — Claude Code / Cursor / Amp / Codex — that drives the CLI),UZ-AGT-*error codes, and changelog history (append-only, untouched).New content — the template flow:
agentsfleet templates,install --template <id>, and--namefor installing one template as several fleets. Newfleets/templates.mdxleads with the first-party catalogue.error-codes.mdx— reconciled tosrc/agentsfleetd/errors/error_entries*.zig: added the missingUZ-BUNDLE-001..006section (400/404/424/502/503/429), fixedUZ-EXEC-012/013titles ("Runner fleet init/run failed").Verification
make lint(mintlify validate + broken-links) passes.public/openapi.json; error codes/statuses/titles cross-checked against the Zig registry./review(structural + an independent adversarial pass) caught 6 generic-agent over-sweeps (an fleet,external fleets,AI fleet,host-fleet,sub-fleet) — all fixed in228b3af. Final whole-repo over-sweep scan is clean.Session notes
an→a) passes covered different file subsets, socli/agentsfleet.mdxgot the swap but not the grammar fix. The adversarial review cross-checked against live source and caught the residue.AGENTS.mdentities/API line was stale (agent//agents/core.agent_*); reconciled tofleet//fleets/core.fleet_*and pushed to dotfilesmaster.🤖 Generated with Claude Code
Greptile Summary
This PR renames the primary product unit from "agent" to "fleet" across 25 docs files, matching the renamed website and API (
/v1/fleets,fleet_id,fleet-key). It also adds new template documentation (fleets/templates.mdx) and reconcileserror-codes.mdxwith the live Zig error registry (addingUZ-BUNDLE-001..006, fixingUZ-EXEC-012/013titles).agents/directory is renamed tofleets/(9 pages), with a Mintlify redirect"/agents/:slug" → "/fleets/:slug"preserving old URLs. The changelog is deliberately left untouched (the redirect handles its historical/agents/links).docs.jsonis updated from stale/agentsoperation paths to the live/fleetspaths, and three new Fleet Bundle operations are added.Confidence Score: 4/5
Safe to merge — this is a docs-only rename with a properly configured redirect; no code paths are affected.
The rename is thorough and the redirect in docs.json correctly handles old /agents/:slug URLs. The one inconsistency — delegate and spawn still say "sub-agent"/"subagent" in the Fleet orchestration table while schedule and the section intro were updated — is a minor terminology mismatch that doesn't break navigation or mislead users about functionality.
fleets/tools.mdx — the delegate and spawn rows in the Fleet orchestration table still use "sub-agent"/"subagent".
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[PR: agent → fleet rename] --> B[docs.json] A --> C[agents/ directory] A --> D[Prose sweep ~20 pages] A --> E[New content] A --> F[error-codes.mdx] B --> B1[Nav groups renamed\nAgents → Fleets] B --> B2[API paths\n/agents → /fleets] B --> B3[Redirect added\n/agents/:slug → /fleets/:slug] B --> B4[Fleet Bundle group added\nGET /v1/fleets/bundles] C --> C1[git mv agents/ → fleets/\n9 pages] D --> D1[concepts.mdx\nbilling/ workspaces/\ncli/ quickstart/ memory/\napi-reference/introduction.mdx] E --> E1[fleets/templates.mdx\nCatalogue + --template flag\n+ --name override] F --> F1[UZ-BUNDLE-001..006 added] F --> F2[UZ-EXEC-012/013 titles fixed] F --> F3[UZ-AGENT-001 → UZ-FLEETKEY-001]%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% flowchart TD A[PR: agent → fleet rename] --> B[docs.json] A --> C[agents/ directory] A --> D[Prose sweep ~20 pages] A --> E[New content] A --> F[error-codes.mdx] B --> B1[Nav groups renamed\nAgents → Fleets] B --> B2[API paths\n/agents → /fleets] B --> B3[Redirect added\n/agents/:slug → /fleets/:slug] B --> B4[Fleet Bundle group added\nGET /v1/fleets/bundles] C --> C1[git mv agents/ → fleets/\n9 pages] D --> D1[concepts.mdx\nbilling/ workspaces/\ncli/ quickstart/ memory/\napi-reference/introduction.mdx] E --> E1[fleets/templates.mdx\nCatalogue + --template flag\n+ --name override] F --> F1[UZ-BUNDLE-001..006 added] F --> F2[UZ-EXEC-012/013 titles fixed] F --> F3[UZ-AGENT-001 → UZ-FLEETKEY-001]Prompt To Fix All With AI
Reviews (1): Last reviewed commit: "docs: fix agent→fleet over-sweeps caught..." | Re-trigger Greptile