Get Started

Your First Session

Start your first session and see what Lucid AI can do

Before you start your first session, make sure you've indexed and set up your repositories. These are the foundational steps that help Lucid AI understand and work with your codebase.

Now that you're all set up, kick off your first Lucid AI session! This guide will walk you through the new session interface and help you understand the best ways to interact with Lucid AI.

Understanding the Lucid AI Session Page

When you start a new session, you'll see two primary modes: Ask and Agent.

Unless you already have a fully scoped plan, we recommend starting with Ask to work with Lucid AI to understand the problem better before prompting agent mode to execute.

Ask Mode

Ask mode is for code research, browsing documentation, and planning. Use it to:

  • Ask questions about how your code works
  • Explore architecture and dependencies
  • Plan and scope tasks before implementation
  • Generate context-rich prompts for Agent sessions
Lucid AI — Ask Session
L
Sessions
Ask
How does the data flow through...
What is the stack for this repo
Are there any refactors we can consi...
What are the steps to migrate...
Thinking process (21 tools used)
Now I have a thorough understanding of the data flow. Here's the complete picture:
Data Flow Through the Application
This is a full-stack payment application with a clear layered architecture. Data flows through four main layers: UI Components → XState Machines → HTTP Client → Express Backend → lowdb JSON Database.
▸ Code snippets
▸ index.tsx cypress-realworld-app > src/
const root = createRoot
root.render(
<Router history={history}>
<StyledEngineProvider>
<ThemeProvider>
<App />
</ThemeProvider>
</StyledEngineProvider>
</Router>

Triggering Ask Mode

From the main page, type a query in the Ask input and press Enter. See the Ask Lucid AI guide for more details.

Lucid AI — New Session
Ask
+
Ask Lucid AI questions about your code

For Ask mode from a DeepWiki page, type a query in the chat input at the bottom of the page and click Ask. This will automatically scope Lucid AI's knowledge to that repository specifically.

Agent Mode

Agent mode is Lucid AI's full autonomous mode where it can write code, run commands, browse the web, and complete complex tasks end-to-end. Use Agent mode when you're ready to:

  • Implement features or fix bugs
  • Create pull requests
  • Run tests and debug issues
  • Perform multi-step tasks that require code changes

Triggering Agent Mode

You can trigger Agent mode from the main page or from an Ask Lucid AI session.

For tasks that are not fully scoped, we recommend:

  • Start with Ask mode to plan out the task
  • Construct a Lucid AI Prompt, which will draw from your Ask session to create a scoped plan
  • Click Send to Lucid AI to move to Agent mode and execute the task
Lucid AI — Agent Prompt Builder
Background Context
The COBOL codebase currently has two serialization implementations:
1. JSON Generation in json_generate/json_generate.cbl (lines 42-54)
2. XML Generation in xml_generate/xml_generate.cbl (lines 41-56)
Key COBOL Data Structures to Migrate
The COBOL code uses data structures like this (from json_generate/json_generate.cbl, lines 27-33):
• Record structures with fields like CUSTOMER-NAME, CUSTOMER-ID, CUSTOMER-BALANCE
• 88-level conditions (boolean flags) for status indicators
Ask a follow-up question or construct a Lucid AI prompt...
⚡ Fast ▾

For Agent mode from the main page, toggle to Agent mode and select the repository/repositories you want to work with.

Lucid AI — Sessions

What do you want to get done?

Ask Lucid AI to build features, fix bugs, or work on your code...
+ 65 repos ▾23 MCPsAgent

When starting an Agent session, you'll configure a few options: selecting a Repository and selecting an Agent.

Selecting a Repository

Select the repository you want Lucid AI to work with. Click the repository selector to see all repositories that have been added to Lucid AI's machine.

Lucid AI — Repository Selector
🔍 Search for a repo
lucid-ai-frontend
lucid-ai-backend
lucid-ai-docs
lucid-ai-cli
lucid-ai-sdk
design-system

When you select a repository, Lucid AI:

  • Has access to your codebase and can make changes
  • Uses the correct branch as a starting point
  • Can create pull requests to the right repository

Selecting an Agent

You can choose which agent configuration Lucid AI uses for your session. Different agents may have different capabilities or be optimized for specific types of tasks.

Currently, we have a default agent that works well for most tasks, and a data analyst agent named Dana that is optimized for data analysis tasks.

Lucid AI — Agent Selector

What do you want to get done?

Ask Lucid AI to build features, fix bugs, or work on your code...
+ 65 repos ▾Agent
Advanced →
AgentFast and good at long-horizon planning.

Using @ Mentions

When you type @ in the chat input, you'll see a dropdown of available mentions:

  • @Repos - Reference a specific repository
  • @Files - Reference a specific file in your codebase
  • @Macros - Reference a macro for a Knowledge entry
  • @Playbooks - Reference a team or community playbook, which are detailed prompt templates that can be used to guide Lucid AI's behavior.
  • @Secrets - Reference a specific secret (e.g. API keys, credentials, etc.) from Lucid AI's session manager
Lucid AI — @ Mentions

What do you want to get done?

@|
📁 ReposAll repositories added to Lucid AI's machine
📄 Files

Scoping Your First Session

Start with tasks that have clear success criteria and provide Lucid AI with the context it needs — just as you would when handing off work to a teammate. As you get comfortable, try progressively more complex tasks. We've seen users work with Lucid AI on everything from fixing small bugs to targeted refactors to large-scale migrations and building entire features from scratch.

As a rule of thumb: if a task would take you three hours or less, Lucid AI can most likely do it. For larger projects, break them into focused sessions and run them in parallel with batch sessions.

First-time Prompt Ideas

Browse Use Cases

Explore practical examples across engineering workflows — each includes prompts you can try immediately.

After Your Session

Once Lucid AI finishes, check out Session Insights — you'll get a timeline of what happened, actionable feedback, and an improved prompt you can use for similar tasks in the future.

Next Steps

Once you're comfortable with basic sessions, explore these resources to get more out of Lucid AI: