Skip to content

The 500 AI Agents Projects is a curated collection of AI agent use cases across various industries. It showcases practical applications and provides links to open-source projects for implementation, illustrating how AI agents are transforming sectors such as healthcare, finance, education, retail, and more.

feat: add React GitHub Pages atlas

ashishpatel269fda658c735a
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index e31d81c..fed876b 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -1,45 +1,57 @@
-# Sample workflow for building and deploying a Jekyll site to GitHub Pages
-name: Deploy Jekyll with GitHub Pages dependencies preinstalled
+name: Deploy React Atlas to GitHub Pages
on:
- # Runs on pushes targeting the default branch
push:
branches: ["main"]
-
- # Allows you to run this workflow manually from the Actions tab
+ pull_request:
+ branches: ["main"]
+ paths:
+ - "web/**"
+ - "README.md"
+ - "agents/**"
+ - "crewai_mcp_course/**"
+ - ".github/workflows/jekyll-gh-pages.yml"
workflow_dispatch:
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
-# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
-# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
- # Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+
- name: Setup Pages
uses: actions/configure-pages@v5
- - name: Build with Jekyll
- uses: actions/jekyll-build-pages@v1
- with:
- source: ./
- destination: ./_site
- - name: Upload artifact
+
+ - name: Install website dependencies
+ run: npm install
+ working-directory: web
+
+ - name: Build React atlas
+ run: npm run build
+ working-directory: web
+
+ - name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
+ with:
+ path: web/dist
- # Deployment job
deploy:
+ if: github.event_name != 'pull_request'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
diff --git a/web/index.html b/web/index.html
new file mode 100644
index 0000000..833eaf4
--- /dev/null
+++ b/web/index.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta
+ name="description"
+ content="A premium React atlas for 500+ AI agent projects, runnable implementations, use cases, and the CrewAI MCP course."
+ />
+ <title>500 AI Agents Atlas</title>
+ </head>
+ <body>
+ <div id="root"></div>
+ <script type="module" src="/src/main.jsx"></script>
+ </body>
+</html>
diff --git a/web/package.json b/web/package.json
new file mode 100644
index 0000000..6fd4ab2
--- /dev/null
+++ b/web/package.json
@@ -0,0 +1,20 @@
+{
+ "name": "ai-agents-atlas",
+ "private": true,
+ "version": "0.1.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "lucide-react": "^0.468.0",
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1"
+ },
+ "devDependencies": {
+ "@vitejs/plugin-react": "^4.3.4",
+ "vite": "^6.0.1"
+ }
+}
diff --git a/web/public/.nojekyll b/web/public/.nojekyll
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/web/public/.nojekyll
@@ -0,0 +1 @@
+
diff --git a/web/src/App.jsx b/web/src/App.jsx
new file mode 100644
index 0000000..93fb46e
--- /dev/null
+++ b/web/src/App.jsx
@@ -0,0 +1,1057 @@
+import { useEffect, useMemo, useState } from "react";
+import {
+ ArrowRight,
+ BookOpen,
+ Boxes,
+ CheckCircle2,
+ Code2,
+ Copy,
+ ExternalLink,
+ FileText,
+ Filter,
+ GitBranch,
+ Github,
+ GraduationCap,
+ Layers3,
+ Network,
+ Play,
+ Search,
+ Terminal,
+ Workflow,
+ Zap,
+} from "lucide-react";
+import { catalog, slugify, stripMarkdown } from "./content.js";
+
+const routeLabels = [
+ { path: "/", label: "Atlas" },
+ { path: "/course", label: "Course" },
+ { path: "/agents", label: "Agents" },
+ { path: "/use-cases", label: "Use cases" },
+ { path: "/frameworks", label: "Frameworks" },
+];
+
+function useHashRoute() {
+ const [route, setRoute] = useState(() => window.location.hash.slice(1) || "/");
+
+ useEffect(() => {
+ const onHashChange = () => setRoute(window.location.hash.slice(1) || "/");
+ window.addEventListener("hashchange", onHashChange);
+ return () => window.removeEventListener("hashchange", onHashChange);
+ }, []);
+
+ return route;
+}
+
+function pathFor(route) {
+ return `#${route}`;
+}
+
+function normalize(value = "") {
+ return value.toLowerCase().replace(/[^a-z0-9]+/g, " ").trim();
+}
+
+function matchesQuery(item, query) {
+ if (!query) return true;
+ const haystack = normalize(
+ [
+ item.title,
+ item.description,
+ item.framework,
+ item.industry,
+ item.sourceHeading,
+ item.tags?.join(" "),
+ ].join(" "),
+ );
+ return normalize(query)
+ .split(" ")
+ .filter(Boolean)
+ .every((part) => haystack.includes(part));
+}
+
+function getIntro(markdown = "", fallback = "") {
+ const lines = markdown
+ .split(/\r?\n/)
+ .map((line) => line.trim())
+ .filter(Boolean)
+ .filter((line) => !line.startsWith("#") && !line.startsWith("```"));
+
+ return stripMarkdown(lines.find((line) => line.length > 30) || fallback).slice(0, 260);
+}
+
+function Shell({ route, children }) {
+ return (
+ <div className="app-shell">
+ <header className="topbar">
+ <a className="brand" href={pathFor("/")}>
+ <span className="brand-mark">
+ <Network size={18} aria-hidden="true" />
+ </span>
+ <span>
+ <strong>AI Agents Atlas</strong>
+ <small>500+ project map</small>
+ </span>
+ </a>
+
+ <nav className="nav-links" aria-label="Main navigation">
+ {routeLabels.map((item) => (
+ <a
+ className={
+ route === item.path || (item.path !== "/" && route.startsWith(`${item.path}/`))
+ ? "active"
+ : ""
+ }
+ href={pathFor(item.path)}
+ key={item.path}
+ >
+ {item.label}
+ </a>
+ ))}
+ </nav>
+
+ <a className="icon-link" href="https://github.com/ashishpatel26/500-AI-Agents-Projects">
+ <Github size={18} aria-hidden="true" />
+ <span>GitHub</span>
+ </a>
+ </header>
+ <main>{children}</main>
+ </div>
+ );
+}
+
+function StatStrip() {
+ const stats = [
+ { label: "Runnable agents", value: catalog.agents.length, icon: Code2 },
+ { label: "README use cases", value: catalog.useCases.length, icon: Boxes },
+ { label: "Framework families", value: catalog.frameworks.length, icon: Workflow },
+ { label: "Course lessons", value: catalog.courseLessons.length, icon: GraduationCap },
+ ];
+
+ return (
+ <section className="stat-strip" aria-label="Repository statistics">
+ {stats.map((stat) => {
+ const Icon = stat.icon;
+ return (
+ <article className="stat-tile" key={stat.label}>
+ <Icon size={18} aria-hidden="true" />
+ <strong>{stat.value}</strong>
+ <span>{stat.label}</span>
+ </article>
+ );
+ })}
+ </section>
+ );
+}
+
+function GraphHero() {
+ const nodes = [
+ { label: "CrewAI course", path: "/course", x: 11, y: 22, tone: "green" },
+ { label: "Runnable agents", path: "/agents", x: 52, y: 13, tone: "cyan" },
+ { label: "Use cases", path: "/use-cases", x: 74, y: 48, tone: "amber" },
+ { label: "Frameworks", path: "/frameworks", x: 24, y: 65, tone: "rose" },
+ { label: "Code pages", path: "/agents/01-web-research-agent", x: 54, y: 78, tone: "violet" },
+ ];
+
+ return (
+ <section className="hero-grid">
+ <div className="hero-copy">
+ <p className="eyebrow">Course front page plus project atlas</p>
+ <h1>500+ AI Agent Projects</h1>
+ <p>
+ A premium React atlas for learning, browsing, running, and redirecting into the
+ strongest AI agent examples in this repository.
+ </p>
+ <div className="hero-actions">
+ <a className="primary-action" href={pathFor("/course")}>
+ <GraduationCap size={18} aria-hidden="true" />
+ Start course
+ </a>
+ <a className="secondary-action" href={pathFor("/use-cases")}>
+ <Search size={18} aria-hidden="true" />
+ Browse use cases
+ </a>
+ </div>
+ </div>
+
+ <div className="graph-stage" aria-label="Interactive agent atlas graph">
+ <svg className="edge-layer" viewBox="0 0 100 100" preserveAspectRatio="none">
+ <path className="graph-edge edge-one" d="M12 25 C30 8, 42 12, 52 16" />
+ <path className="graph-edge edge-two" d="M54 18 C69 23, 78 33, 75 50" />
+ <path className="graph-edge edge-three" d="M72 51 C61 71, 51 78, 27 67" />
+ <path className="graph-edge edge-four" d="M25 65 C12 54, 8 38, 12 25" />
+ <path className="graph-edge edge-five" d="M53 17 C48 39, 48 60, 54 78" />
+ </svg>
+ {nodes.map((node) => (
+ <a
+ className={`graph-node tone-${node.tone}`}
+ href={pathFor(node.path)}
+ key={node.label}
+ style={{ left: `${node.x}%`, top: `${node.y}%` }}
+ >
+ <span />
+ {node.label}
+ </a>
+ ))}
+ <div className="graph-console">
+ <span>agent_state</span>
+ <strong>ready</strong>
+ <small>nodes: {catalog.agents.length + catalog.frameworks.length}</small>
+ </div>
+ </div>
+ </section>
+ );
+}
+
+function SearchPanel({ compact = false }) {
+ const [query, setQuery] = useState("");
+ const agentMatches = catalog.agents.filter((agent) => matchesQuery(agent, query)).slice(0, 4);
+ const useCaseMatches = catalog.useCases.filter((useCase) => matchesQuery(useCase, query)).slice(0, 6);
+
+ return (
+ <section className={compact ? "search-panel compact" : "search-panel"}>
+ <label className="search-box">
+ <Search size={18} aria-hidden="true" />
+ <input
+ value={query}
+ onChange={(event) => setQuery(event.target.value)}
+ placeholder="Search agents, use cases, frameworks, industries"
+ />
+ </label>
+
+ <div className="search-results">
+ {[...agentMatches, ...useCaseMatches].map((item) => {
+ const isAgent = Boolean(item.localPath);
+ return (
+ <a
+ className="result-row"
+ href={pathFor(isAgent ? `/agents/${item.slug}` : `/use-cases/${item.id}`)}
+ key={`${isAgent ? "agent" : "case"}-${item.id}`}
+ >
+ <span className={`mini-dot ${slugify(item.framework)}`} />
+ <strong>{item.title}</strong>
+ <small>{isAgent ? item.localPath : item.sourceHeading}</small>
+ </a>
+ );
+ })}
+ </div>
+ </section>
+ );
+}
+
+function HomePage() {
+ const featuredAgents = catalog.agents.slice(0, 6);
+ const featuredUseCases = catalog.useCases.slice(0, 8);
+
+ return (
+ <>
+ <GraphHero />
+ <StatStrip />
+
+ <section className="split-section">
+ <div className="section-copy">
+ <p className="eyebrow">Start here</p>
+ <h2>CrewAI with FastMCP-style lessons at the front</h2>
+ <p>
+ The course is the guided entry point, then the atlas opens into local code agents
+ and README-linked external examples.
+ </p>
+ <a className="inline-action" href={pathFor("/course")}>
+ Open course page <ArrowRight size={16} aria-hidden="true" />
+ </a>
+ </div>
+ <CourseRail />
+ </section>
+
+ <section className="media-band">
+ <img src={catalog.images.hero} alt="AI agent use case map" />
+ <div>
+ <p className="eyebrow">Live catalog</p>
+ <h2>Search every local agent and README table row</h2>
+ <SearchPanel compact />
+ </div>
+ </section>
+
+ <section className="content-band">
+ <SectionHeader
+ eyebrow="Runnable code"
+ title="Local agent implementations"
+ action={{ label: "View all agents", href: "/agents" }}
+ />
+ <div className="card-grid">
+ {featuredAgents.map((agent) => (
+ <AgentCard agent={agent} key={agent.id} />
+ ))}
+ </div>
+ </section>
+
+ <section className="content-band">
+ <SectionHeader
+ eyebrow="README use cases"
+ title="External projects with dedicated pages"
+ action={{ label: "View all use cases", href: "/use-cases" }}
+ />
+ <div className="usecase-grid">
+ {featuredUseCases.map((useCase) => (
+ <UseCaseCard useCase={useCase} key={useCase.id} />
+ ))}
+ </div>
+ </section>
+
+ <FrameworkStrip />
+ </>
+ );
+}
+
+function SectionHeader({ eyebrow, title, action }) {
+ return (
+ <div className="section-header">
+ <div>
+ <p className="eyebrow">{eyebrow}</p>
+ <h2>{title}</h2>
+ </div>
+ {action ? (
+ <a className="inline-action" href={pathFor(action.href)}>
+ {action.label} <ArrowRight size={16} aria-hidden="true" />
+ </a>
+ ) : null}
+ </div>
+ );
+}
+
+function CourseRail() {
+ return (
+ <div className="course-rail">
+ {catalog.courseLessons.map((lesson) => (
+ <a className="lesson-row" href={pathFor(`/course/${lesson.slug}`)} key={lesson.slug}>
+ <span>{lesson.number}</span>
+ <div>
+ <strong>{lesson.title}</strong>
+ <small>{lesson.summary}</small>
+ </div>
+ <ArrowRight size={16} aria-hidden="true" />
+ </a>
+ ))}
+ </div>
+ );
+}
+
+function FrameworkStrip() {
+ return (
+ <section className="content-band">
+ <SectionHeader
+ eyebrow="Decision support"
+ title="Framework map"
+ action={{ label: "Compare frameworks", href: "/frameworks" }}
+ />
+ <div className="framework-grid">
+ {catalog.frameworks.map((framework) => (
+ <a
+ className={`framework-card tone-${framework.accent}`}
+ href={pathFor(`/frameworks/${framework.slug}`)}
+ key={framework.slug}
+ >
+ <strong>{framework.name}</strong>
+ <p>{framework.bestFor}</p>
+ <span>{framework.decision}</span>
+ </a>
+ ))}
+ </div>
+ </section>
+ );
+}
+
+function AgentCard({ agent }) {
+ return (
+ <a className="agent-card" href={pathFor(`/agents/${agent.slug}`)}>
+ <div className="card-topline">
+ <span className={`framework-pill ${slugify(agent.framework)}`}>{agent.framework}</span>
+ <small>{agent.difficulty}</small>
+ </div>
+ <h3>{agent.title}</h3>
+ <p>{agent.description}</p>
+ <div className="tag-list">
+ {[agent.industry, agent.llm, ...agent.tags].filter(Boolean).slice(0, 4).map((tag) => (
+ <span key={tag}>{tag}</span>
+ ))}
+ </div>
+ </a>
+ );
+}
+
+function UseCaseCard({ useCase }) {
+ return (
+ <article className="usecase-card">
+ <div className="card-topline">
+ <span className={`framework-pill ${slugify(useCase.framework)}`}>{useCase.framework}</span>
+ <small>{useCase.resourceType}</small>
+ </div>
+ <h3>{useCase.title}</h3>
+ <p>{useCase.description}</p>
+ <div className="card-actions">
+ <a href={pathFor(`/use-cases/${useCase.id}`)}>
+ <FileText size={15} aria-hidden="true" />
+ Detail
+ </a>
+ {useCase.url ? (
+ <a href={pathFor(`/go/${useCase.id}`)}>
+ <ExternalLink size={15} aria-hidden="true" />
+ Redirect
+ </a>
+ ) : null}
+ </div>
+ </article>
+ );
+}
+
+function CoursePage() {
+ return (
+ <>
+ <PageHero
+ eyebrow="Course"
+ title="CrewAI with FastMCP-style integration"
+ description={getIntro(catalog.courseReadme, "A practical course for building CrewAI workflows with MCP-style tool boundaries.")}
+ icon={GraduationCap}
+ />
+ <section className="split-section">
+ <div className="section-copy">
+ <h2>Learning path</h2>
+ <p>
+ Each lesson has its own page with objectives, run commands, code files, and a code
+ walkthrough surface.
+ </p>
+ <div className="command-stack">
+ <CodeBlock
+ code={[
+ "cd crewai_mcp_course/lesson_01",
+ "pip install -r requirements.txt",
+ "python agent.py",
+ ].join("\n")}
+ compact
+ />
+ </div>
+ </div>
+ <CourseRail />
+ </section>
+ <section className="content-band">
+ <SectionHeader eyebrow="Lessons" title="Separate lesson pages" />
+ <div className="lesson-grid">
+ {catalog.courseLessons.map((lesson) => (
+ <a className="lesson-card" href={pathFor(`/course/${lesson.slug}`)} key={lesson.slug}>
+ <span>{lesson.number}</span>
+ <h3>{lesson.title}</h3>
+ <p>{lesson.summary}</p>
+ <ul>
+ {lesson.objectives.slice(0, 3).map((objective) => (
+ <li key={objective}>
+ <CheckCircle2 size={15} aria-hidden="true" />
+ {objective}
+ </li>
+ ))}
+ </ul>
+ </a>
+ ))}
+ </div>
+ </section>
+ </>
+ );
+}
+
+function LessonPage({ lesson }) {
+ const [selectedFile, setSelectedFile] = useState(lesson.files[0]?.label || "");
+ const file = lesson.files.find((item) => item.label === selectedFile) || lesson.files[0];
+
+ return (
+ <>
+ <PageHero
+ eyebrow={`Lesson ${lesson.number}`}
+ title={lesson.title}
+ description={lesson.summary}
+ icon={BookOpen}
+ />
+ <section className="detail-layout">
+ <aside className="detail-aside">
+ <h2>Objectives</h2>
+ <ul className="check-list">
+ {lesson.objectives.map((objective) => (
+ <li key={objective}>
+ <CheckCircle2 size={16} aria-hidden="true" />
+ {objective}
+ </li>
+ ))}
+ </ul>
+ <h2>Run</h2>
+ <CodeBlock code={lesson.runCommands.join("\n")} compact />
+ </aside>
+ <article className="detail-main">
+ <FileTabs files={lesson.files} selected={selectedFile} onSelect={setSelectedFile} />
+ <CodeBlock code={file?.content || "# File content not found"} />
+ <CodeExplanation code={file?.content || ""} context="lesson" />
+ </article>
+ </section>
+ </>
+ );
+}
+
+function AgentsPage() {
+ const [query, setQuery] = useState("");
+ const [framework, setFramework] = useState("all");
+ const frameworks = ["all", ...new Set(catalog.agents.map((agent) => slugify(agent.framework)))];
+ const agents = catalog.agents.filter(
+ (agent) =>
+ matchesQuery(agent, query) &&
+ (framework === "all" || slugify(agent.framework) === framework),
+ );
+
+ return (
+ <>
+ <PageHero
+ eyebrow="Runnable agents"
+ title="Local code pages for every implementation"
+ description="Each agent page explains the framework, setup, run commands, architecture, and code structure from the files in agents/."
+ icon={Code2}
+ />
+ <CatalogToolbar query={query} onQuery={setQuery} filters={frameworks} filter={framework} onFilter={setFramework} />
+ <section className="content-band">
+ <div className="card-grid">
+ {agents.map((agent) => (
+ <AgentCard agent={agent} key={agent.id} />
+ ))}
+ </div>
+ </section>
+ </>
+ );
+}
+
+function AgentPage({ agent }) {
+ const [selectedFile, setSelectedFile] = useState("agent.py");
+ const files = [
+ { label: "agent.py", path: `${agent.localPath}/agent.py`, content: agent.code },
+ { label: "README.md", path: `${agent.localPath}/README.md`, content: agent.readme },
+ { label: "requirements.txt", path: `${agent.localPath}/requirements.txt`, content: agent.requirementsText },
+ { label: "metadata.yaml", path: `${agent.localPath}/metadata.yaml`, content: agent.metadataText },
+ ];
+ const selected = files.find((file) => file.label === selectedFile) || files[0];
+ const related = catalog.agents
+ .filter((item) => item.slug !== agent.slug && item.framework === agent.framework)
+ .slice(0, 3);
+
+ return (
+ <>
+ <PageHero
+ eyebrow={`${agent.framework} agent`}
+ title={agent.title}
+ description={agent.description}
+ icon={GitBranch}
+ />
+ <section className="detail-layout">
+ <aside className="detail-aside">
+ <MetadataPanel agent={agent} />
+ <h2>Run in 5 minutes</h2>
+ <CodeBlock
+ code={
+ (agent.runCommands[0] || agent.setupCommands[0]) ??
+ [`cd ${agent.localPath}`, "pip install -r requirements.txt", "python agent.py"].join("\n")
+ }
+ compact
+ />
+ <h2>Architecture</h2>
+ <FlowTrace agent={agent} />
+ </aside>
+ <article className="detail-main">
+ <section className="explain-panel">
+ <h2>How it works</h2>
+ <p>{getIntro(agent.readme, agent.description)}</p>
+ <ul className="check-list">
+ {(agent.features.length ? agent.features : defaultAgentSteps(agent)).map((feature) => (
+ <li key={feature}>
+ <CheckCircle2 size={16} aria-hidden="true" />
+ {feature}
+ </li>
+ ))}
+ </ul>
+ </section>
+ <FileTabs files={files} selected={selectedFile} onSelect={setSelectedFile} />
+ <CodeBlock code={selected.content || "# File content not found"} />
+ <CodeExplanation code={selected.content || ""} context={selected.label} agent={agent} />
+ {related.length ? (
+ <section className="related-band">
+ <h2>Related {agent.framework} agents</h2>
+ <div className="mini-card-grid">
+ {related.map((item) => (
+ <AgentCard agent={item} key={item.id} />
+ ))}
+ </div>
+ </section>
+ ) : null}
+ </article>
+ </section>
+ </>
+ );
+}
+
+function defaultAgentSteps(agent) {
+ return [
+ `Loads configuration for ${agent.llm}`,
+ `Creates a ${agent.framework} workflow around the core task`,
+ "Accepts user input through the command line or defaults",
+ "Calls tools, models, or local data helpers",
+ "Returns a structured result for the user",
+ ];
+}
+
+function MetadataPanel({ agent }) {
+ const rows = [
+ ["Path", agent.localPath],
+ ["Framework", agent.framework],
+ ["Difficulty", agent.difficulty],
+ ["Industry", agent.industry],
+ ["Model", agent.llm],
+ ["Language", agent.language],
+ ];
+
+ return (
+ <section className="metadata-panel">
+ <h2>Project metadata</h2>
+ {rows.map(([label, value]) => (
+ <div className="meta-row" key={label}>
+ <span>{label}</span>
+ <strong>{value}</strong>
+ </div>
+ ))}
+ </section>
+ );
+}
+
+function FlowTrace({ agent }) {
+ const steps =
+ agent.framework === "Langgraph" || agent.framework === "LangGraph"
+ ? ["Input", "State", "Node", "Tool", "Response"]
+ : agent.framework === "Crewai" || agent.framework === "CrewAI"
+ ? ["Goal", "Agent", "Task", "Crew", "Output"]
+ : ["Input", "Planner", "Tool", "Model", "Output"];
+
+ return (
+ <div className="flow-trace">
+ {steps.map((step, index) => (
+ <div className="flow-step" key={step}>
+ <span>{index + 1}</span>
+ <strong>{step}</strong>
+ </div>
+ ))}
+ </div>
+ );
+}
+
+function UseCasesPage() {
+ const [query, setQuery] = useState("");
+ const [framework, setFramework] = useState("all");
+ const frameworks = ["all", ...new Set(catalog.useCases.map((item) => slugify(item.framework)))];
+ const useCases = catalog.useCases.filter(
+ (item) =>
+ matchesQuery(item, query) &&
+ (framework === "all" || slugify(item.framework) === framework),
+ );
+
+ return (
+ <>
+ <PageHero
+ eyebrow="README catalog"
+ title="Dedicated page for every README use case"
+ description="The catalog is parsed from the repository README tables, so each external project gets a page, source section, and redirect route."
+ icon={Boxes}
+ />
+ <CatalogToolbar query={query} onQuery={setQuery} filters={frameworks} filter={framework} onFilter={setFramework} />
+ <section className="content-band">
+ <div className="catalog-count">{useCases.length} matching use cases</div>
+ <div className="usecase-grid">
+ {useCases.map((useCase) => (
+ <UseCaseCard useCase={useCase} key={useCase.id} />
+ ))}
+ </div>
+ </section>
+ </>
+ );
+}
+
+function UseCasePage({ useCase }) {
+ const relatedAgents = catalog.agents
+ .filter(
+ (agent) =>
+ slugify(agent.framework) === slugify(useCase.framework) ||
+ slugify(agent.industry) === slugify(useCase.industry),
+ )
+ .slice(0, 4);
+ const relatedCases = catalog.useCases
+ .filter((item) => item.id !== useCase.id && item.framework === useCase.framework)
+ .slice(0, 4);
+
+ return (
+ <>
+ <PageHero
+ eyebrow={useCase.sourceHeading}
+ title={useCase.title}
+ description={useCase.description}
+ icon={ExternalLink}
+ />
+ <section className="detail-layout">
+ <aside className="detail-aside">
+ <section className="metadata-panel">
+ <h2>Use case metadata</h2>
+ <div className="meta-row">
+ <span>Framework</span>
+ <strong>{useCase.framework}</strong>
+ </div>
+ <div className="meta-row">
+ <span>Industry</span>
+ <strong>{useCase.industry}</strong>
+ </div>
+ <div className="meta-row">
+ <span>Source</span>
+ <strong>{useCase.sourceHeading}</strong>
+ </div>
+ <div className="meta-row">
+ <span>Resource</span>
+ <strong>{useCase.resourceType}</strong>
+ </div>
+ </section>
+ {useCase.url ? (
+ <a className="primary-action full-width" href={pathFor(`/go/${useCase.id}`)}>
+ <ExternalLink size={18} aria-hidden="true" />
+ Open redirect
+ </a>
+ ) : null}
+ </aside>
+ <article className="detail-main">
+ <section className="explain-panel">
+ <h2>What this adds</h2>
+ <p>
+ This page turns a README table row into a durable catalog entry with context,
+ framework grouping, industry filtering, and a redirect route for the source project.
+ </p>
+ <div className="source-block">
+ <strong>{useCase.title}</strong>
+ <span>{useCase.description}</span>
+ {useCase.url ? <code>{useCase.url}</code> : null}
+ </div>
+ </section>
+ {relatedAgents.length ? (
+ <section className="related-band">
+ <h2>Related local agents</h2>
+ <div className="mini-card-grid">
+ {relatedAgents.map((agent) => (
+ <AgentCard agent={agent} key={agent.id} />
+ ))}
+ </div>
+ </section>
+ ) : null}
+ {relatedCases.length ? (
+ <section className="related-band">
+ <h2>Similar use cases</h2>
+ <div className="usecase-grid compact-grid">
+ {relatedCases.map((item) => (
+ <UseCaseCard useCase={item} key={item.id} />
+ ))}
+ </div>
+ </section>
+ ) : null}
+ </article>
+ </section>
+ </>
+ );
+}
+
+function RedirectPage({ useCase }) {
+ useEffect(() => {
+ if (!useCase?.url) return undefined;
+ const timer = window.setTimeout(() => {
+ window.location.href = useCase.url;
+ }, 900);
+ return () => window.clearTimeout(timer);
+ }, [useCase]);
+
+ if (!useCase) return <NotFound />;
+
+ return (
+ <PageHero
+ eyebrow="Redirect"
+ title={useCase.title}
+ description={`Opening ${useCase.url || "the source project"}.`}
+ icon={ExternalLink}
+ action={
+ useCase.url
+ ? {
+ label: "Open now",
+ href: useCase.url,
+ external: true,
+ }
+ : null
+ }
+ />
+ );
+}
+
+function FrameworksPage({ frameworkSlug }) {
+ const selected = catalog.frameworks.find((item) => item.slug === frameworkSlug);
+ const visibleFrameworks = selected ? [selected] : catalog.frameworks;
+
+ return (
+ <>
+ <PageHero
+ eyebrow="Frameworks"
+ title={selected ? selected.name : "Choose the right agent framework"}
+ description={
+ selected
+ ? selected.decision
+ : "Compare the main framework families represented in this repository, then jump into matching agents and examples."
+ }
+ icon={Workflow}
+ />
+ <section className="content-band">
+ <div className="framework-grid">
+ {visibleFrameworks.map((framework) => {
+ const agents = catalog.agents.filter(
+ (agent) => slugify(agent.framework) === framework.slug,
+ );
+ const useCases = catalog.useCases.filter(
+ (useCase) => slugify(useCase.framework) === framework.slug,
+ );
+ return (
+ <article className={`framework-detail tone-${framework.accent}`} key={framework.slug}>
+ <div>
+ <h2>{framework.name}</h2>
+ <p>{framework.bestFor}</p>
+ <span>{framework.decision}</span>
+ </div>
+ <div className="framework-stats">
+ <strong>{agents.length}</strong>
+ <span>local agents</span>
+ <strong>{useCases.length}</strong>
+ <span>README use cases</span>
+ </div>
+ <a className="inline-action" href={pathFor(`/frameworks/${framework.slug}`)}>
+ Open framework <ArrowRight size={16} aria-hidden="true" />
+ </a>
+ </article>
+ );
+ })}
+ </div>
+ </section>
+ {selected ? (
+ <section className="content-band">
+ <SectionHeader eyebrow={selected.name} title="Matching examples" />
+ <div className="card-grid">
+ {catalog.agents
+ .filter((agent) => slugify(agent.framework) === selected.slug)
+ .slice(0, 6)
+ .map((agent) => (
+ <AgentCard agent={agent} key={agent.id} />
+ ))}
+ </div>
+ </section>
+ ) : null}
+ </>
+ );
+}
+
+function CatalogToolbar({ query, onQuery, filters, filter, onFilter }) {
+ return (
+ <section className="catalog-toolbar">
+ <label className="search-box">
+ <Search size={18} aria-hidden="true" />
+ <input
+ value={query}
+ onChange={(event) => onQuery(event.target.value)}
+ placeholder="Search catalog"
+ />
+ </label>
+ <div className="filter-row" aria-label="Framework filter">
+ <Filter size={17} aria-hidden="true" />
+ {filters.map((item) => (
+ <button
+ className={filter === item ? "active" : ""}
+ onClick={() => onFilter(item)}
+ type="button"
+ key={item}
+ >
+ {item === "all" ? "All" : catalog.frameworks.find((fw) => fw.slug === item)?.name || item}
+ </button>
+ ))}
+ </div>
+ </section>
+ );
+}
+
+function PageHero({ eyebrow, title, description, icon: Icon, action }) {
+ return (
+ <section className="page-hero">
+ <div>
+ <p className="eyebrow">{eyebrow}</p>
+ <h1>{title}</h1>
+ <p>{description}</p>
+ {action ? (
+ <a
+ className="primary-action"
+ href={action.external ? action.href : pathFor(action.href)}
+ rel={action.external ? "noreferrer" : undefined}
+ >
+ <ExternalLink size={18} aria-hidden="true" />
+ {action.label}
+ </a>
+ ) : null}
+ </div>
+ <div className="page-hero-icon" aria-hidden="true">
+ <Icon size={42} />
+ </div>
+ </section>
+ );
+}
+
+function FileTabs({ files, selected, onSelect }) {
+ return (
+ <div className="file-tabs" role="tablist" aria-label="Files">
+ {files.map((file) => (
+ <button
+ className={selected === file.label ? "active" : ""}
+ key={file.label}
+ onClick={() => onSelect(file.label)}
+ type="button"
+ >
+ <FileText size={15} aria-hidden="true" />
+ {file.label}
+ </button>
+ ))}
+ </div>
+ );
+}
+
+function CodeBlock({ code, compact = false }) {
+ const [copied, setCopied] = useState(false);
+ const copy = async () => {
+ await navigator.clipboard?.writeText(code);
+ setCopied(true);
+ window.setTimeout(() => setCopied(false), 1200);
+ };
+
+ return (
+ <div className={compact ? "code-block compact" : "code-block"}>
+ <div className="code-toolbar">
+ <span>
+ <Terminal size={15} aria-hidden="true" />
+ code
+ </span>
+ <button onClick={copy} type="button">
+ <Copy size={14} aria-hidden="true" />
+ {copied ? "Copied" : "Copy"}
+ </button>
+ </div>
+ <pre>
+ <code>{code}</code>
+ </pre>
+ </div>
+ );
+}
+
+function CodeExplanation({ code, context, agent }) {
+ const lines = code.split(/\r?\n/).filter(Boolean);
+ const imports = lines.filter((line) => /^import\s|^from\s/.test(line)).slice(0, 6);
+ const functions = Array.from(code.matchAll(/^def\s+([A-Za-z_][A-Za-z0-9_]*)/gm)).map(
+ (match) => match[1],
+ );
+ const classes = Array.from(code.matchAll(/^class\s+([A-Za-z_][A-Za-z0-9_]*)/gm)).map(
+ (match) => match[1],
+ );
+
+ return (
+ <section className="code-explain">
+ <h2>Code walkthrough</h2>
+ <div className="walkthrough-grid">
+ <WalkthroughCard
+ icon={Layers3}
+ title="Imports"
+ items={imports.length ? imports : ["No import block in this file section."]}
+ />
+ <WalkthroughCard
+ icon={Zap}
+ title="Functions"
+ items={functions.length ? functions.slice(0, 8) : ["No top-level functions detected."]}
+ />
+ <WalkthroughCard
+ icon={Network}
+ title="Classes"
+ items={classes.length ? classes.slice(0, 6) : ["No classes detected."]}
+ />
+ <WalkthroughCard
+ icon={Play}
+ title="Role"
+ items={[
+ context === "agent.py"
+ ? `Entrypoint for ${agent?.framework || "the"} implementation.`
+ : `Reference file for ${context}.`,
+ `${lines.length} non-empty lines are bundled into this page.`,
+ ]}
+ />
+ </div>
+ </section>
+ );
+}
+
+function WalkthroughCard({ icon: Icon, title, items }) {
+ return (
+ <article className="walk-card">
+ <Icon size={18} aria-hidden="true" />
+ <h3>{title}</h3>
+ <ul>
+ {items.map((item) => (
+ <li key={item}>{item}</li>
+ ))}
+ </ul>
+ </article>
+ );
+}
+
+function NotFound() {
+ return (
+ <PageHero
+ eyebrow="Missing page"
+ title="This atlas page was not found"
+ description="The catalog route does not match a local agent, lesson, use case, or framework."
+ icon={Search}
+ action={{ label: "Back to atlas", href: "/" }}
+ />
+ );
+}
+
+function App() {
+ const route = useHashRoute();
+ const segments = useMemo(() => route.split("?")[0].split("/").filter(Boolean), [route]);
+
+ let page;
+ if (segments.length === 0) {
+ page = <HomePage />;
+ } else if (segments[0] === "course" && segments.length === 1) {
+ page = <CoursePage />;
+ } else if (segments[0] === "course") {
+ const lesson = catalog.courseLessons.find((item) => item.slug === segments[1]);
+ page = lesson ? <LessonPage lesson={lesson} /> : <NotFound />;
+ } else if (segments[0] === "agents" && segments.length === 1) {
+ page = <AgentsPage />;
+ } else if (segments[0] === "agents") {
+ const agent = catalog.agents.find((item) => item.slug === segments[1]);
+ page = agent ? <AgentPage agent={agent} /> : <NotFound />;
+ } else if (segments[0] === "use-cases" && segments.length === 1) {
+ page = <UseCasesPage />;
+ } else if (segments[0] === "use-cases") {
+ const useCase = catalog.useCases.find((item) => item.id === segments[1]);
+ page = useCase ? <UseCasePage useCase={useCase} /> : <NotFound />;
+ } else if (segments[0] === "go") {
+ const useCase = catalog.useCases.find((item) => item.id === segments[1]);
+ page = <RedirectPage useCase={useCase} />;
+ } else if (segments[0] === "frameworks") {
+ page = <FrameworksPage frameworkSlug={segments[1]} />;
+ } else {
+ page = <NotFound />;
+ }
+
+ return <Shell route={route}>{page}</Shell>;
+}
+
+export default App;
diff --git a/web/src/content.js b/web/src/content.js
new file mode 100644
index 0000000..e3a7b6f
--- /dev/null
+++ b/web/src/content.js
@@ -0,0 +1,512 @@
+import heroImage from "../../images/AIAgentUseCase.jpg";
+import industryImage from "../../images/industry_usecase1.png";
+import repoReadme from "../../README.md?raw";
+import agentsReadme from "../../agents/README.md?raw";
+import courseReadme from "../../crewai_mcp_course/README.md?raw";
+
+const agentFiles = import.meta.glob(
+ "../../agents/*/{README.md,agent.py,metadata.yaml,requirements.txt}",
+ {
+ eager: true,
+ import: "default",
+ query: "?raw",
+ },
+);
+
+const courseFiles = import.meta.glob("../../crewai_mcp_course/**/*.{md,py,txt}", {
+ eager: true,
+ import: "default",
+ query: "?raw",
+});
+
+export function stripMarkdown(value = "") {
+ return String(value)
+ .replace(/<[^>]*>/g, " ")
+ .replace(/!\[[^\]]*]\([^)]+\)/g, " ")
+ .replace(/\[([^\]]+)]\([^)]+\)/g, "$1")
+ .replace(/[*_`>#]/g, " ")
+ .replace(/\s+/g, " ")
+ .trim();
+}
+
+export function slugify(value = "item") {
+ const cleaned = stripMarkdown(value)
+ .normalize("NFKD")
+ .replace(/[\u0300-\u036f]/g, "")
+ .toLowerCase()
+ .replace(/[^a-z0-9]+/g, "-")
+ .replace(/^-+|-+$/g, "");
+
+ return cleaned || "item";
+}
+
+function titleCase(value = "") {
+ return stripMarkdown(value)
+ .replace(/^[^A-Za-z0-9]+/, "")
+ .replace(/[-_]+/g, " ")
+ .split(" ")
+ .filter(Boolean)
+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
+ .join(" ");
+}
+
+function formatFramework(value = "") {
+ const key = slugify(value);
+ const names = {
+ agno: "Agno",
+ autogen: "AutoGen",
+ crewai: "CrewAI",
+ langchain: "LangChain",
+ langgraph: "LangGraph",
+ llamaindex: "LlamaIndex",
+ "llama-index": "LlamaIndex",
+ };
+ return names[key] || titleCase(value || "Python");
+}
+
+function cleanCell(value = "") {
+ return stripMarkdown(value)
+ .replace(/^[^A-Za-z0-9]+/, "")
+ .replace(/\s+/g, " ")
+ .trim();
+}
+
+function extractUrl(value = "") {
+ const markdownUrls = Array.from(String(value).matchAll(/\]\((https?:\/\/[^)]+)\)/g))
+ .map((match) => match[1])
+ .filter((url) => !url.includes("img.shields.io"));
+ if (markdownUrls.length > 0) {
+ return markdownUrls[markdownUrls.length - 1];
+ }
+
+ const directUrls = String(value)
+ .match(/https?:\/\/[^\s)]+/g)
+ ?.filter((url) => !url.includes("img.shields.io"));
+ return directUrls?.[directUrls.length - 1] || "";
+}
+
+function splitTableRow(line = "") {
+ return line
+ .trim()
+ .replace(/^\|/, "")
+ .replace(/\|$/, "")
+ .split("|")
+ .map((cell) => cell.trim());
+}
+
+function isDividerRow(line = "") {
+ return /^\s*\|?\s*:?-{3,}:?\s*(\|\s*:?-{3,}:?\s*)+\|?\s*$/.test(line);
+}
+
+function getHeaderKey(header = "") {
+ return stripMarkdown(header).toLowerCase().replace(/[^a-z0-9]+/g, " ").trim();
+}
+
+function inferFramework(source = "") {
+ if (/crewai/i.test(source)) return "CrewAI";
+ if (/autogen/i.test(source)) return "AutoGen";
+ if (/agno/i.test(source)) return "Agno";
+ if (/langgraph/i.test(source)) return "LangGraph";
+ if (/llamaindex|llama index/i.test(source)) return "LlamaIndex";
+ return "Cross-industry";
+}
+
+function isUseCaseTable(headers, sourceHeading) {
+ const headerText = headers.map(getHeaderKey).join(" ");
+ if (/navigation guide|framework comparison/i.test(sourceHeading)) return false;
+ return (
+ /description/.test(headerText) &&
+ /use case|project|agent|example/.test(headerText) &&
+ /code|github|notebook|link|project/.test(headerText)
+ );
+}
+
+function pickRowValue(row, candidates) {
+ const key = Object.keys(row).find((item) =>
+ candidates.some((candidate) => item.includes(candidate)),
+ );
+ return key ? row[key] : "";
+}
+
+export function parseReadmeUseCases(markdown = repoReadme) {
+ const lines = markdown.split(/\r?\n/);
+ const records = [];
+ const usedIds = new Set();
+ let inFence = false;
+ let h2 = "";
+ let h3 = "";
+ let subheading = "";
+
+ for (let index = 0; index < lines.length; index += 1) {
+ const line = lines[index];
+ if (/^\s*```/.test(line)) {
+ inFence = !inFence;
+ continue;
+ }
+ if (inFence) continue;
+
+ const heading = line.match(/^(#{2,4})\s+(.+)$/);
+ if (heading) {
+ const level = heading[1].length;
+ const value = cleanCell(heading[2]);
+ if (level === 2) {
+ h2 = value;
+ h3 = "";
+ subheading = "";
+ } else if (level === 3) {
+ h3 = value;
+ subheading = "";
+ } else {
+ subheading = value;
+ }
+ continue;
+ }
+
+ const boldHeading = line.match(/^\*\*([^*]+)\*\*\s*$/);
+ if (boldHeading) {
+ subheading = cleanCell(boldHeading[1]);
+ continue;
+ }
+
+ if (!line.trim().startsWith("|") || !lines[index + 1] || !isDividerRow(lines[index + 1])) {
+ continue;
+ }
+
+ const headers = splitTableRow(line);
+ const sourceHeading = [h2, h3, subheading].filter(Boolean).join(" / ");
+ if (!isUseCaseTable(headers, sourceHeading)) {
+ continue;
+ }
+
+ index += 2;
+ while (index < lines.length && lines[index].trim().startsWith("|")) {
+ const cells = splitTableRow(lines[index]);
+ if (cells.length >= headers.length - 1) {
+ const row = {};
+ headers.forEach((header, cellIndex) => {
+ row[getHeaderKey(header)] = cells[cellIndex] || "";
+ });
+
+ const title =
+ cleanCell(pickRowValue(row, ["use case", "project", "agent", "example"])) ||
+ cleanCell(cells[0]);
+ const description = cleanCell(pickRowValue(row, ["description", "best for"]));
+ const industry = cleanCell(pickRowValue(row, ["industry", "domain", "category"]));
+ const url = extractUrl(cells.join(" "));
+
+ if (title && description) {
+ const baseId = slugify(`${sourceHeading}-${title}`);
+ let id = baseId;
+ let suffix = 2;
+ while (usedIds.has(id)) {
+ id = `${baseId}-${suffix}`;
+ suffix += 1;
+ }
+ usedIds.add(id);
+
+ records.push({
+ id,
+ title,
+ description,
+ industry: industry || "General",
+ framework: inferFramework(sourceHeading),
+ sourceHeading,
+ sourceGroup: h2,
+ sourceSubheading: [h3, subheading].filter(Boolean).join(" / "),
+ url,
+ resourceType: /notebook|ipynb/i.test(url) ? "Notebook" : "Code",
+ tags: [
+ inferFramework(sourceHeading),
+ industry || "General",
+ h2,
+ h3,
+ subheading,
+ ].filter(Boolean),
+ });
+ }
+ }
+ index += 1;
+ }
+ index -= 1;
+ }
+
+ return records;
+}
+
+function parseYaml(raw = "") {
+ const data = {};
+ raw.split(/\r?\n/).forEach((line) => {
+ const trimmed = line.trim();
+ if (!trimmed || trimmed.startsWith("#") || !trimmed.includes(":")) return;
+ const [key, ...rest] = trimmed.split(":");
+ const value = rest.join(":").trim();
+ if (value.startsWith("[") && value.endsWith("]")) {
+ data[key.trim()] = value
+ .slice(1, -1)
+ .split(",")
+ .map((item) => item.trim().replace(/^["']|["']$/g, ""))
+ .filter(Boolean);
+ } else {
+ data[key.trim()] = value.replace(/^["']|["']$/g, "");
+ }
+ });
+ return data;
+}
+
+function firstHeading(markdown = "") {
+ return cleanCell(markdown.match(/^#\s+(.+)$/m)?.[1] || "");
+}
+
+function extractSection(markdown = "", headingPattern) {
+ const lines = markdown.split(/\r?\n/);
+ const start = lines.findIndex((line) => {
+ const heading = line.match(/^#{2,4}\s+(.+)$/);
+ return heading && headingPattern.test(heading[1]);
+ });
+ if (start === -1) return "";
+
+ const output = [];
+ for (let index = start + 1; index < lines.length; index += 1) {
+ if (/^#{2,4}\s+/.test(lines[index])) break;
+ output.push(lines[index]);
+ }
+ return output.join("\n").trim();
+}
+
+function extractList(section = "", limit = 6) {
+ return section
+ .split(/\r?\n/)
+ .map((line) => line.match(/^\s*(?:[-*]|\d+\.)\s+(.+)$/)?.[1])
+ .filter(Boolean)
+ .map(cleanCell)
+ .filter(Boolean)
+ .slice(0, limit);
+}
+
+function extractCodeFences(section = "") {
+ return Array.from(section.matchAll(/```(?:bash|sh|shell)?\s*\n([\s\S]*?)```/g))
+ .map((match) => match[1].trim())
+ .filter(Boolean);
+}
+
+function extractPythonConcepts(code = "") {
+ const functions = Array.from(code.matchAll(/^def\s+([A-Za-z_][A-Za-z0-9_]*)/gm)).map(
+ (match) => match[1],
+ );
+ const classes = Array.from(code.matchAll(/^class\s+([A-Za-z_][A-Za-z0-9_]*)/gm)).map(
+ (match) => match[1],
+ );
+ const signals = [
+ code.includes("StateGraph") && "state graph",
+ code.includes("Crew(") && "crew orchestration",
+ code.includes("Agent(") && "agent roles",
+ code.includes("Task(") && "task pipeline",
+ code.includes("Tool") && "tool calls",
+ code.includes("argparse") && "command line interface",
+ code.includes("sqlite3") && "local database",
+ code.includes("pandas") && "dataframe processing",
+ code.includes("Tavily") && "web search",
+ ].filter(Boolean);
+
+ return {
+ functions: functions.slice(0, 10),
+ classes: classes.slice(0, 8),
+ signals,
+ };
+}
+
+function buildAgents() {
+ const folders = {};
+ Object.entries(agentFiles).forEach(([path, raw]) => {
+ const match = path.match(/agents\/([^/]+)\/([^/]+)$/);
+ if (!match) return;
+ const [, folder, fileName] = match;
+ folders[folder] = folders[folder] || {};
+ folders[folder][fileName] = raw;
+ });
+
+ return Object.entries(folders)
+ .map(([folder, files]) => {
+ const metadata = parseYaml(files["metadata.yaml"] || "");
+ const readme = files["README.md"] || "";
+ const code = files["agent.py"] || "";
+ const setupSection = extractSection(readme, /setup|installation/i);
+ const runSection = extractSection(readme, /run|usage/i);
+ const features =
+ extractList(extractSection(readme, /what it does/i), 7).length > 0
+ ? extractList(extractSection(readme, /what it does/i), 7)
+ : extractList(extractSection(readme, /features|use cases/i), 7);
+ const title = titleCase(firstHeading(readme) || metadata.title || folder);
+ const number = folder.match(/^\d+/)?.[0] || "";
+ const concepts = extractPythonConcepts(code);
+
+ return {
+ id: folder,
+ slug: folder,
+ number,
+ title,
+ description: metadata.description || cleanCell(readme.split(/\r?\n/)[2] || ""),
+ framework: formatFramework(metadata.framework || "Python"),
+ llm: metadata.llm || "Configurable",
+ industry: titleCase(metadata.industry || "General"),
+ difficulty: titleCase(metadata.difficulty || "Intermediate"),
+ tags: Array.isArray(metadata.tags) ? metadata.tags : [],
+ language: titleCase(metadata.language || "Python"),
+ localPath: `agents/${folder}`,
+ entrypoint: metadata.entrypoint || "agent.py",
+ requirements: metadata.requirements || "requirements.txt",
+ readme,
+ code,
+ requirementsText: files["requirements.txt"] || "",
+ metadataText: files["metadata.yaml"] || "",
+ features,
+ setupCommands: extractCodeFences(setupSection),
+ runCommands: extractCodeFences(runSection),
+ concepts,
+ };
+ })
+ .sort((a, b) => a.slug.localeCompare(b.slug, undefined, { numeric: true }));
+}
+
+function getCourseFile(pathSuffix) {
+ const entry = Object.entries(courseFiles).find(([path]) => path.endsWith(pathSuffix));
+ return entry ? entry[1] : "";
+}
+
+const courseLessons = [
+ {
+ slug: "lesson-01",
+ number: "01",
+ title: "First CrewAI Researcher",
+ summary:
+ "Build a single researcher agent, give it a clear role, run one task, and inspect the response path.",
+ files: [
+ {
+ label: "agent.py",
+ path: "crewai_mcp_course/lesson_01/agent.py",
+ content: getCourseFile("lesson_01/agent.py"),
+ },
+ {
+ label: "requirements.txt",
+ path: "crewai_mcp_course/lesson_01/requirements.txt",
+ content: getCourseFile("lesson_01/requirements.txt"),
+ },
+ ],
+ objectives: [
+ "Install the CrewAI lesson dependencies",
+ "Define a role-driven research agent",
+ "Attach the agent to one clear task",
+ "Run the crew and read the final output",
+ ],
+ runCommands: ["cd crewai_mcp_course/lesson_01", "pip install -r requirements.txt", "python agent.py"],
+ },
+ {
+ slug: "lesson-02",
+ number: "02",
+ title: "Multi-Agent Research Crew",
+ summary:
+ "Split research, writing, and editing responsibilities into a sequential CrewAI workflow.",
+ files: [
+ {
+ label: "agent.py",
+ path: "crewai_mcp_course/lesson_02/agent.py",
+ content: getCourseFile("lesson_02/agent.py"),
+ },
+ {
+ label: "requirements.txt",
+ path: "crewai_mcp_course/lesson_02/requirements.txt",
+ content: getCourseFile("lesson_02/requirements.txt"),
+ },
+ ],
+ objectives: [
+ "Create multiple specialist agents",
+ "Connect tasks into a sequential process",
+ "Pass context from researcher to writer to editor",
+ "Understand where tools fit into CrewAI",
+ ],
+ runCommands: ["cd crewai_mcp_course/lesson_02", "pip install -r requirements.txt", "python agent.py"],
+ },
+ {
+ slug: "lesson-03",
+ number: "03",
+ title: "CrewAI With FastMCP-Style Tools",
+ summary:
+ "Use a FastMCP-style tool surface to let CrewAI agents query structured project data and produce a status report.",
+ files: [
+ {
+ label: "agent.py",
+ path: "crewai_mcp_course/lesson_03/agent.py",
+ content: getCourseFile("lesson_03/agent.py"),
+ },
+ {
+ label: "mcp_server.py",
+ path: "crewai_mcp_course/lesson_03/mcp_server.py",
+ content: getCourseFile("lesson_03/mcp_server.py"),
+ },
+ {
+ label: "requirements.txt",
+ path: "crewai_mcp_course/lesson_03/requirements.txt",
+ content: getCourseFile("lesson_03/requirements.txt"),
+ },
+ ],
+ objectives: [
+ "Model a tool contract that resembles MCP server access",
+ "Let agents request project records through tools",
+ "Generate a management-ready project status report",
+ "See how MCP-style boundaries improve agent design",
+ ],
+ runCommands: ["cd crewai_mcp_course/lesson_03", "pip install -r requirements.txt", "python agent.py"],
+ },
+];
+
+export const frameworks = [
+ {
+ slug: "langgraph",
+ name: "LangGraph",
+ accent: "cyan",
+ bestFor: "Stateful workflows, graph control, retries, RAG, and production routing.",
+ decision: "Choose it when the agent needs explicit state transitions and reliable recovery paths.",
+ },
+ {
+ slug: "crewai",
+ name: "CrewAI",
+ accent: "green",
+ bestFor: "Role-based teams, business automation, repeatable task handoffs, and fast prototypes.",
+ decision: "Choose it when the project maps naturally to specialists with goals and tasks.",
+ },
+ {
+ slug: "autogen",
+ name: "AutoGen",
+ accent: "amber",
+ bestFor: "Code generation, research collaboration, feedback loops, and executable experiments.",
+ decision: "Choose it when agents need to talk, critique, run code, and iterate.",
+ },
+ {
+ slug: "agno",
+ name: "Agno",
+ accent: "rose",
+ bestFor: "Lightweight tool agents, quick iteration, model flexibility, and compact apps.",
+ decision: "Choose it when you want a focused tool-calling agent with low ceremony.",
+ },
+ {
+ slug: "llamaindex",
+ name: "LlamaIndex",
+ accent: "violet",
+ bestFor: "Document Q&A, enterprise retrieval, data connectors, and knowledge workflows.",
+ decision: "Choose it when the data pipeline matters as much as the agent behavior.",
+ },
+];
+
+export const catalog = {
+ repoReadme,
+ agentsReadme,
+ courseReadme,
+ agents: buildAgents(),
+ useCases: parseReadmeUseCases(repoReadme),
+ courseLessons,
+ frameworks,
+ images: {
+ hero: heroImage,
+ industry: industryImage,
+ },
+};
diff --git a/web/src/main.jsx b/web/src/main.jsx
new file mode 100644
index 0000000..10b0f52
--- /dev/null
+++ b/web/src/main.jsx
@@ -0,0 +1,10 @@
+import React from "react";
+import ReactDOM from "react-dom/client";
+import App from "./App.jsx";
+import "./styles.css";
+
+ReactDOM.createRoot(document.getElementById("root")).render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>,
+);
diff --git a/web/src/styles.css b/web/src/styles.css
new file mode 100644
index 0000000..6f41149
--- /dev/null
+++ b/web/src/styles.css
@@ -0,0 +1,1207 @@
+:root {
+ color-scheme: dark;
+ --bg: #080a0f;
+ --bg-2: #0b0f16;
+ --panel: #0f141c;
+ --panel-2: #141b25;
+ --panel-3: #18212d;
+ --text: #f4f7fb;
+ --muted: #9aa7b8;
+ --soft: #c7d2e0;
+ --border: #253041;
+ --border-strong: #334155;
+ --cyan: #22d3ee;
+ --green: #34d399;
+ --amber: #fbbf24;
+ --rose: #fb7185;
+ --violet: #a78bfa;
+ --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
+}
+
+* {
+ box-sizing: border-box;
+}
+
+html {
+ scroll-behavior: smooth;
+}
+
+body {
+ margin: 0;
+ min-width: 320px;
+ background:
+ linear-gradient(rgba(37, 48, 65, 0.28) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(37, 48, 65, 0.22) 1px, transparent 1px),
+ linear-gradient(135deg, #080a0f 0%, #0a0d13 38%, #101019 62%, #080a0f 100%);
+ background-size:
+ 44px 44px,
+ 44px 44px,
+ auto;
+ color: var(--text);
+ font-family:
+ Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
+}
+
+body,
+button,
+input {
+ font: inherit;
+}
+
+a {
+ color: inherit;
+ text-decoration: none;
+}
+
+button {
+ color: inherit;
+}
+
+img {
+ display: block;
+ max-width: 100%;
+}
+
+.app-shell {
+ min-height: 100vh;
+}
+
+.topbar {
+ position: sticky;
+ top: 0;
+ z-index: 20;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 18px;
+ padding: 14px 28px;
+ border-bottom: 1px solid rgba(148, 163, 184, 0.16);
+ background: rgba(8, 10, 15, 0.88);
+ backdrop-filter: blur(18px);
+}
+
+.brand {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ min-width: 210px;
+}
+
+.brand-mark,
+.page-hero-icon {
+ display: grid;
+ place-items: center;
+ border: 1px solid rgba(34, 211, 238, 0.42);
+ background: #0b1720;
+ color: var(--cyan);
+}
+
+.brand-mark {
+ width: 38px;
+ height: 38px;
+ border-radius: 8px;
+}
+
+.brand strong,
+.brand small {
+ display: block;
+}
+
+.brand strong {
+ font-size: 0.95rem;
+}
+
+.brand small {
+ color: var(--muted);
+ font-size: 0.78rem;
+ margin-top: 2px;
+}
+
+.nav-links {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 6px;
+ flex: 1;
+}
+
+.nav-links a,
+.icon-link,
+.secondary-action,
+.primary-action,
+.inline-action,
+.card-actions a,
+.filter-row button,
+.file-tabs button,
+.code-toolbar button {
+ min-height: 38px;
+ border-radius: 8px;
+ transition:
+ border-color 160ms ease,
+ background 160ms ease,
+ color 160ms ease,
+ transform 160ms ease;
+}
+
+.nav-links a {
+ padding: 9px 12px;
+ color: var(--muted);
+ font-size: 0.9rem;
+}
+
+.nav-links a:hover,
+.nav-links a.active {
+ background: rgba(34, 211, 238, 0.09);
+ color: var(--text);
+}
+
+.icon-link,
+.primary-action,
+.secondary-action,
+.inline-action,
+.card-actions a {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 8px;
+}
+
+.icon-link {
+ padding: 9px 12px;
+ border: 1px solid var(--border);
+ color: var(--soft);
+}
+
+.icon-link:hover,
+.secondary-action:hover,
+.inline-action:hover,
+.card-actions a:hover {
+ border-color: rgba(34, 211, 238, 0.58);
+ color: var(--text);
+}
+
+main {
+ overflow: hidden;
+}
+
+.hero-grid,
+.page-hero,
+.content-band,
+.split-section,
+.media-band,
+.catalog-toolbar,
+.stat-strip {
+ width: min(1180px, calc(100% - 40px));
+ margin-inline: auto;
+}
+
+.hero-grid {
+ display: grid;
+ grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
+ gap: 28px;
+ min-height: 620px;
+ align-items: center;
+ padding: 58px 0 36px;
+}
+
+.hero-copy h1,
+.page-hero h1 {
+ margin: 0;
+ max-width: 760px;
+ font-size: 4.25rem;
+ line-height: 0.95;
+}
+
+.hero-copy p:not(.eyebrow),
+.page-hero p:not(.eyebrow),
+.section-copy p,
+.framework-card p,
+.framework-detail p,
+.usecase-card p,
+.agent-card p,
+.lesson-card p,
+.explain-panel p {
+ color: var(--soft);
+ line-height: 1.7;
+}
+
+.hero-copy p:not(.eyebrow),
+.page-hero p:not(.eyebrow) {
+ max-width: 670px;
+ font-size: 1.05rem;
+}
+
+.eyebrow {
+ margin: 0 0 12px;
+ color: var(--green);
+ font-size: 0.78rem;
+ font-weight: 800;
+ text-transform: uppercase;
+}
+
+.hero-actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 12px;
+ margin-top: 28px;
+}
+
+.primary-action,
+.secondary-action {
+ padding: 11px 16px;
+ border: 1px solid transparent;
+ font-weight: 800;
+}
+
+.primary-action {
+ background: var(--text);
+ color: #081014;
+}
+
+.primary-action:hover {
+ transform: translateY(-1px);
+}
+
+.secondary-action {
+ border-color: var(--border);
+ background: rgba(15, 20, 28, 0.72);
+ color: var(--soft);
+}
+
+.full-width {
+ width: 100%;
+}
+
+.graph-stage {
+ position: relative;
+ min-height: 475px;
+ overflow: hidden;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background:
+ linear-gradient(rgba(96, 165, 250, 0.09) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(52, 211, 153, 0.08) 1px, transparent 1px),
+ linear-gradient(140deg, #0c1119, #121821 52%, #10141c);
+ background-size:
+ 34px 34px,
+ 34px 34px,
+ auto;
+ box-shadow: var(--shadow);
+}
+
+.edge-layer {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+}
+
+.graph-edge {
+ fill: none;
+ stroke: rgba(96, 165, 250, 0.58);
+ stroke-width: 0.42;
+ stroke-dasharray: 9 9;
+ animation: edge-flow 7s linear infinite;
+}
+
+.edge-two {
+ stroke: rgba(52, 211, 153, 0.58);
+ animation-delay: -1.5s;
+}
+
+.edge-three {
+ stroke: rgba(251, 191, 36, 0.6);
+ animation-delay: -2.4s;
+}
+
+.edge-four {
+ stroke: rgba(251, 113, 133, 0.58);
+ animation-delay: -3.1s;
+}
+
+.edge-five {
+ stroke: rgba(167, 139, 250, 0.55);
+ animation-delay: -4.3s;
+}
+
+@keyframes edge-flow {
+ to {
+ stroke-dashoffset: -90;
+ }
+}
+
+.graph-node {
+ position: absolute;
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ min-width: 130px;
+ padding: 10px 12px;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: rgba(8, 10, 15, 0.86);
+ color: var(--text);
+ font-size: 0.86rem;
+ font-weight: 800;
+ transform: translate(-50%, -50%);
+ box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
+}
+
+.graph-node span {
+ width: 10px;
+ height: 10px;
+ border-radius: 999px;
+ background: currentColor;
+ box-shadow: 0 0 24px currentColor;
+}
+
+.tone-cyan {
+ color: var(--cyan);
+}
+
+.tone-green {
+ color: var(--green);
+}
+
+.tone-amber {
+ color: var(--amber);
+}
+
+.tone-rose {
+ color: var(--rose);
+}
+
+.tone-violet {
+ color: var(--violet);
+}
+
+.graph-node:hover {
+ border-color: currentColor;
+ background: rgba(20, 27, 37, 0.96);
+}
+
+.graph-console {
+ position: absolute;
+ right: 18px;
+ bottom: 18px;
+ display: grid;
+ gap: 2px;
+ min-width: 190px;
+ padding: 14px;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: rgba(8, 10, 15, 0.88);
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+}
+
+.graph-console span,
+.graph-console small {
+ color: var(--muted);
+ font-size: 0.78rem;
+}
+
+.graph-console strong {
+ color: var(--green);
+ font-size: 1.15rem;
+}
+
+.stat-strip {
+ display: grid;
+ grid-template-columns: repeat(4, minmax(0, 1fr));
+ gap: 12px;
+ margin-top: 8px;
+}
+
+.stat-tile,
+.agent-card,
+.usecase-card,
+.lesson-card,
+.framework-card,
+.framework-detail,
+.metadata-panel,
+.detail-aside,
+.explain-panel,
+.walk-card,
+.source-block,
+.search-panel,
+.course-rail {
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: rgba(15, 20, 28, 0.78);
+}
+
+.stat-tile {
+ display: grid;
+ gap: 6px;
+ padding: 18px;
+}
+
+.stat-tile svg {
+ color: var(--cyan);
+}
+
+.stat-tile strong {
+ font-size: 2rem;
+}
+
+.stat-tile span {
+ color: var(--muted);
+ font-size: 0.88rem;
+}
+
+.split-section,
+.media-band,
+.content-band {
+ padding: 72px 0 0;
+}
+
+.split-section {
+ display: grid;
+ grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
+ gap: 28px;
+ align-items: start;
+}
+
+.section-copy h2,
+.section-header h2,
+.detail-main h2,
+.detail-aside h2,
+.code-explain h2 {
+ margin: 0 0 12px;
+ font-size: 2rem;
+ line-height: 1.15;
+}
+
+.inline-action {
+ color: var(--cyan);
+ font-weight: 800;
+}
+
+.course-rail {
+ display: grid;
+ padding: 10px;
+}
+
+.lesson-row {
+ display: grid;
+ grid-template-columns: 48px minmax(0, 1fr) 24px;
+ gap: 12px;
+ align-items: center;
+ padding: 14px;
+ border-radius: 8px;
+}
+
+.lesson-row:hover {
+ background: rgba(34, 211, 238, 0.08);
+}
+
+.lesson-row > span,
+.lesson-card > span {
+ display: grid;
+ place-items: center;
+ width: 38px;
+ height: 38px;
+ border: 1px solid rgba(52, 211, 153, 0.4);
+ border-radius: 8px;
+ color: var(--green);
+ font-weight: 900;
+}
+
+.lesson-row strong,
+.lesson-row small {
+ display: block;
+}
+
+.lesson-row small {
+ margin-top: 3px;
+ color: var(--muted);
+ line-height: 1.5;
+}
+
+.media-band {
+ display: grid;
+ grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1fr);
+ gap: 28px;
+ align-items: center;
+}
+
+.media-band img {
+ width: 100%;
+ min-height: 320px;
+ max-height: 420px;
+ object-fit: cover;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+}
+
+.search-panel {
+ padding: 14px;
+ box-shadow: var(--shadow);
+}
+
+.search-panel.compact {
+ width: 100%;
+ margin: 0;
+ box-shadow: none;
+}
+
+.search-box {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ width: 100%;
+ min-height: 48px;
+ padding: 0 14px;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: rgba(8, 10, 15, 0.72);
+ color: var(--muted);
+}
+
+.search-box input {
+ width: 100%;
+ min-width: 0;
+ border: 0;
+ outline: 0;
+ background: transparent;
+ color: var(--text);
+}
+
+.search-results {
+ display: grid;
+ gap: 8px;
+ margin-top: 12px;
+}
+
+.result-row {
+ display: grid;
+ grid-template-columns: 10px minmax(0, 0.7fr) minmax(0, 1fr);
+ gap: 10px;
+ align-items: center;
+ padding: 10px;
+ border-radius: 8px;
+ color: var(--soft);
+}
+
+.result-row:hover {
+ background: rgba(52, 211, 153, 0.08);
+}
+
+.result-row strong,
+.result-row small {
+ min-width: 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.result-row small {
+ color: var(--muted);
+}
+
+.mini-dot {
+ width: 10px;
+ height: 10px;
+ border-radius: 999px;
+ background: var(--cyan);
+}
+
+.mini-dot.crewai,
+.framework-pill.crewai {
+ background: rgba(52, 211, 153, 0.14);
+ color: var(--green);
+ border-color: rgba(52, 211, 153, 0.34);
+}
+
+.mini-dot.autogen,
+.framework-pill.autogen {
+ background: rgba(251, 191, 36, 0.14);
+ color: var(--amber);
+ border-color: rgba(251, 191, 36, 0.34);
+}
+
+.mini-dot.agno,
+.framework-pill.agno {
+ background: rgba(251, 113, 133, 0.14);
+ color: var(--rose);
+ border-color: rgba(251, 113, 133, 0.34);
+}
+
+.mini-dot.llamaindex,
+.framework-pill.llamaindex,
+.mini-dot.langchain,
+.framework-pill.langchain {
+ background: rgba(167, 139, 250, 0.14);
+ color: var(--violet);
+ border-color: rgba(167, 139, 250, 0.34);
+}
+
+.section-header {
+ display: flex;
+ align-items: end;
+ justify-content: space-between;
+ gap: 18px;
+ margin-bottom: 18px;
+}
+
+.card-grid,
+.usecase-grid,
+.framework-grid,
+.lesson-grid,
+.mini-card-grid {
+ display: grid;
+ gap: 14px;
+}
+
+.card-grid {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+}
+
+.usecase-grid {
+ grid-template-columns: repeat(4, minmax(0, 1fr));
+}
+
+.framework-grid,
+.lesson-grid {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+}
+
+.mini-card-grid {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+}
+
+.agent-card,
+.usecase-card,
+.lesson-card,
+.framework-card,
+.framework-detail {
+ display: flex;
+ flex-direction: column;
+ min-height: 230px;
+ padding: 18px;
+}
+
+.agent-card:hover,
+.usecase-card:hover,
+.lesson-card:hover,
+.framework-card:hover,
+.framework-detail:hover {
+ border-color: rgba(34, 211, 238, 0.44);
+ background: rgba(20, 27, 37, 0.9);
+ transform: translateY(-2px);
+}
+
+.card-topline {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 8px;
+ margin-bottom: 14px;
+}
+
+.card-topline small {
+ color: var(--muted);
+ font-size: 0.78rem;
+}
+
+.framework-pill,
+.tag-list span {
+ display: inline-flex;
+ align-items: center;
+ min-height: 26px;
+ padding: 4px 8px;
+ border: 1px solid rgba(34, 211, 238, 0.34);
+ border-radius: 999px;
+ background: rgba(34, 211, 238, 0.12);
+ color: var(--cyan);
+ font-size: 0.75rem;
+ font-weight: 800;
+}
+
+.agent-card h3,
+.usecase-card h3,
+.lesson-card h3,
+.framework-card strong,
+.framework-detail h2,
+.walk-card h3 {
+ margin: 0;
+ color: var(--text);
+ line-height: 1.25;
+}
+
+.agent-card p,
+.usecase-card p,
+.lesson-card p,
+.framework-card p {
+ margin: 10px 0 14px;
+ font-size: 0.92rem;
+}
+
+.tag-list,
+.card-actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+ margin-top: auto;
+}
+
+.tag-list span {
+ border-color: var(--border);
+ background: rgba(148, 163, 184, 0.1);
+ color: var(--soft);
+}
+
+.card-actions a {
+ flex: 1;
+ padding: 8px 10px;
+ border: 1px solid var(--border);
+ color: var(--soft);
+ font-size: 0.86rem;
+}
+
+.framework-card span,
+.framework-detail span {
+ color: var(--muted);
+ line-height: 1.6;
+}
+
+.framework-detail {
+ min-height: 280px;
+ justify-content: space-between;
+}
+
+.framework-stats {
+ display: grid;
+ grid-template-columns: 64px minmax(0, 1fr);
+ gap: 4px 12px;
+ padding: 12px 0;
+}
+
+.framework-stats strong {
+ color: var(--text);
+ font-size: 1.5rem;
+}
+
+.framework-stats span {
+ align-self: center;
+}
+
+.page-hero {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) 120px;
+ gap: 24px;
+ align-items: center;
+ padding: 66px 0 28px;
+}
+
+.page-hero-icon {
+ width: 112px;
+ height: 112px;
+ border-radius: 8px;
+}
+
+.catalog-toolbar {
+ display: grid;
+ grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
+ gap: 12px;
+ padding-top: 18px;
+}
+
+.filter-row {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ min-width: 0;
+ overflow-x: auto;
+ padding: 6px;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: rgba(15, 20, 28, 0.74);
+}
+
+.filter-row svg {
+ flex: 0 0 auto;
+ color: var(--muted);
+ margin-left: 6px;
+}
+
+.filter-row button {
+ flex: 0 0 auto;
+ border: 1px solid transparent;
+ background: transparent;
+ color: var(--muted);
+ cursor: pointer;
+ padding: 8px 11px;
+}
+
+.filter-row button:hover,
+.filter-row button.active {
+ border-color: rgba(34, 211, 238, 0.44);
+ background: rgba(34, 211, 238, 0.08);
+ color: var(--text);
+}
+
+.catalog-count {
+ margin-bottom: 14px;
+ color: var(--muted);
+}
+
+.detail-layout {
+ display: grid;
+ grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
+ gap: 18px;
+ width: min(1180px, calc(100% - 40px));
+ margin: 26px auto 0;
+ align-items: start;
+}
+
+.detail-aside {
+ position: sticky;
+ top: 88px;
+ display: grid;
+ gap: 18px;
+ padding: 18px;
+}
+
+.detail-main {
+ display: grid;
+ gap: 18px;
+ min-width: 0;
+}
+
+.metadata-panel {
+ display: grid;
+ gap: 10px;
+ padding: 16px;
+}
+
+.metadata-panel h2,
+.detail-aside h2 {
+ margin: 0;
+ font-size: 1rem;
+}
+
+.meta-row {
+ display: grid;
+ grid-template-columns: minmax(80px, 0.38fr) minmax(0, 0.62fr);
+ gap: 10px;
+ padding-top: 8px;
+ border-top: 1px solid rgba(148, 163, 184, 0.16);
+}
+
+.meta-row span {
+ color: var(--muted);
+}
+
+.meta-row strong {
+ min-width: 0;
+ overflow-wrap: anywhere;
+}
+
+.check-list,
+.lesson-card ul,
+.walk-card ul {
+ display: grid;
+ gap: 10px;
+ padding: 0;
+ margin: 0;
+ list-style: none;
+}
+
+.check-list li,
+.lesson-card li {
+ display: grid;
+ grid-template-columns: 18px minmax(0, 1fr);
+ gap: 9px;
+ color: var(--soft);
+ line-height: 1.55;
+}
+
+.check-list svg,
+.lesson-card svg {
+ color: var(--green);
+ margin-top: 3px;
+}
+
+.flow-trace {
+ display: grid;
+ gap: 8px;
+}
+
+.flow-step {
+ display: grid;
+ grid-template-columns: 32px minmax(0, 1fr);
+ gap: 10px;
+ align-items: center;
+ padding: 10px;
+ border: 1px solid rgba(148, 163, 184, 0.16);
+ border-radius: 8px;
+ background: rgba(8, 10, 15, 0.5);
+}
+
+.flow-step span {
+ display: grid;
+ place-items: center;
+ width: 28px;
+ height: 28px;
+ border-radius: 999px;
+ background: rgba(34, 211, 238, 0.14);
+ color: var(--cyan);
+ font-weight: 900;
+}
+
+.explain-panel,
+.code-explain,
+.related-band {
+ padding: 20px;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: rgba(15, 20, 28, 0.66);
+}
+
+.file-tabs {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+}
+
+.file-tabs button {
+ display: inline-flex;
+ align-items: center;
+ gap: 7px;
+ border: 1px solid var(--border);
+ background: rgba(15, 20, 28, 0.74);
+ color: var(--muted);
+ cursor: pointer;
+ padding: 9px 12px;
+}
+
+.file-tabs button.active,
+.file-tabs button:hover {
+ border-color: rgba(34, 211, 238, 0.5);
+ color: var(--text);
+}
+
+.code-block {
+ overflow: hidden;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ background: #07090d;
+}
+
+.code-toolbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 10px;
+ padding: 9px 10px;
+ border-bottom: 1px solid var(--border);
+ background: rgba(20, 27, 37, 0.78);
+ color: var(--muted);
+}
+
+.code-toolbar span,
+.code-toolbar button {
+ display: inline-flex;
+ align-items: center;
+ gap: 7px;
+}
+
+.code-toolbar button {
+ border: 1px solid var(--border);
+ background: rgba(8, 10, 15, 0.52);
+ color: var(--soft);
+ cursor: pointer;
+ padding: 6px 9px;
+}
+
+.code-block pre {
+ max-height: 580px;
+ margin: 0;
+ overflow: auto;
+ padding: 18px;
+ color: #d8e4f1;
+ font-size: 0.88rem;
+ line-height: 1.65;
+}
+
+.code-block.compact pre {
+ max-height: 260px;
+}
+
+.code-block code,
+.source-block code {
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+}
+
+.walkthrough-grid {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 12px;
+}
+
+.walk-card {
+ padding: 16px;
+}
+
+.walk-card svg {
+ color: var(--cyan);
+}
+
+.walk-card h3 {
+ margin-top: 10px;
+}
+
+.walk-card li {
+ color: var(--soft);
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
+ font-size: 0.82rem;
+ overflow-wrap: anywhere;
+}
+
+.source-block {
+ display: grid;
+ gap: 8px;
+ margin-top: 16px;
+ padding: 16px;
+}
+
+.source-block span {
+ color: var(--soft);
+ line-height: 1.6;
+}
+
+.source-block code {
+ color: var(--green);
+ overflow-wrap: anywhere;
+}
+
+.compact-grid {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+}
+
+@media (max-width: 1060px) {
+ .hero-grid,
+ .split-section,
+ .media-band,
+ .detail-layout,
+ .catalog-toolbar {
+ grid-template-columns: 1fr;
+ }
+
+ .hero-grid {
+ min-height: auto;
+ }
+
+ .detail-aside {
+ position: static;
+ }
+
+ .card-grid,
+ .usecase-grid,
+ .framework-grid,
+ .lesson-grid {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+}
+
+@media (max-width: 760px) {
+ .topbar {
+ position: static;
+ align-items: stretch;
+ flex-direction: column;
+ padding: 14px 18px;
+ }
+
+ .brand {
+ min-width: 0;
+ }
+
+ .nav-links {
+ justify-content: flex-start;
+ overflow-x: auto;
+ padding-bottom: 4px;
+ }
+
+ .icon-link {
+ width: 100%;
+ }
+
+ .hero-grid,
+ .page-hero,
+ .content-band,
+ .split-section,
+ .media-band,
+ .catalog-toolbar,
+ .stat-strip,
+ .detail-layout {
+ width: min(100% - 28px, 1180px);
+ }
+
+ .hero-copy h1,
+ .page-hero h1 {
+ font-size: 3rem;
+ }
+
+ .hero-copy p:not(.eyebrow),
+ .page-hero p:not(.eyebrow) {
+ font-size: 1rem;
+ }
+
+ .page-hero {
+ grid-template-columns: 1fr;
+ }
+
+ .page-hero-icon {
+ width: 82px;
+ height: 82px;
+ }
+
+ .graph-stage {
+ min-height: 410px;
+ }
+
+ .graph-node {
+ min-width: 118px;
+ padding: 9px 10px;
+ font-size: 0.78rem;
+ }
+
+ .stat-strip,
+ .card-grid,
+ .usecase-grid,
+ .framework-grid,
+ .lesson-grid,
+ .mini-card-grid,
+ .walkthrough-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .section-header {
+ align-items: start;
+ flex-direction: column;
+ }
+
+ .result-row {
+ grid-template-columns: 10px minmax(0, 1fr);
+ }
+
+ .result-row small {
+ grid-column: 2;
+ }
+
+ .media-band img {
+ min-height: 220px;
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ *,
+ *::before,
+ *::after {
+ animation-duration: 0.001ms !important;
+ animation-iteration-count: 1 !important;
+ scroll-behavior: auto !important;
+ transition-duration: 0.001ms !important;
+ }
+}
diff --git a/web/vite.config.js b/web/vite.config.js
new file mode 100644
index 0000000..58bec16
--- /dev/null
+++ b/web/vite.config.js
@@ -0,0 +1,12 @@
+import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react";
+
+export default defineConfig({
+ base: "/500-AI-Agents-Projects/",
+ plugins: [react()],
+ server: {
+ fs: {
+ allow: [".."],
+ },
+ },
+});