Copilot · 7 min read
AI Copilot
Build voice agents, journeys, tools, files and contact lists from one chat, refine them with an AI copilot, and ask questions about your whole workspace.
AI Copilot is a chat assistant built into Lemu. Inside a voice agent or a journey, you describe what you want in plain language, and Copilot proposes the change as edits you can review, apply, and undo. On its own Copilot page, it answers questions about your whole workspace and builds new things for you from one conversation: voice agents, journeys, tools, files and contact lists, already connected to each other.
Inside an editor, Copilot works from what you currently have open. It sees your nodes, connections, prompts, and settings automatically, so you don't need to paste anything in.
Opening Copilot in an agent or journey#
Inside a voice agent or a journey, click the Sparkles button in the bottom-right corner to open the AI Copilot panel. It opens as a side panel next to the editor, and Lemu remembers whether you left it open.
- It opens instantly. Your previous conversation for that agent or journey is loaded in the background as soon as the editor opens, so it is already there when you open the panel.
- Nothing runs on its own. If there is no conversation yet, you see a short hint and a Review this agent (or Review this journey) button. Click it when you want Copilot to look over the whole thing and suggest improvements.
- You can type right away. The message box is only locked while Copilot is answering a message you sent.
The Copilot page#
Copilot in the sidebar opens a full-page chat for your whole workspace. Use it to ask how things fit together, find an agent or journey, check how something is performing, plan what to build, or build it.
Your past conversations are listed in the history panel. Start a new one with New chat, reopen an old one by clicking it, or delete it.
Build everything from one chat#
Describe what you want in plain language, for example "Build an outbound agent that confirms cash-on-delivery orders, give it a tool that looks up the order in our system, and a journey that calls every new COD order 10 minutes after it is placed." Copilot works out everything that's needed and proposes it in one reply:
| What Copilot can create | Where it opens |
|---|---|
| Voice agents | The agent editor |
| Journeys, including one-time journeys for a list | The journey editor |
| Tools (an HTTP API call, end call, or transfer call) | Tools |
| Files for the knowledge base | Files |
| Contact lists, from contacts you describe or a CSV you attach | Contacts, filtered to the new list |
Items made in the same reply are linked for you: a new tool and file are attached to the new agent, and a new journey calls the new agent and uses the new contact list. Copilot can also attach existing tools and files to an existing agent.
Nothing is created until you click Create. Click Show Diff first to see each item and its settings. After you click Create, the reply shows a Created list with a link to each new item. The links stay in the conversation, so you can come back to them later.
Attach files#
Click the attachment button in the chat box to add up to five files to your message:
| File | What Copilot does with it |
|---|---|
.docx, .md, .txt (up to 20 MB) | Uploads it to Files so a new or existing agent can use it as knowledge, and reads it to understand what you want. |
.csv (up to 5 MB and 5,000 rows) | Reads the contacts and can turn them into a contact list. For larger files, use Import contacts. |
Ask about your workspace#
Copilot can look things up before it answers, so you can ask questions like "How did the COD confirmation journey do last week?" or "Why did the call to Priya end early?". It can read:
- your voice agents, journeys and tools, and search them by name;
- your WhatsApp templates;
- a journey's results and the contacts in it;
- a voice agent's call results;
- a call's transcript.
Copilot only shows what your role allows. For example, phone numbers stay hidden if you can't view personal data.
Guided setup with New Agent and New Journey#
The New Agent button on the Voice Agents page and the New Journey button on the Journeys page still open the guided setup, a short set of questions that builds one agent or one journey step by step. Use the Copilot page when you want several things built and connected at once.
Modes#
A mode selector at the bottom of the chat box controls how Copilot treats your next message:
| Mode | What it's for |
|---|---|
| Auto | Copilot decides how to help: answer, suggest, or propose edits |
| Just discuss | Talk it through. Copilot answers in words only and never proposes edits |
You can also click the microphone in the chat box to speak instead of typing.
Reviewing and applying changes#
When Copilot's reply includes proposed edits, it shows:
- Show Diff / Hide Diff: preview exactly what would change before committing to it
- Apply Changes: apply the edits to your canvas and save
- Undo: revert the last applied Copilot change
- Confirm risky change: required before Copilot can delete nodes or replace the whole graph; a confirmation dialog explains what's about to happen
Small changes you ask for directly, such as a setting, a template variable, or a rename, are made right away and reported in the reply, with an Undo button. Suggestions from a review always wait for you to click Apply Changes.
Deleting nodes or replacing an entire workflow/journey always requires this explicit confirmation step. Copilot never removes nodes or overwrites your graph silently.
Copilot's replies also include a short row of suggested follow-up chips (e.g. "Add extraction for the caller's name and phone") tailored to what it just found or changed. Click one instead of typing to continue the conversation.
Copilot for voice agent workflows#
Inside a voice agent workflow, Copilot can act as an AI workflow engineer for the whole graph or, if you have a node or edge selected on the canvas, for just that node or edge. Requests it can act on include, for example:
- Rewriting a node's prompt or greeting (tone, length, language)
- Adding, renaming, or deleting nodes (start, agent, end call, global, webhook, QA, or trigger nodes)
- Adding, editing, or removing edges and their transition conditions
- Turning on or updating variable extraction on a node
- Updating the Global Node prompt (agent name, company name, primary goal, tone, language)
- Updating template variables
- Renaming the workflow
- Attaching tools and files to the whole agent, or to the selected node
- Fixing problems that involve the journeys that call this agent
- Generating a full replacement flow for the current agent, or generating a brand-new agent as a separate workflow (both ask for confirmation first)
Some example prompts you can send it:
- "Review this workflow and suggest improvements"
- "Make the greeting warmer and more concise"
- "Add extraction for the caller's name and phone"
- "Simplify the flow and remove redundant nodes"
In Just discuss mode, try things like "What does this workflow do end-to-end?" or "Where are the riskiest failure points?" Copilot will discuss and critique without changing anything.
Guided setup for new agents#
When you click New Agent, Copilot opens a guided setup panel instead of the general chat above. It asks you a short, fixed sequence of questions (your use case and agent name, whether the agent is inbound or outbound, what should happen on the call, and whether to capture any extraction variables) and fills in the canvas as you answer, without requiring you to click Apply for each step.
You can type your answers or speak them using the microphone. See Voice Agent Builder for more on creating a new agent.
Copilot for journeys#
Inside the journey builder, Copilot understands journey-specific node types: trigger, call (place a voice call through a Lemu voice agent), message (WhatsApp), condition (branch on a field/operator/value, with true/false paths), wait (delay), http (HTTP request), emit event, load history, schedule, slack_message, jira_issue, calendar_event (see Integrations for those three), and end. Requests it can act on include:
- Updating a node's configuration (e.g. a condition's field/operator, an HTTP request's URL, a WhatsApp template) or its label
- Adding, renaming, or deleting steps
- Adding or removing branches and connections, including the true/false paths out of a condition node
- Simplifying a flow by removing redundant steps or improving field mappings between steps
- Updating journey-level settings, such as retries and calling hours
- Checking the voice agents this journey calls
- Replacing the entire journey with a new one (asks for confirmation first)
Some example prompts:
- "Review this journey and suggest improvements"
- "Add clearer error handling after failed steps"
- "Rename nodes so the flow is easier to follow"
- "Explain what this journey does end-to-end"
As with agents, Just discuss mode ("Explain this journey step by step", "Where could this flow get stuck?") is discussion-only and never proposes edits.
See Journeys for how journeys work.
Starting over#
Use the New chat button (pencil icon) at the top of the Copilot panel to start a fresh conversation. The previous conversation is kept and can be reopened from the Copilot page history. Starting a new chat does not undo edits you've already applied.
Was this page helpful?
Docs