Skip to content

Welcome to the docs

Captain is an advanced API solution to make unstructured data searchable in natural language.

  • Getting Started


    Get started with the OpenAI SDK, Vercel AI SDK, or use the Captain API directly.

    Get Started

  • API Reference


    Complete reference for all Captain API endpoints with examples.

    API Reference

  • Tool Calling


    Enable your AI to use tools and execute functions with OpenAI-compatible tool calling.

    Tool Calling Guide

  • AI SDK Vercel AI SDK


    Swap in Captain in seconds from the Vercel AI SDK.

    Vercel AI SDK

Captain leverages a fleet of inference accelerated LLMs and lots of other fancy techniques to simplify the answer retrieval process down to it's bare necessities.

All you'll need is an API key and a bucket of files.

What Can Captain Do?

Index Your Data: Connect your S3 buckets and automatically index all your documents
Natural Language Search: Ask questions in plain English and get relevant answers
Manage Multiple Databases: Organize different document collections separately
Fast & Scalable: Built to handle thousands of documents efficiently

Key Features

S3 Integration

Connect directly to your S3 buckets and index entire collections with a single API call. Captain handles all the processing automatically.

Ask questions like "find contracts mentioning termination clauses" and get precise answers with references to source documents.

Database Management

Create, list, and manage multiple databases. Keep different document collections organized and separate.

Dead-simple Indexing

Index buckets into your Captain database simply. Chunking, computer vision, and universal OCR is all handled automatically. Your data is not embedded.

Tool Calling (Function Calling)

Enable your AI to use tools and execute functions. Works with OpenAI SDK, Vercel AI SDK, and other frameworks for seamless integration.

Use Cases

  • Legal Teams: Search through contracts, agreements, and legal documents
  • Research: Query research papers, reports, and technical documents
  • Customer Support: Build knowledge bases from support documentation
  • Compliance: Search audit trails, policies, and regulatory documents

Getting Help

Ready to Start?

Get Started with Captain →