Open Gamma banner
ComposioHQ ComposioHQ

Open Gamma

AI community

Description

An open source implementation of an AI agent that generates slides in google slides

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Open Gamma

A production-ready AI Chat application featuring tool usage (Google Slides, etc.), Vercel AI SDK for chat streaming, and NextAuth v5 for authentication.

Features

  • AI Chat: Powered by Vercel AI SDK (supports OpenAI, Anthropic, Google).
  • Tool Integration: Connect with external tools like Google Slides.
  • Authentication: Custom authentication flow with NextAuth sessions.
  • Database: PostgreSQL with Drizzle ORM.
  • Infrastructure: Next.js 15 (App Router), Tailwind CSS.
  • Security: Request validation, environment validation, and secure auth flows.

Tech Stack

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript
  • Database: PostgreSQL
  • ORM: Drizzle ORM
  • Auth: NextAuth.js (Auth.js v5)
  • AI: Vercel AI SDK + Composio
  • Styling: Tailwind CSS
  • Validation: Zod (Env vars & Schema)
  • Linting: ESLint + Prettier

Getting Started

1. Prerequisites

  • Node.js 18+
  • PostgreSQL database (local or cloud like Neon/Supabase)

2. Environment Setup

Create a `.env` file in the root directory:

# Database
DATABASE_URL="postgres://user:pass@localhost:5432/open_gamma"

# NextAuth
AUTH_SECRET="your_generated_secret" # generate with `npx auth secret` or `openssl rand -base64 32`
AUTH_URL="http://localhost:3000" # Deployment URL

# Composio (Tools & Auth)
COMPOSIO_API_KEY="your_composio_api_key"
AUTH_CONFIG_ID="your_auth_config_id" # From Composio Dashboard at platform.composio.dev

# AI Providers (At least one required)
OPENAI_API_KEY="sk-..."
ANTHROPIC_API_KEY="sk-..."
GEMINI_API_KEY="sk-..."

3. Installation

npm install

4. Database Setup

Push the schema to your database (for local dev):

npm run db:push

For production migrations:

npm run db:generate
npm run db:migrate

5. Run Development Server

npm run dev

Open [http://localhost:3000](http://localhost:3000).

Architecture

Authentication Flow

  1. User clic