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

# AI Tools (Premium Only)

> Powerful AI tools that allow autonomous file management, codebase exploration, internet research, and code reviews

<Note>
  **Premium Feature**: AI Tools are available exclusively with a [Premium subscription](/docs/pricing). Free users have access to basic chat functionality without these autonomous capabilities.
</Note>

## Overview

AI Tools enable Onuro to work autonomously on your behalf, making it more than just a chatbot. These tools allow the AI to take direct action in your codebase and gather information from multiple sources to provide comprehensive assistance.

## Available Tools

### 1. Alter Files

**Create, edit, move, rename, and delete files automatically**

The AI can make direct changes to your codebase without requiring manual intervention. This includes:

* **Creating new files** with initial content
* **Editing existing files** by replacing specific line ranges
* **Moving and renaming files** while maintaining project structure
* **Deleting files** when necessary for refactoring

Example usage:

```
"Create a new user service class with CRUD operations"
"Refactor the authentication logic into separate modules"
"Remove all the deprecated utility functions"
```

### 2. Codebase Search

**Intelligent exploration of your entire codebase**

The AI can search through your project using both lexical (text-based) and semantic (meaning-based) search capabilities:

* **Lexical search** - Find exact matches, function names, variable names
* **Semantic search** - Understand context and find related code even with different naming
* **Pattern matching** - Search using regex patterns for complex queries

Example usage:

```
"Find all the API endpoints that handle user data"
"Show me where authentication is implemented"
"Locate any code that might have security vulnerabilities"
```

### 3. Run Terminal Commands

**Execute commands directly in your project's terminal**

The AI can run terminal commands on your behalf, enabling it to:

* **Install packages** - Add new dependencies with npm, yarn, or other package managers
* **Run build scripts** - Execute compilation, testing, and deployment commands
* **Git operations** - Commit changes, switch branches, merge code
* **Development servers** - Start local servers, run tests, execute custom scripts

The AI maintains its own terminal session and can see command output to make informed decisions about next steps.

Example usage:

```
"Install the latest version of React Router"
"Run the test suite and fix any failing tests"
"Start the development server and check for errors"
"Commit these changes with an appropriate message"
```

### 4. Internet Search

**Access external documentation and perform deep research**

The AI can search the internet to stay up-to-date with the latest information and best practices through our custom built unified search engine:

* **Documentation lookup** - Find official docs for libraries and frameworks
* **Best practices research** - Discover current industry standards
* **Deep research agent** - Comprehensive investigation of complex topics
* **Multiple search sources** - Access Google, GitHub, images, news, academic papers, and more

Example usage:

```
"What's the latest best practice for React state management?"
"Find the most recent security guidelines for Node.js apps"
"Research the performance implications of this database design"
```

### 5. Change Reviews

**Automated code review by specialized AI**

When the AI completes making changes, it can request a review from a specialized code review AI that analyzes the modifications:

* **Code quality assessment** - Identifies potential issues or improvements
* **Best practices validation** - Ensures code follows established patterns
* **Performance considerations** - Highlights potential performance impacts
* **Security review** - Checks for common security vulnerabilities
  The review process happens automatically when the AI feels confident about its changes, providing an additional layer of quality assurance.

### 6. Image Generation

**Create images from text descriptions**

The AI can generate custom images for your project needs:

* **UI mockups** - Create visual representations of interface designs
* **Icons and graphics** - Generate custom icons, logos, and visual elements
* **Diagrams** - Create flowcharts, architecture diagrams, and technical illustrations
* **Placeholder content** - Generate images for testing and development

The AI can create images in various aspect ratios and styles to match your project requirements.

Example usage:

```
"Generate a modern login page mockup"
"Create an icon for the user dashboard feature"
"Make a flowchart showing the authentication process"
"Generate placeholder images for the product gallery"
```

## Tool Integration

These tools work together seamlessly:

1. **Research phase** - Use internet search and codebase search to gather context
2. **Implementation phase** - Use file alteration tools to make changes
3. **Quality assurance phase** - Request change reviews for validation

This integrated approach allows Onuro to handle complex development tasks from start to finish with minimal user intervention.
