Back to docs

Using Zod agents

Build software at the speed of thought. Learn how to use Zod agents effectively — from starting a conversation to reviewing and applying changes.

Starting an agent

Open the agent panel by pressing the keyboard shortcut in your editor. Describe what you want to build in natural language and Zod takes it from there.

Natural language to code

Describe your task in plain English. Zod creates route handlers, validation, business logic, and tests automatically.

Providing context

Help Zod understand your project by providing context:

@-mention files

Type @ followed by a filename to point Zod at specific files or folders.

Upload images

Drag and drop screenshots, mockups, or diagrams as reference material.

Reference docs

Point Zod at documentation files, API specs, or design documents.

Agent modes

Zod offers different modes for different workflows:

Chat mode

Ask questions, get explanations, and explore your codebase conversationally.

Agent mode

Zod plans and executes multi-step tasks autonomously. Reviews changes with you.

Cloud agents

Run agents on cloud infrastructure, 24/7, in parallel. For long-running and background tasks.

Design mode

Direct agents with visual prompts, screenshots, and design mockups.

Reviewing changes

Zod shows you a diff of all changes before applying them. You have full control:

Accept changes

Approve the changes and they're applied to your project.

Reject changes

Discard the proposed changes entirely.

Request modifications

Ask Zod to adjust specific parts of the implementation.

Tips for best results

1

Be specific

Instead of "add a form", try "add a contact form with name, email, message fields and validation".

2

Reference existing code

Use @-mentions to point Zod at similar files or patterns you want it to follow.

3

Iterate

Review changes and ask for refinements. Agent mode shines in iterative workflows.