Overview
Chat Mode
Interactive conversation for exploration, planning, and discussion
Build Mode
Direct implementation with autonomous task execution
Chat Mode
Chat mode provides a conversational interface where you can:- Explore Ideas: Discuss potential approaches and solutions
- Ask Questions: Get explanations about code, concepts, or implementation details
- Plan Architecture: Design system architecture and discuss trade-offs
- Code Reviews: Get feedback on existing code and improvement suggestions
- Learning: Understand complex topics through interactive dialogue
Key Features
- Natural Conversation: Engage in back-and-forth discussions
- Context Awareness: Maintains conversation context across multiple exchanges
- Code Explanations: Detailed explanations of code functionality
- Best Practices: Guidance on coding standards and patterns
- Problem Solving: Collaborative approach to finding solutions
When to Use Chat Mode
Choose Chat mode when you want to:- Understand existing code before making changes
- Explore different implementation approaches
- Get explanations for complex concepts
- Plan major architectural changes
- Collaborate on problem-solving
Build Mode
Build mode is designed for direct implementation and autonomous task execution:- Autonomous Execution: AI takes initiative to complete tasks
- File Operations: Creates, modifies, and manages files directly
- Multi-step Tasks: Handles complex workflows that require multiple actions
- Tool Integration: Leverages available tools and integrations
- Progress Tracking: Monitors and reports on task completion
Key Features
- Direct Implementation: AI writes and modifies code directly
- Task Management: Breaks down complex tasks into manageable steps
- Error Handling: Automatically detects and fixes common issues
- Testing Integration: Runs tests and validates implementations
- Documentation: Generates relevant documentation alongside code
When to Use Build Mode
Choose Build mode when you want to:- Implement specific features quickly
- Refactor existing code
- Set up new projects or components
- Automate repetitive development tasks
- Execute well-defined implementation plans
Mode Switching
You can seamlessly switch between modes using the toggle control in the interface:Toggle Control
Use the Chat/Build toggle button to switch between modes:- Chat Mode: Toggle to the left for conversational interaction
- Build Mode: Toggle to the right for direct implementation
Mode Context
The current mode affects how Elastic Copilot interprets and responds to your requests:- In Chat Mode: Responses focus on explanation, discussion, and guidance
- In Build Mode: Responses focus on direct implementation and task execution
Sample Workflow Guide
Planning and Implementation Workflow
-
Start with Chat Mode
- Discuss requirements and constraints
- Explore different implementation approaches
- Plan the overall architecture
-
Switch to Build Mode
- Implement the planned solution
- Create necessary files and components
- Set up tests and configuration
-
Return to Chat Mode
- Review the implementation
- Discuss potential improvements
- Plan next steps
Example: Adding a New Feature
Chat Phase:Best Practices
Effective Chat Mode Usage
- Be Specific: Ask detailed questions to get precise answers
- Provide Context: Share relevant code snippets or project details
- Iterate: Build on previous responses to refine understanding
- Explore Alternatives: Ask about different approaches and trade-offs
Effective Build Mode Usage
- Clear Requirements: Provide specific implementation requirements
- Define Scope: Clearly outline what should be built
- Review Results: Check the implementation and provide feedback
- Test Integration: Verify that new code works with existing systems
Mode Selection Guidelines
| Scenario | Recommended Mode | Why |
|---|---|---|
| Learning new concepts | Chat | Interactive explanation and Q&A |
| Exploring architecture options | Chat | Discussion of pros/cons |
| Implementing known solution | Build | Direct, efficient implementation |
| Debugging complex issues | Chat | Collaborative problem-solving |
| Refactoring existing code | Build | Systematic code transformation |
| Code review and feedback | Chat | Detailed analysis and discussion |
Tips for Success
- Start Conversations Clearly: Begin with context about your project and goals
- Use Both Modes: Leverage Chat for planning and Build for implementation
- Provide Feedback: Help the AI understand your preferences and requirements
- Iterate: Don’t hesitate to refine and improve solutions
- Ask Questions: Use Chat mode to understand implementations created in Build mode