What is Agentic Mode?
Agentic mode transforms Avante from a simple chat interface into an autonomous coding agent that can:- Execute tools like bash commands, file operations, and code search
- Make decisions about which tools to use and when
- Generate code and apply changes automatically
- Iterate on solutions without constant user prompting
Agentic vs Legacy Mode
- Agentic Mode
- Legacy Mode
Autonomous Agent WorkflowPros:
- You ask a question or describe a task
- Agent analyzes the request and available tools
- Agent executes tools (read files, search code, run commands)
- Agent generates a response based on gathered context
- Agent can apply changes directly to your code
- More powerful and context-aware
- Can gather information autonomously
- Better for complex multi-step tasks
- Follows modern AI agent patterns
Available Tools
In agentic mode, the AI can use these tools autonomously:File Operations
read_file - Read file contents
read_file - Read file contents
Reads the contents of a file from your project.
write_to_file - Create or overwrite files
write_to_file - Create or overwrite files
Creates a new file or overwrites an existing one.
edit_file - Apply targeted edits
edit_file - Apply targeted edits
Makes surgical edits to specific parts of a file.
Code Search & Navigation
grep - Search code contents
grep - Search code contents
Searches for patterns in your codebase.
glob - Find files by pattern
glob - Find files by pattern
Finds files matching a glob pattern.
Execution & Analysis
bash - Execute shell commands
bash - Execute shell commands
Runs bash commands to gather information or make changes.
get_diagnostics - Fetch Neovim diagnostics
get_diagnostics - Fetch Neovim diagnostics
Retrieves LSP diagnostics for the current file or project.
Tool Permissions
Control which tools the agent can use:Auto-Approve All Tools
Prompt for All Tools
Auto-Approve Specific Tools
How Agentic Workflows Work
Here’s a typical agentic workflow:1
User provides a high-level request
2
Agent analyzes the codebase
The agent uses
grep to find all API call locations:3
Agent reads relevant files
For each file found, the agent uses
read_file to examine the code:4
Agent generates and applies fixes
The agent uses
str_replace or edit_file to add error handling:5
Agent reports results
The agent summarizes what was changed and asks if you want to apply the changes.
Agent Client Protocol (ACP)
Avante also supports external agentic tools through the Agent Client Protocol:- Gemini CLI - Google’s Gemini agent
- Claude Code - Anthropic’s coding agent
- Goose - Open source agent framework
- Codex - OpenAI’s coding agent
Best Practices
Configuration
Fine-tune agentic behavior:Next Steps
ACP Support
Use external AI agents with Avante
Available Tools
Complete tool reference
Project Instructions
Guide the agent with project context
Tool Permissions
Configure tool security