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

# Example Workflows

> Explore common workflows and use cases with Nia AI

This section contains practical examples and workflows to help you get the most out of Nia AI. Each example demonstrates real-world scenarios where Nia's intelligent search and code understanding capabilities shine.

## 1. Universal Search Across All Sources

<Frame>
  <iframe src="https://www.youtube.com/embed/e3mLtsTM6o0" title="Universal Search Across All Sources" className="w-full aspect-video rounded-xl" allowFullScreen />
</Frame>

Universal search lets you query across all indexed repositories, documentation, and web sources simultaneously. Instead of searching each source individually, Nia automatically routes your query to relevant sources and returns ranked results.

> **One query, all sources** - Search repos, docs, and web content in a single request
>
> **Auto-routing** - Nia intelligently determines which sources are most relevant

**Key Features Demonstrated:**

* Semantic + keyword hybrid search with configurable weighting
* Cross-source ranking and deduplication
* Source metadata and relevance scores
* Real-time results from repos and documentation

## 2. Package Search & Agent Building with AI SDK

<Frame>
  <iframe src="https://www.youtube.com/embed/NnxppAg4yBo?si=_y54FWLPmYZTD-Gr" title="Package Search & Agent Building with AI SDK" className="w-full aspect-video rounded-xl" allowFullScreen />
</Frame>

Here's Nia using package search (grep, hybrid search) and docs lookup to explore @aisdk source + docs, then building an agent in under 4 minutes:

> **Nia package search** lets you grep + search through the source of any package
>
> **Docs search** lets agents index and query any docs on the web

**Key Features Demonstrated:**

* Semantic code search across package source code
* Intelligent documentation querying
* Real-time agent development with context awareness
* Integration of multiple knowledge sources

## 3. One-Shot Integrations with Documentation Context

<Frame>
  <iframe src="https://www.youtube.com/embed/vL93Lohrczk?si=zcY0l2NF9fbH8c2o" title="One-Shot Integrations with Documentation Context" className="w-full aspect-video rounded-xl" allowFullScreen />
</Frame>

This example demonstrates how you can achieve one-shot integrations by indexing documentation. Here, Claude Code indexes Better Auth docs and codebase, then creates a complete integration in a single request.

**Workflow Highlights:**

* Index external service documentation
* Understand API patterns and implementation details
* Generate complete, working integrations
* Leverage comprehensive context for accurate implementations

## 4. Deep Research for Framework Discovery

<Frame>
  <iframe src="https://www.youtube.com/embed/B2K-vmMb0hw?si=kK61FkhIgOHmCmSw" title="Deep Research for Framework Discovery" className="w-full aspect-video rounded-xl" allowFullScreen />
</Frame>

Discover how you can use Nia deep research to find innovative frameworks, then index them for contextual development. This workflow shows the complete process from discovery to implementation.

**Research & Development Flow:**

* AI-powered discovery of relevant frameworks and tools
* Comprehensive analysis and comparison
* Index discovered resources for development context
* Build with full framework understanding

***

## Getting Started

Ready to try these workflows yourself? Start by setting up Nia MCP:

<Card title="Set up MCP" href="/integrations/installation/overview">
  Configure Nia MCP to enable all these powerful AI capabilities
</Card>
