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

# Introduction

> Empower your team with AI that deeply understands your codebase

## Chat with Your Codebase

<Frame>
  <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/chat-full.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=600b4443989031e0eb49626921485ac8" alt="AI Understanding Visualization" width="1174" height="1152" data-path="images/chat-full.png" />
</Frame>

Unlike simple RAG-based solutions, Depth AI constructs a detailed code graph that captures the complete structure of your codebase. This enables it to answer complex questions on large and messy codebases.

<CardGroup cols={2}>
  <Card title="Component Relationships" icon="diagram-project">
    Map out how different parts of your system interact and depend on each other
  </Card>

  <Card title="Architectural Patterns" icon="sitemap">
    Identify and understand the architectural patterns used across your codebase
  </Card>

  <Card title="System Dependencies" icon="code-branch">
    Track all internal and external dependencies throughout your system
  </Card>

  <Card title="Code Hierarchies" icon="tree">
    Visualize the hierarchical structure of your codebase components
  </Card>
</CardGroup>

## Available Everywhere You Code

<Steps>
  <Step title="Web App" icon="browser">
    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/chat.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=0c9dd6413a4da1146ef9ba894aabe274" alt="Depth AI Web Interface" width="1141" height="792" data-path="images/chat.png" />
    </Frame>

    Chat with your codebase through our web app.
  </Step>

  <Step title="Slack Integration" icon="slack">
    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/slack.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=5167331bf408215f7bdeb7ab07395230" alt="Depth AI Slack Integration" width="1682" height="1496" data-path="images/slack.png" />
    </Frame>

    Get instant answers about your code directly in Slack - where your team already collaborates.
  </Step>

  <Step title="GitHub Copilot" icon="github">
    <Frame>
      <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/copilot.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=be4edbc8acd50b1fd134b865058acbf1" alt="Depth AI GitHub Copilot Integration" width="1005" height="1141" data-path="images/copilot.png" />
    </Frame>

    Seamless integration with GitHub Copilot for enhanced development experience.
  </Step>
</Steps>

<CardGroup cols={3}>
  <Card title="Web App" icon="browser" href="/integrations/web">
    Learn more about our web interface
  </Card>

  <Card title="Slack Integration" icon="slack" href="/integrations/slack">
    Set up Depth AI in Slack
  </Card>

  <Card title="GitHub Copilot" icon="github" href="/integrations/github-copilot">
    Enhance GitHub Copilot with Depth AI
  </Card>
</CardGroup>

## Specialized Assistants

Create specialized assistants on different parts of your codebase and deploy them in your workflows. Just select files and folders from your codebase as knowledge sources, and the assistant is ready.

<Frame>
  <img src="https://mintcdn.com/depthai/EGK_mLAbRrvUxRQF/images/assistants.png?fit=max&auto=format&n=EGK_mLAbRrvUxRQF&q=85&s=3c5ca922d2c566e5a72a8f0f39cf3e69" alt="Creating Specialized Assistants" width="1467" height="893" data-path="images/assistants.png" />
</Frame>

<Card title="Learn More About Assistants" icon="robot" href="/guides/assistants">
  Detailed guide on creating and deploying specialized assistants for your team
</Card>

## API First

Use the chat API to build tools on top of Depth AI.

```bash theme={null}
curl -X POST "https://api.trydepth.ai/chat?repo_name=github.com/calcom/cal.com" \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{"role": "user", "content": "What are the API routes?"}],
    "model": "gpt-4"
  }'
```

### Example Tools You Can Build

<Steps>
  <Step title="On-Call Debugger" icon="bug">
    Build a bot that helps on-call engineers debug production issues by providing context about error logs and related code.
  </Step>

  <Step title="Documentation Writer" icon="book">
    Create automated documentation generators that explain code changes and keep technical docs in sync with your codebase.
  </Step>

  <Step title="Code Review Bot" icon="code-pull-request">
    Deploy an AI reviewer that analyzes pull requests and provides detailed feedback based on your codebase patterns.
  </Step>
</Steps>

<Card title="Chat API" icon="robot" href="/api-quickstart">
  Detailed guide on using the chat API
</Card>
