Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: replace hardcoded "1,000+" toolkit counts with the live catalog count

Tridhatri Vallamkondu4352f210dcab
diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx
index bf78d106b..7592d0296 100644
--- a/docs/app/layout.tsx
+++ b/docs/app/layout.tsx
@@ -8,6 +8,7 @@ import { PostHogProvider } from '@/components/posthog-provider';
import CustomSearchDialog from '@/components/custom-search-dialog';
import { ScrollReset } from '@/components/scroll-reset';
import { source, referenceSource } from '@/lib/source';
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
const defaultLinkSlugs: { slug: string[]; source: typeof source }[] = [
{ slug: ['quickstart'], source },
@@ -24,16 +25,18 @@ const defaultLinks = defaultLinkSlugs.flatMap(({ slug, source: pageSource }) =>
return [{ title: page.data.title, description: page.data.description ?? '', href: page.url }];
});
+const SITE_DESCRIPTION = `Build AI agents with ${TOOLKIT_COUNT_LABEL} tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.`;
+
export const metadata: Metadata = {
title: {
default: 'Composio Docs',
template: '%s | Composio',
},
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
+ description: SITE_DESCRIPTION,
metadataBase: new URL('https://docs.composio.dev'),
openGraph: {
title: 'Composio Docs',
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
+ description: SITE_DESCRIPTION,
siteName: 'Composio Docs',
type: 'website',
images: ['https://og.composio.dev/api/og?title=Composio%20Docs'],
@@ -41,7 +44,7 @@ export const metadata: Metadata = {
twitter: {
card: 'summary_large_image',
title: 'Composio Docs',
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
+ description: SITE_DESCRIPTION,
images: ['https://og.composio.dev/api/og?title=Composio%20Docs'],
},
};
@@ -83,7 +86,7 @@ export default function Layout({ children }: LayoutProps<'/'>) {
'@id': 'https://docs.composio.dev/#website',
url: 'https://docs.composio.dev',
name: 'Composio Docs',
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
+ description: SITE_DESCRIPTION,
publisher: { '@id': 'https://composio.dev/#organization' },
},
{
diff --git a/docs/app/llms-full.txt/route.ts b/docs/app/llms-full.txt/route.ts
index fd8ac7300..f2b8f87b3 100644
--- a/docs/app/llms-full.txt/route.ts
+++ b/docs/app/llms-full.txt/route.ts
@@ -9,6 +9,7 @@ import {
} from '@/lib/source';
import { SESSION_GUARDRAILS } from '@/lib/llm-guardrails';
import { detectReferenceApiVersion } from '@/lib/api-version';
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
import {
formatKnowledgeDiscoveryLinks,
getLocalKnowledgeDiscoveryPaths,
@@ -165,7 +166,7 @@ export async function GET() {
]);
const results = [
- `# Composio Documentation\n\n> Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.${SESSION_GUARDRAILS}\n# Documentation\n`,
+ `# Composio Documentation\n\n> Composio powers ${TOOLKIT_COUNT_LABEL} toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.${SESSION_GUARDRAILS}\n# Documentation\n`,
...docsResults,
'\n# Knowledge Hub navigation\n',
knowledgeDiscoveryLinks,
diff --git a/docs/app/llms.txt/route.ts b/docs/app/llms.txt/route.ts
index 82fa03942..2a96c5eaa 100644
--- a/docs/app/llms.txt/route.ts
+++ b/docs/app/llms.txt/route.ts
@@ -6,6 +6,7 @@ import {
knowledgeBaseSource,
} from '@/lib/source';
import { detectReferenceApiVersion } from '@/lib/api-version';
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
import {
formatKnowledgeDiscoveryLinks,
getLocalKnowledgeDiscoveryPaths,
@@ -181,7 +182,7 @@ ${legacyReferencePages.map(formatPage).join('\n')}
const index = `# Composio Documentation
-> Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
+> Composio powers ${TOOLKIT_COUNT_LABEL} toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
> **For AI agents:** Route by intent. To build an application, start with [Quickstart](https://docs.composio.dev/docs/quickstart.md) or [Providers](https://docs.composio.dev/docs/providers.md) and use \`composio.create(user_id)\` + \`session.tools()\`. To use Composio from Codex or Claude Code without explicit MCP intent, install the [native agent plugin](https://docs.composio.dev/docs/agent-plugins.md). To connect an existing client over MCP, use [Composio Connect](https://docs.composio.dev/docs/composio-connect.md). When an application creates a session and needs MCP transport, use [Sessions via MCP](https://docs.composio.dev/docs/sessions-via-mcp.md). See any page's .md endpoint for full usage instructions.
diff --git a/docs/components/docs-hero-v2.tsx b/docs/components/docs-hero-v2.tsx
index cf346304b..f521a402f 100644
--- a/docs/components/docs-hero-v2.tsx
+++ b/docs/components/docs-hero-v2.tsx
@@ -1,3 +1,5 @@
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
+
export function DocsHeroV2() {
return (
<section className="py-10 sm:py-12">
@@ -8,7 +10,7 @@ export function DocsHeroV2() {
<p className="max-w-[620px] text-base leading-[1.6] text-fd-foreground/70 sm:text-lg">
Use Composio to discover tools, authenticate each user, and run
- actions across 1,000+ apps.
+ actions across {TOOLKIT_COUNT_LABEL} apps.
</p>
</div>
</section>
diff --git a/docs/components/home-features.tsx b/docs/components/home-features.tsx
index 61a961953..b97eb2fd9 100644
--- a/docs/components/home-features.tsx
+++ b/docs/components/home-features.tsx
@@ -3,6 +3,7 @@ import { ArrowUpRight } from 'lucide-react';
import type { ReactNode } from 'react';
import { AuthDiagram } from './home-auth-diagram';
import { MOCK_FADE_STYLE } from './home-shared';
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
const LOGO_CDN = 'https://logos.composio.dev/api';
// 10-col × 3-row grid: 29 recognizable toolkit logos plus a brand-tinted
@@ -40,7 +41,7 @@ export function HomeFeatures() {
<div className="grid grid-cols-1 gap-6 sm:auto-rows-fr sm:grid-cols-2">
<FeatureCard
title="Tools that resolve by intent."
- description="Smart tool search over 1000+ apps, surfaced just in time with the right scope."
+ description={`Smart tool search over ${TOOLKIT_COUNT_LABEL} apps, surfaced just in time with the right scope.`}
href="/docs/how-composio-works"
visual={<ToolkitsVisual />}
/>
@@ -58,7 +59,7 @@ export function HomeFeatures() {
/>
<FeatureCard
title="Run arbitrary code, safely."
- description="A sandbox pre-wired with your user's connected accounts and 1000+ tools."
+ description={`A sandbox pre-wired with your user's connected accounts and ${TOOLKIT_COUNT_LABEL} tools.`}
href="/docs/sandbox"
visual={<SandboxVisual />}
/>
diff --git a/docs/components/home-resources.tsx b/docs/components/home-resources.tsx
index 27655e0f8..ff64c7dd0 100644
--- a/docs/components/home-resources.tsx
+++ b/docs/components/home-resources.tsx
@@ -9,6 +9,7 @@ import {
Wrench,
} from 'lucide-react';
import type { ReactNode } from 'react';
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
const RESOURCES = [
{
@@ -38,7 +39,7 @@ const RESOURCES = [
{
icon: <Blocks aria-hidden="true" className="size-4" />,
title: 'Toolkits',
- description: 'Browse the 1000+ apps your agent can act on.',
+ description: `Browse the ${TOOLKIT_COUNT_LABEL} apps your agent can act on.`,
href: '/toolkits',
},
{
diff --git a/docs/lib/toolkit-count.ts b/docs/lib/toolkit-count.ts
new file mode 100644
index 000000000..cf1223a17
--- /dev/null
+++ b/docs/lib/toolkit-count.ts
@@ -0,0 +1,11 @@
+import toolkitsData from '@/public/data/toolkits-list.json';
+
+// Server-only: reads the full toolkit catalog at build time to derive a
+// rounded-down, human-friendly count for marketing copy (hero, metadata,
+// llms.txt). Never import this from a "use client" module — that would ship
+// the ~1,300-row JSON array to the browser just to read its length.
+const roundedToolkitCount = Math.floor(toolkitsData.length / 100) * 100;
+
+// Pin the locale so the grouping separator is a comma regardless of the build
+// host's locale ("1,300+", never "1.300+" or "1 300+").
+export const TOOLKIT_COUNT_LABEL = `${roundedToolkitCount.toLocaleString('en-US')}+`;