AI Agents
Use prebuilt or create custom AI agents (we also call them Zen Agents) that can be called for selected code or entire files directly in your IDE
Understanding AI Agents
AI Agents in Zencoder are customizable, and sharable agents transforming how you code. Whether you’re using our prebuilt agents or creating custom ones, these intelligent agents can be called for selected code or entire files directly in your IDE, helping you automate repetitive tasks, maintain coding standards, and improve your overall development efficiency.
Navigating Agent Categories
At the top of the AI Agents screen, you’ll find tabs that help you filter and navigate between different types of agents:
All
Shows all available agents
Zencoder
Displays prebuilt agents created by Zencoder (with the number indicating how many are available)
Custom
Shows your custom agents (with the number indicating how many you’ve created)
This categorization makes it easy to distinguish between default agents and your own custom creations.
Creating and Managing AI Agents
Adding a New Agent
- Click the three dots menu (⋮) at the top right corner.
- Select Agents
- Click the Add custom agent button in the top right
Configuring an Agent
When adding or editing an agent, you’ll need to set these properties:
Basic Settings:
- Name: A descriptive name for your agent (required)
- Share: Control who can see and use this agent
- Personal: Visible only to you
- Shared: Visible to your entire organization
Configuration:
- Command: The chat command to invoke your agent (required)
- Instructions: Detailed prompt instructions that define your agent’s behavior (required)
- Tools: Enable specific tools your agent can access
Instructions Format
Define clear instructions for your agent that explain its purpose and how it should operate. Here’s an example of instructions for a Repository Analyzer agent:
Your instructions should be specific enough to guide the agent’s behavior, but also flexible enough to work across different contexts.
Tool Selection
Agents can access various tools to enhance their capabilities:
- git
- File Search
- Full Text Search
- Web Search
- Fetch Webpage Content
- Semantic Code Search
- File Editor
- Execute Shell Command
- Gather Requirements
- …
Simply click on the tools your agent should have access to in the Tools section.
Sharing Agents
If you’re an admin, you can share agents with your organization:
- When editing an agent, find the Share dropdown
- Choose between:
- Personal: Visible only to you
- Shared: Visible to the whole organization
Using the Agents Marketplace
The Zencoder Agents Marketplace is constantly growing! We’re regularly adding new specialized agents to help with different aspects of your development workflow.
Browsing the Marketplace
The marketplace contains specialized agents for various development tasks, from bug prevention to documentation generation. Visit the marketplace to explore all available agents.
Using Agents from the Marketplace
Our Zencoder extension allows you to integrate powerful coding agents directly into your IDE. Follow these steps to browse and use agents from our Marketplace.
Browse Agents
Visit our Agents Marketplace to explore available agents. Browse through the list and select the one that best suits your development needs.
View Agent Details
Click on the agent to view its details, including:
- Name
- Description
- Instructions
- Tools required
Create a Custom Agent
- Open the Zencoder extension in your IDE.
- Click the three dots menu (⋮) at the top right corner.
- Select Agents to open the custom agent creation page.
- Click Add Custom Agent.
Configure the Agent
- Name: Give your agent a unique name.
- Instructions: Copy the instructions from the agent’s detail page on the Marketplace and paste them into the “Instructions” field.
- Tools:
- Open the Tools section in the extension.
- Navigate to Manage Tools.
- Search for the tools listed in the agent’s details and install them if needed.
Tool configuration is case-by-case. Follow the guidance provided in the agent’s description. There are no standardized patterns yet.
Finalize and Test
- After configuring the agent with the name, command, instructions, and tools, save it.
- You can now use this custom agent directly in your IDE for coding assistance.
Contributing Your Own Agents
We encourage all users to contribute to the Agents Marketplace! Whether you’ve created a specialized agent for a specific framework, language, or development task, sharing it helps grow our community of developers.
Using Agents in Your Workflow
Once configured, you can use agents by:
- Selecting code in your editor or focusing on an entire file
- Invoking the agent using its command (e.g.,
/unittests
,/review
) - The agent will perform its specialized task on the selected code
Prebuilt Agents
Zencoder includes the following built-in agents:
Coding Agent
Performs development tasks like bug fixing, refactoring, or feature development
Unit Tests Agent
Generates unit tests for all popular programming languages
Review Agent
Provides code review and insights for your codebase