Agent mode vs. Ask mode
Vybe has two interaction modes, and switching between them at the right time makes a real difference.Agent mode (default)
In Agent mode, the AI can create, edit, and delete files, run database queries, install packages, and connect integrations. Use it whenever you want the AI to make changes to your app.Add a new page that lists all orders from the last 30 days with status filters.
Ask mode
In Ask mode, the AI can read your code and answer questions, but it cannot make any changes. Use it when you want to understand your app without risking unintended modifications.How does the authentication flow work in this app?
What database tables are currently defined?
Explain what the /api/customers route does.
Choosing the right model
Different models have different strengths. Picking the right one for the task at hand saves time and credits.| Model | Best for | Speed | Credit cost |
|---|---|---|---|
| Opus 4.5 (default) | Complex features, architecture, debugging | Moderate | Higher |
| Opus 4.5 - High | Particularly difficult bugs, design decisions | Slower | Highest |
| Sonnet 4.5 | Straightforward additions, UI tweaks | Faster | Moderate |
| Haiku 4.5 | Simple edits, quick questions | Fastest | Lowest |
| GPT-5.1 | Alternative perspective, fresh approach | Moderate | Higher |
| Gemini 3 Pro | Another alternative model | Moderate | Moderate |
- Start with Opus 4.5 when building new features or tackling complex logic
- Switch to Sonnet 4.5 for UI adjustments and straightforward changes
- Use Haiku 4.5 for quick questions and minor text edits
- Escalate to Opus 4.5 - High when the standard model struggles with a problem
- Try GPT-5.1 or Gemini 3 Pro if you want a different approach to a tricky problem
Understanding locked files
Certain system files in your app are locked and cannot be edited by you or the AI:package.json— manages dependenciesnext.config.ts— Next.js configurationtsconfig.json— TypeScript configuration- Middleware configuration files
If you need functionality that would normally require changes to a locked file (like adding a new npm package), ask the AI. It knows the pre-approved packages and can install them through the proper channel.
When the AI asks you questions
Sometimes the AI needs more information before it can proceed. When this happens, it presents interactive forms with options to choose from or fields to fill in. For example, if you ask “add user authentication,” the AI might ask:- What fields should the user profile include?
- Should users sign up with email/password or OAuth?
- What pages should be protected?
Handling errors
Errors are a normal part of building apps. Here is how to handle them efficiently:Preview errors
If the live preview shows an error, click the error message to send it directly to the AI. The AI can read the error, trace it to the source, and fix it — often in a single step.Build and type errors
Before deploying, ask the AI to run type checks:Run a type check on the project and fix any errors.This catches issues like missing imports, incorrect types, and broken API route signatures before they reach production.
When the AI gets stuck
If the AI produces incorrect output or seems confused:- Rephrase your request — try describing the same goal from a different angle
- Reference specific files — “Update
src/app/customers/page.tsxto add a delete button for each row” - Break it down — split a complex request into two or three simpler steps
- Switch models — Opus 4.5 - High or a different provider may handle the problem better
- Start a new thread — if the conversation has become cluttered, a fresh thread can help
Thread management
Each app can have multiple conversation threads. Use threads to keep your work organized:- One feature per thread works well — it keeps the conversation focused and the context relevant
- Create a new thread when switching to a different topic or feature area
- Return to old threads to continue work — the AI retains the full conversation history
- Use descriptive names for threads so you can find them later
Code changes apply to the app regardless of which thread initiated them. Threads organize your conversations, not your codebase.
Getting the most out of each interaction
Give context upfront
Instead of making the AI discover context through trial and error, provide it in your prompt:
The customers page currently shows a table with name and email. Add a “Plan” column that reads from the plan_type field in the customers table.
Be explicit about behavior
Describe not just what something should look like, but how it should behave:When the user clicks Delete, show a confirmation dialog. If they confirm, call the delete API and show a success toast. If the API fails, show an error toast and keep the row in the table.
Use follow-up prompts for refinement
The AI responds better to iterative refinement than to monolithic prompts:- “Build a customer list page with a data table.”
- “Add search and filter by plan type.”
- “Add a detail view that opens when you click a row.”
- “Add edit and delete functionality to the detail view.”
What’s next
- Learn prompting techniques: Prompting Best Practices
- Understand platform constraints: Platform Limitations
- Troubleshoot common issues: Troubleshooting