> ## Documentation Index
> Fetch the complete documentation index at: https://orchata.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Build intelligent applications with Orchata

## What is Orchata?

Orchata is a **Retrieval Augmented Generation (RAG)** platform that makes it easy to build intelligent applications. Whether you're building a chatbot, search engine, or AI agent, Orchata provides the infrastructure to organize, search, and retrieve your knowledge at scale.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/getting-started/quickstart">
    Get up and running with Orchata in under 5 minutes.
  </Card>

  <Card title="Core Concepts" icon="lightbulb" href="/getting-started/concepts">
    Understand Spaces, Documents, and Queries.
  </Card>

  <Card title="MCP Server" icon="plug" href="/mcp/overview">
    Connect AI assistants to your knowledge base.
  </Card>

  <Card title="TypeScript SDK" icon="js" href="/sdk/quickstart">
    Get started with the type-safe SDK.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/introduction">
    Explore the REST API documentation.
  </Card>
</CardGroup>

## Why Orchata?

### Organized Knowledge

We structure information into **Spaces** - logical containers for related documents. This organization isn't just for humans; it helps AI understand context and retrieve more accurate results.

### Semantic Search

Documents are automatically chunked, embedded, and indexed for fast similarity search. Ask questions in natural language and get relevant answers from your knowledge base.

### AI-Native

Built from the ground up for AI applications. Our MCP server lets Claude, Cursor, and other AI tools interact directly with your knowledge base.

### Production-Ready

Battle-tested infrastructure with:

* High-performance vector search
* Automatic document processing
* API key authentication

## How It Works

<Steps>
  <Step title="Create a Space">
    Organize your knowledge into focused spaces. Each space contains related documents.
  </Step>

  <Step title="Upload Documents">
    Add documents via the API, dashboard, or MCP tools. We handle chunking and embedding automatically.
  </Step>

  <Step title="Query Your Knowledge">
    Use semantic search to find relevant information. Our Smart Query feature even helps you discover which spaces to search.
  </Step>

  <Step title="Build Applications">
    Integrate with your applications using the TypeScript SDK, REST API, or connect AI assistants via MCP.
  </Step>
</Steps>

## Integration Options

<Tabs>
  <Tab title="TypeScript SDK">
    Type-safe SDK for Node.js, Deno, Bun, and browsers. Zero dependencies, full TypeScript support, and built-in AI SDK integration.

    ```typescript theme={null}
    import { Orchata } from '@orchata-ai/sdk';

    const client = new Orchata({ apiKey: 'oai_xxx' });
    const { results } = await client.query({
      spaceIds: 'space_123',
      query: 'How do I get started?'
    });
    ```

    See the [SDK Quickstart](/sdk/quickstart) to get started.
  </Tab>

  <Tab title="REST API">
    Full programmatic access to all Orchata features. Perfect for custom integrations and applications.

    ```bash theme={null}
    curl -X POST https://api.orchata.ai/query \
      -H "Oai-Api-Key: your-api-key" \
      -H "Content-Type: application/json" \
      -d '{"query": "How do I get started?", "spaceIds": ["space-id"]}'
    ```
  </Tab>

  <Tab title="MCP Server">
    Connect AI assistants like Claude Desktop and Cursor directly to your knowledge base. Add Orchata as a connector in your AI tool and authenticate via OAuth.

    See the [MCP Setup Guide](/mcp/setup/claude) for detailed instructions.
  </Tab>

  <Tab title="Dashboard">
    Manage spaces, documents, and API keys through our web interface at [app.orchata.ai](https://app.orchata.ai).
  </Tab>
</Tabs>

## Getting Help

<CardGroup cols={2}>
  <Card title="Documentation" icon="book" href="/getting-started/quickstart">
    Complete guides and tutorials.
  </Card>

  <Card title="API Reference" icon="rectangle-terminal" href="/api-reference/introduction">
    Detailed endpoint documentation.
  </Card>
</CardGroup>

<Note>
  Questions? Reach out to us at [support@orchata.ai](mailto:support@orchata.ai).
</Note>
