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: add Templates showcase page with card grid

Sushmithamallesh9f14f2d73de9
diff --git a/docs/components/template-card.tsx b/docs/components/template-card.tsx
new file mode 100644
index 000000000..168d21afd
--- /dev/null
+++ b/docs/components/template-card.tsx
@@ -0,0 +1,83 @@
+'use client';
+
+import Link from 'next/link';
+import Image from 'next/image';
+import { ExternalLink } from 'lucide-react';
+
+interface TemplateCardProps {
+ title: string;
+ description: string;
+ href: string;
+ image?: string;
+}
+
+export function TemplateCard({
+ title,
+ description,
+ href,
+ image,
+}: TemplateCardProps) {
+ const isVideo = image?.endsWith('.mp4') || image?.endsWith('.webm');
+
+ if (image) {
+ return (
+ <Link
+ href={href}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="flex flex-col sm:flex-row items-start gap-8 rounded-xl border border-fd-border bg-fd-card p-8 transition-all hover:border-[color-mix(in_srgb,var(--composio-orange)_50%,transparent)] [text-decoration:none]"
+ >
+ <div className="flex flex-col gap-3 sm:w-1/2 shrink-0 pt-2">
+ <h3 className="text-xl font-bold text-fd-foreground">{title}</h3>
+ <p className="text-sm text-fd-muted-foreground leading-relaxed">{description}</p>
+ </div>
+ <div className="overflow-hidden rounded-xl shadow-lg sm:w-1/2 max-w-sm">
+ {isVideo ? (
+ <video
+ src={image}
+ autoPlay
+ loop
+ muted
+ playsInline
+ className="w-full h-auto object-cover"
+ />
+ ) : (
+ <Image
+ src={image}
+ alt={`${title} preview`}
+ width={600}
+ height={340}
+ className="w-full h-auto object-cover"
+ unoptimized={image.endsWith('.gif')}
+ />
+ )}
+ </div>
+ </Link>
+ );
+ }
+
+ return (
+ <Link
+ href={href}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="flex flex-col rounded-xl border border-fd-border bg-fd-card overflow-hidden transition-all hover:border-[color-mix(in_srgb,var(--composio-orange)_50%,transparent)] [text-decoration:none]"
+ >
+ <div className="flex items-center justify-between p-5 pb-3">
+ <h3 className="text-base font-semibold text-fd-foreground">{title}</h3>
+ <ExternalLink className="h-4 w-4 shrink-0 text-fd-muted-foreground" />
+ </div>
+ <div className="flex flex-col gap-3 p-5 pt-0 flex-1">
+ <p className="text-sm text-fd-muted-foreground leading-relaxed">{description}</p>
+ </div>
+ </Link>
+ );
+}
+
+export function TemplateGrid({ children, columns = 2 }: { children: React.ReactNode; columns?: 1 | 2 }) {
+ return (
+ <div className={`not-prose grid grid-cols-1 gap-5 ${columns === 2 ? 'sm:grid-cols-2' : ''}`}>
+ {children}
+ </div>
+ );
+}
diff --git a/docs/content/examples/meta.json b/docs/content/examples/meta.json
index 78c2f9a5b..851978bf1 100644
--- a/docs/content/examples/meta.json
+++ b/docs/content/examples/meta.json
@@ -2,6 +2,7 @@
"title": "Examples",
"root": true,
"pages": [
+ "templates",
"---Getting Started---",
"fast-api",
"hono",
diff --git a/docs/content/examples/templates.mdx b/docs/content/examples/templates.mdx
new file mode 100644
index 000000000..ce6effd11
--- /dev/null
+++ b/docs/content/examples/templates.mdx
@@ -0,0 +1,63 @@
+---
+title: Templates
+description: Open-source templates and starter projects built with Composio
+---
+
+Clone, customize, and deploy. Each template is a fully working project you can use as a starting point.
+
+<TemplateGrid columns={1}>
+ <TemplateCard
+ title="TrustClaw"
+ description="Secure AI assistant that automates tasks across 1000+ apps with OAuth authentication and sandboxed execution."
+ href="https://www.trustclaw.app/"
+ image="/images/templates/trustclaw.mp4"
+ />
+ <TemplateCard
+ title="Data Analyst Agent"
+ description="Multi-framework AI agent that connects to HubSpot, Google Sheets, and Attio to analyze data, generate insights, and create visualizations."
+ href="https://github.com/ComposioHQ/data-analyst-agent"
+ image="/images/templates/data-analyst-agent.gif"
+ />
+ <TemplateCard
+ title="Open ChatGPT Atlas"
+ description="Research and analyze topics with AI-powered deep research capabilities."
+ href="https://github.com/ComposioHQ/open-chatgpt-atlas"
+ image="/images/templates/open-chatgpt-atlas.gif"
+ />
+ <TemplateCard
+ title="Open Gamma"
+ description="AI agent that generates presentation slides in Google Slides from natural language prompts."
+ href="https://github.com/ComposioHQ/open-gamma"
+ image="/images/templates/open-gamma.mp4"
+ />
+</TemplateGrid>
+
+## Direct Tool Execution
+
+<TemplateGrid>
+ <TemplateCard
+ title="Gmail Agent with FastAPI"
+ description="Build and serve a Gmail AI agent using Composio's managed authentication, OpenAI, and FastAPI."
+ href="https://github.com/ComposioHQ/composio-fastapi"
+ />
+ <TemplateCard
+ title="Perplexity Email Assistant"
+ description="Email assistant that listens for incoming emails via triggers and automatically executes instructions using Tool Router, LangGraph, and MCP."
+ href="https://github.com/ComposioHQ/open-perplexity-email-assistant"
+ />
+ <TemplateCard
+ title="Personalised Onboarding Agent"
+ description="Intelligent agent that researches users by analyzing their Gmail data and web presence, then engages in personalized conversations."
+ href="https://github.com/ComposioHQ/open-poke"
+ />
+ <TemplateCard
+ title="Open Gumloop"
+ description="Visual drag-and-drop agent workflow builder for creating and executing AI-powered pipelines using a node-based interface."
+ href="https://github.com/composiohq/open-gumloop"
+ />
+ <TemplateCard
+ title="Open Email Agent"
+ description="Chat-based email assistant that lets you search, read, reply to, and manage Gmail using natural language."
+ href="https://github.com/ComposioHQ/open-email-assistant"
+ />
+</TemplateGrid>
diff --git a/docs/lib/source.ts b/docs/lib/source.ts
index ef6c8f2da..a0de4b977 100644
--- a/docs/lib/source.ts
+++ b/docs/lib/source.ts
@@ -201,8 +201,19 @@ export function mdxToCleanMarkdown(content: string): string {
);
result = result.replace(/<\/ToolTypeOption>/g, '');
- // Remove wrapper components (Cards, ProviderGrid, Tabs, Frame, div, QuickstartFlow, IntegrationTabs, Accordions, ToolTypeFlow, ToolkitsLanding, etc.)
- result = result.replace(/<\/?(Cards|ProviderGrid|Tabs|Frame|div|QuickstartFlow|IntegrationTabs|Accordions|ToolTypeFlow|ToolkitsLanding)[^>]*>/g, '');
+ // Convert TemplateCard to markdown link with description
+ result = result.replace(
+ /<TemplateCard[\s\S]*?title="([^"]*)"[\s\S]*?description="([^"]*)"[\s\S]*?href="([^"]*)"[\s\S]*?\/>/g,
+ '- [$1]($3): $2'
+ );
+ // TemplateCard with href before title
+ result = result.replace(
+ /<TemplateCard[\s\S]*?href="([^"]*)"[\s\S]*?title="([^"]*)"[\s\S]*?description="([^"]*)"[\s\S]*?\/>/g,
+ '- [$2]($1): $3'
+ );
+
+ // Remove wrapper components (Cards, ProviderGrid, Tabs, Frame, div, QuickstartFlow, IntegrationTabs, Accordions, ToolTypeFlow, ToolkitsLanding, TemplateGrid, etc.)
+ result = result.replace(/<\/?(Cards|ProviderGrid|Tabs|Frame|div|QuickstartFlow|IntegrationTabs|Accordions|ToolTypeFlow|ToolkitsLanding|TemplateGrid)[^>]*>/g, '');
// Remove remaining self-closing JSX tags (including those with JSX expressions)
result = result.replace(/<[A-Z][a-zA-Z]*[\s\S]*?\/>/g, '');
diff --git a/docs/mdx-components.tsx b/docs/mdx-components.tsx
index 402113f72..ca0db6a14 100644
--- a/docs/mdx-components.tsx
+++ b/docs/mdx-components.tsx
@@ -17,6 +17,7 @@ import { Figure } from '@/components/figure';
import { StepTitle } from '@/components/step-title';
import { Video } from '@/components/video';
import { CapabilityCard, CapabilityList } from '@/components/capability-card';
+import { TemplateCard, TemplateGrid } from '@/components/template-card';
import { ToolkitsLanding } from '@/components/toolkits/toolkits-landing';
import { Mermaid } from '@/components/mermaid';
import {
@@ -79,6 +80,8 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
Video,
CapabilityCard,
CapabilityList,
+ TemplateCard,
+ TemplateGrid,
ToolkitsLanding,
Mermaid,
StepTitle,
diff --git a/docs/public/images/templates/data-analyst-agent.gif b/docs/public/images/templates/data-analyst-agent.gif
new file mode 100644
index 000000000..04dd28334
Binary files /dev/null and b/docs/public/images/templates/data-analyst-agent.gif differ
diff --git a/docs/public/images/templates/open-chatgpt-atlas.gif b/docs/public/images/templates/open-chatgpt-atlas.gif
new file mode 100644
index 000000000..a10c9a83d
Binary files /dev/null and b/docs/public/images/templates/open-chatgpt-atlas.gif differ
diff --git a/docs/public/images/templates/open-gamma.mp4 b/docs/public/images/templates/open-gamma.mp4
new file mode 100644
index 000000000..8eadcc6b3
Binary files /dev/null and b/docs/public/images/templates/open-gamma.mp4 differ
diff --git a/docs/public/images/templates/trustclaw.mp4 b/docs/public/images/templates/trustclaw.mp4
new file mode 100644
index 000000000..982ac5584
Binary files /dev/null and b/docs/public/images/templates/trustclaw.mp4 differ