@devries-cameron20 / composio Mirror · read-only / commits / 9f14f2d73
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 09:30 UTC

docs: add Templates showcase page with card grid

- Add TemplateCard and TemplateGrid components with side-by-side image/video layout for full-width cards - Add Templates page under Examples with 9 projects across two sections - Add TemplateCard conversion to mdxToCleanMarkdown for llms.txt output - Include media assets (GIFs, videos) for TrustClaw, Atlas, Gamma, and Data Analyst Agent Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmithamallesh committed Feb 15, 2026 at 23:39 UTC 9f14f2d73de9c5b8b1b0cba2e5eec8550b409a56
9 files changed +163 -2
docs/components/template-card.tsx new
+83
@@ -0,0 +1,83 @@
1 +'use client';
2 +
3 +import Link from 'next/link';
4 +import Image from 'next/image';
5 +import { ExternalLink } from 'lucide-react';
6 +
7 +interface TemplateCardProps {
8 + title: string;
9 + description: string;
10 + href: string;
11 + image?: string;
12 +}
13 +
14 +export function TemplateCard({
15 + title,
16 + description,
17 + href,
18 + image,
19 +}: TemplateCardProps) {
20 + const isVideo = image?.endsWith('.mp4') || image?.endsWith('.webm');
21 +
22 + if (image) {
23 + return (
24 + <Link
25 + href={href}
26 + target="_blank"
27 + rel="noopener noreferrer"
28 + 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]"
29 + >
30 + <div className="flex flex-col gap-3 sm:w-1/2 shrink-0 pt-2">
31 + <h3 className="text-xl font-bold text-fd-foreground">{title}</h3>
32 + <p className="text-sm text-fd-muted-foreground leading-relaxed">{description}</p>
33 + </div>
34 + <div className="overflow-hidden rounded-xl shadow-lg sm:w-1/2 max-w-sm">
35 + {isVideo ? (
36 + <video
37 + src={image}
38 + autoPlay
39 + loop
40 + muted
41 + playsInline
42 + className="w-full h-auto object-cover"
43 + />
44 + ) : (
45 + <Image
46 + src={image}
47 + alt={`${title} preview`}
48 + width={600}
49 + height={340}
50 + className="w-full h-auto object-cover"
51 + unoptimized={image.endsWith('.gif')}
52 + />
53 + )}
54 + </div>
55 + </Link>
56 + );
57 + }
58 +
59 + return (
60 + <Link
61 + href={href}
62 + target="_blank"
63 + rel="noopener noreferrer"
64 + 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]"
65 + >
66 + <div className="flex items-center justify-between p-5 pb-3">
67 + <h3 className="text-base font-semibold text-fd-foreground">{title}</h3>
68 + <ExternalLink className="h-4 w-4 shrink-0 text-fd-muted-foreground" />
69 + </div>
70 + <div className="flex flex-col gap-3 p-5 pt-0 flex-1">
71 + <p className="text-sm text-fd-muted-foreground leading-relaxed">{description}</p>
72 + </div>
73 + </Link>
74 + );
75 +}
76 +
77 +export function TemplateGrid({ children, columns = 2 }: { children: React.ReactNode; columns?: 1 | 2 }) {
78 + return (
79 + <div className={`not-prose grid grid-cols-1 gap-5 ${columns === 2 ? 'sm:grid-cols-2' : ''}`}>
80 + {children}
81 + </div>
82 + );
83 +}
docs/content/examples/meta.json
+1
@@ -2,6 +2,7 @@
2 "title": "Examples",
3 "root": true,
4 "pages": [
5 + "templates",
6 "---Getting Started---",
7 "fast-api",
8 "hono",
docs/content/examples/templates.mdx new
+63
@@ -0,0 +1,63 @@
1 +---
2 +title: Templates
3 +description: Open-source templates and starter projects built with Composio
4 +---
5 +
6 +Clone, customize, and deploy. Each template is a fully working project you can use as a starting point.
7 +
8 +<TemplateGrid columns={1}>
9 + <TemplateCard
10 + title="TrustClaw"
11 + description="Secure AI assistant that automates tasks across 1000+ apps with OAuth authentication and sandboxed execution."
12 + href="https://www.trustclaw.app/"
13 + image="/images/templates/trustclaw.mp4"
14 + />
15 + <TemplateCard
16 + title="Data Analyst Agent"
17 + description="Multi-framework AI agent that connects to HubSpot, Google Sheets, and Attio to analyze data, generate insights, and create visualizations."
18 + href="https://github.com/ComposioHQ/data-analyst-agent"
19 + image="/images/templates/data-analyst-agent.gif"
20 + />
21 + <TemplateCard
22 + title="Open ChatGPT Atlas"
23 + description="Research and analyze topics with AI-powered deep research capabilities."
24 + href="https://github.com/ComposioHQ/open-chatgpt-atlas"
25 + image="/images/templates/open-chatgpt-atlas.gif"
26 + />
27 + <TemplateCard
28 + title="Open Gamma"
29 + description="AI agent that generates presentation slides in Google Slides from natural language prompts."
30 + href="https://github.com/ComposioHQ/open-gamma"
31 + image="/images/templates/open-gamma.mp4"
32 + />
33 +</TemplateGrid>
34 +
35 +## Direct Tool Execution
36 +
37 +<TemplateGrid>
38 + <TemplateCard
39 + title="Gmail Agent with FastAPI"
40 + description="Build and serve a Gmail AI agent using Composio's managed authentication, OpenAI, and FastAPI."
41 + href="https://github.com/ComposioHQ/composio-fastapi"
42 + />
43 + <TemplateCard
44 + title="Perplexity Email Assistant"
45 + description="Email assistant that listens for incoming emails via triggers and automatically executes instructions using Tool Router, LangGraph, and MCP."
46 + href="https://github.com/ComposioHQ/open-perplexity-email-assistant"
47 + />
48 + <TemplateCard
49 + title="Personalised Onboarding Agent"
50 + description="Intelligent agent that researches users by analyzing their Gmail data and web presence, then engages in personalized conversations."
51 + href="https://github.com/ComposioHQ/open-poke"
52 + />
53 + <TemplateCard
54 + title="Open Gumloop"
55 + description="Visual drag-and-drop agent workflow builder for creating and executing AI-powered pipelines using a node-based interface."
56 + href="https://github.com/composiohq/open-gumloop"
57 + />
58 + <TemplateCard
59 + title="Open Email Agent"
60 + description="Chat-based email assistant that lets you search, read, reply to, and manage Gmail using natural language."
61 + href="https://github.com/ComposioHQ/open-email-assistant"
62 + />
63 +</TemplateGrid>
docs/lib/source.ts
+13 -2
@@ -201,8 +201,19 @@ export function mdxToCleanMarkdown(content: string): string {
201 );
202 result = result.replace(/<\/ToolTypeOption>/g, '');
203
204 - // Remove wrapper components (Cards, ProviderGrid, Tabs, Frame, div, QuickstartFlow, IntegrationTabs, Accordions, ToolTypeFlow, ToolkitsLanding, etc.)
205 - result = result.replace(/<\/?(Cards|ProviderGrid|Tabs|Frame|div|QuickstartFlow|IntegrationTabs|Accordions|ToolTypeFlow|ToolkitsLanding)[^>]*>/g, '');
204 + // Convert TemplateCard to markdown link with description
205 + result = result.replace(
206 + /<TemplateCard[\s\S]*?title="([^"]*)"[\s\S]*?description="([^"]*)"[\s\S]*?href="([^"]*)"[\s\S]*?\/>/g,
207 + '- [$1]($3): $2'
208 + );
209 + // TemplateCard with href before title
210 + result = result.replace(
211 + /<TemplateCard[\s\S]*?href="([^"]*)"[\s\S]*?title="([^"]*)"[\s\S]*?description="([^"]*)"[\s\S]*?\/>/g,
212 + '- [$2]($1): $3'
213 + );
214 +
215 + // Remove wrapper components (Cards, ProviderGrid, Tabs, Frame, div, QuickstartFlow, IntegrationTabs, Accordions, ToolTypeFlow, ToolkitsLanding, TemplateGrid, etc.)
216 + result = result.replace(/<\/?(Cards|ProviderGrid|Tabs|Frame|div|QuickstartFlow|IntegrationTabs|Accordions|ToolTypeFlow|ToolkitsLanding|TemplateGrid)[^>]*>/g, '');
217
218 // Remove remaining self-closing JSX tags (including those with JSX expressions)
219 result = result.replace(/<[A-Z][a-zA-Z]*[\s\S]*?\/>/g, '');
docs/mdx-components.tsx
+3
@@ -17,6 +17,7 @@ import { Figure } from '@/components/figure';
17 import { StepTitle } from '@/components/step-title';
18 import { Video } from '@/components/video';
19 import { CapabilityCard, CapabilityList } from '@/components/capability-card';
20 +import { TemplateCard, TemplateGrid } from '@/components/template-card';
21 import { ToolkitsLanding } from '@/components/toolkits/toolkits-landing';
22 import { Mermaid } from '@/components/mermaid';
23 import {
@@ -79,6 +80,8 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
80 Video,
81 CapabilityCard,
82 CapabilityList,
83 + TemplateCard,
84 + TemplateGrid,
85 ToolkitsLanding,
86 Mermaid,
87 StepTitle,
docs/public/images/templates/data-analyst-agent.gif
Binary files /dev/null and b/docs/public/images/templates/data-analyst-agent.gif differ
docs/public/images/templates/open-chatgpt-atlas.gif
Binary files /dev/null and b/docs/public/images/templates/open-chatgpt-atlas.gif differ
docs/public/images/templates/open-gamma.mp4
Binary files /dev/null and b/docs/public/images/templates/open-gamma.mp4 differ
docs/public/images/templates/trustclaw.mp4
Binary files /dev/null and b/docs/public/images/templates/trustclaw.mp4 differ