Repository navigation
Open
Labels
help wantedExtra attention is needed
Description
The site's /tools and /agents pages no longer describe the product, and they were last refreshed in May 2025. This issue replaces #63 and #86, which asked for another refresh.
The problem
/toolscomes fromsrc/data/tools.json. It lists 137 tools under the Pythonkagent.tools.*provider IDs, a format kagent no longer uses. The current tool server is documented indocs-site/content/kagent/0.x/resources/tools-ecosystem.mdanddocs-site/content/kagent/1.x/reference/tools-ecosystem.md./agentscomes fromsrc/data/agents.json. It lists 8 agents. kagent v0.10.1 ships 10 agent charts (helm/agents/), and 1.x ships no bundled agents.- No script generates either file, so any refresh starts drifting again immediately.
Scope
Remove the pages instead of refreshing them.
- Delete
src/app/tools/,src/app/agents/,src/data/tools.*,src/data/agents.*,src/components/agent-card.tsx, andsrc/components/category-card.tsx, after checking that nothing else imports them. - Repoint the remaining links at
/docs/kagent/0.x/resources/tools-ecosystem. They are insrc/components/navbar.tsx(Tools and Agents entries),src/components/footer.tsx, andsrc/components/key-components.tsx(home page cards). Drop the Agents entry instead of repointing it, unless a fitting 0.x page exists. - In
next.config.mjs, add permanent redirects for/tools,/tools/:categoryId,/agents, and/agents/:agentId, placed above the catch-all redirect. - Remove the agent and tool routes from
scripts/sitemap.js. Remove thegetDynamicRoutes()blocks that readagents.jsonandtools.json, thetools/andagents/entries inDYNAMIC_PATTERNS_TO_EXCLUDE, and the top-levelrequireofsrc/lib/getToolCategoryId. When the JSON files are missing, the script only logs warnings. IfgetToolCategoryId.jsis deleted while therequireremains, every build fails. Then regeneratepublic/sitemap.xml.
Interaction with #521
Link to 0.x only, not 1.x. Pointing site navigation at 1.x before GA is what #521 holds. #521 lists src/app/agents/[agentId]/page.tsx:110 as a link to fix at GA. Once this issue lands, that page no longer exists, so tick or remove that item in #521. The GA cutover then moves the new redirect targets to 1.x.
Done when
-
/toolsand/agentsand their subpaths redirect to a live docs page. - The navbar, footer, and home page contain no links to the removed pages.
- The sitemap no longer lists the removed URLs.
-
npm run buildpasses, and the link checker reports no new broken links. - Hold until GA: repoint kagent.dev navigation from 0.x to 1.x #521 reflects the removed agent page.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is needed
Activity
MarcBasas commentedon Oct 24, 2026
Hello, is this still open for contributions? I'd like to pick up retiring the /tools and /agents pages if nobody else is on it.
Rachael-Graham commentedon Nov 3, 2026
Absolutely! thanks @MarcBasas I've assigned you to it.