gigacatalyst
v0.2.2
Published
Embeddable AI chat assistant SDK that auto-discovers API routes and generates dashboards
Downloads
552
Maintainers
Readme
GigaCatalyst SDK
Embeddable AI chat assistant SDK for Next.js apps. Auto-discovers your API routes and generates dashboards on the fly.
Quick Start
npx gigacatalyst initThis scans your app/api/ routes, generates a tools manifest, and sets up the chat handler and provider component.
Setup
After running init, wrap your root layout:
// app/layout.tsx
import { GigaCatalystProvider } from "./giga-root";
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html>
<body>
<GigaCatalystProvider>{children}</GigaCatalystProvider>
</body>
</html>
);
}Press Ctrl+K (or Cmd+K on Mac) to open the AI assistant.
What it does
- Scans your API routes and understands their schemas
- Provides a streaming AI chat interface
- Calls your APIs on behalf of the user
- Generates rich dashboards (charts, tables, stat cards) inline in the chat
Architecture
- CLI:
npx gigacatalyst initscans routes and generates.gigacatalyst/config - Server: Handles
/api/gigacatalyst/chatand/api/gigacatalyst/capabilities - Client:
<GigaRoot>component with floating chat button and panel
Packages
Import from subpaths:
import { createGigaHandler } from "gigacatalyst/server";
import { GigaRoot } from "gigacatalyst/react";