Skip to main content
Documentation

Groo Docs

Guides and references for Groo's developer tools and SDKs.

v0.0.15

Groo AI

Add an AI assistant to your documentation. Index your docs from GitHub, enable semantic search, and let users chat with your content.

  • Index from GitHub repositories
  • Semantic search with vector embeddings
  • RAG chat with source citations
  • OpenAI-compatible API
chat.tsOpenAI SDK
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: 'your-api-key',
  baseURL: 'https://ai.groo.dev/v1/projects/{project-id}',
})

const stream = await client.chat.completions.create({
  model: 'anthropic/claude-sonnet-4-20250514',
  messages: [{ role: 'user', content: 'How do I authenticate?' }],
  stream: true,
})
App.tsxReact
import { AIProvider, GrooChat } from '@groo.dev/ai-react'

function App() {
  return (
    <AIProvider
      projectId="your-project-id"
      auth={{ accountsUrl, clientId }}
    >
      <GrooChat />
    </AIProvider>
  )
}
TerminalRetrieve
curl https://ai.groo.dev/v1/projects/{project-id}/retrieve \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{ "query": "authentication setup", "limit": 5 }'

AI SDKs

Add AI-powered chat and search to your applications

Applications

End-user applications powered by Groo

Developer Tools

CLI tools and automation for your development workflow

Authentication SDKs

Secure, privacy-first auth for your applications