Plan & Build Modes

Understanding Memex's two primary modes and how they work together to turn ideas into working software.

Why Two Modes?

The success of building with AI is directly proportional to the quality of planning and prompting that goes into the project. But prompt engineering is evolving rapidly, and learning how to effectively communicate with AI systems takes time and practice.

That's why Memex introduces Plan Mode—not just as another planning tool, but as an experienced technical product manager that guides you through the critical thinking and decision-making that sets up Build Mode for success.

Plan Mode: Your Strategic Partner

Plan Mode is designed to solve the "garbage in, garbage out" problem that affects all AI development tools. It acts as an experienced technical product manager who will:

  • Guide you toward choices that set you up for success

  • Help you think through trade-offs of different technical and business decisions

  • Adopt best practices like scoping down to an MVP before expanding

  • Steer you toward solutions that get you to value quickly

  • Push back on your ideas when appropriate to help you think through implications

What Makes Plan Mode Different

While other AI tools have planning features, Memex's Plan Mode is uniquely opinionated toward solutions that deliver value fast. It understands that the goal isn't just to create a plan, but to create a plan that leads to successful implementation.

Plan Mode will help you consider factors that non-technical users often don't think about upfront:

  • Sharing and collaboration: Do you plan to share what you build with others?

  • Design requirements: How important is visual design for your use case?

  • Scalability considerations: Will this need to handle many users or large amounts of data?

  • Integration needs: Does this need to connect with existing tools or services?

  • Deployment strategy: Where and how will this run?

How Plan Mode Works

Plan Mode follows a structured approach to requirements gathering:

circle-info

The phases below are representative of the types of information Memex will gather when set to Plan mode. The specific phases and questions will vary depending on what you are looking to build.

1. Discovery Phase Plan Mode asks probing questions to understand your true needs:

2. Requirement Clarification Based on your answers, Plan Mode digs deeper into areas that need clarification:

3. MVP Scoping Plan Mode helps you identify the smallest version that delivers real value:

4. Technical Strategy Plan Mode creates a development approach optimized for Build Mode success:

The Plan Document

Plan Mode generates a structured plan.md file that includes:

  • Project Overview: Clear description of what you're building and why

  • User Requirements: Who will use this and what they need

  • Technical Approach: Recommended technology stack and architecture

  • Development Phases: Step-by-step implementation plan

  • Success Criteria: How you'll know when each phase is complete

This document becomes the foundation for Build Mode to work from, ensuring consistent direction throughout development.

Once Plan Mode has worked through your requirements and created a structured plan, it will ask if you're ready to start building or if you'd like to continue refining the idea. If you're ready to proceed, you can choose to start building immediately in the same conversation, or begin fresh in a new conversation with your plan as the foundation.

Build Mode: Your Implementation Partner

Build Mode takes the structured plan and turns it into working software. It's designed to work seamlessly with the plans created in Plan Mode, but it's also flexible enough to handle ad-hoc requests and modifications.

Build Mode Capabilities

Code Development

  • Writes code in any programming language

  • Follows the architecture and patterns outlined in your plan

  • Implements features incrementally based on plan phases

Environment Management

  • Sets up development environments and dependencies

  • Manages virtual environments and package installations

  • Handles complex configuration and setup tasks

File Operations

  • Creates and manages all project files

  • Organizes code according to best practices

  • Maintains project documentation as development progresses

Testing and Debugging

  • Runs applications to verify functionality

  • Debugs issues and implements fixes

  • Tests features to ensure they work as specified

Version Control

  • Initializes git repositories with appropriate .gitignore files

  • Commits progress at logical milestones

  • Maintains clear commit history for project tracking

Working with Your Plan

When Build Mode receives a plan from Plan Mode, it understands how to:

  • Follow the implementation sequence outlined in the plan

  • Make technical decisions that align with the strategic choices in the plan

  • Stay focused on the current phase while keeping future phases in mind

  • Adapt the plan when technical realities require adjustments

Beyond Planned Development

Build Mode is also excellent for unplanned work:

Working Across Modes

While you can start with either mode, we recommend beginning new projects in Plan Mode for the best results. Plan Mode is helpful in the majority of scenarios because it:

  • Helps you define clear requirements even from vague ideas

  • Ensures you're building something valuable from the start

  • Provides guidance on technical architecture decisions

  • Helps you avoid common pitfalls in project planning

Example workflow:

  1. Plan Mode: Define requirements and create development plan

  2. Switch to Build Mode: Implement Phase 1 of the plan

  3. Back to Plan Mode: Evaluate results and plan Phase 2

  4. Build Mode: Continue implementation

Starting with Build Mode

Jump directly into Build Mode when you:

  • Have clear, specific requirements

  • Are working on existing projects

  • Need to make targeted changes or fixes

  • Want to experiment with a quick prototype

Switching Between Modes

You can switch modes at any time during a conversation using the toggle below the conversation input. Simply click to switch between Plan and Build modes—no need to ask Memex to make the change.

When switching from Plan to Build: After completing your planning phase, toggle to Build Mode to begin implementation.

When switching from Build to Plan: If you need strategic guidance during development, toggle to Plan Mode for architectural decisions or feature planning.

[4]

Best Practices for Each Mode

Plan Mode Best Practices

Be open to questions and pushback:

Let Plan Mode guide you toward a more focused, achievable scope.

Share context about your situation:

Be honest about your technical comfort level:

Build Mode Best Practices

Reference the plan:

Work incrementally:

Test and verify:

Save progress:

Advanced Mode Usage

Context Continuity

Both modes maintain awareness of your project history:

  • Plan Mode considers previous plans and decisions

  • Build Mode remembers the technical implementation details

  • Context flows naturally between modes

Custom Instructions for Modes

You can set mode-specific preferences in your Custom Instructions:

Project Rules Integration

Both modes respect project-specific rules stored in your .memex/context.md file, ensuring consistent behavior across conversations and modes.

Plan and Build Modes work together to provide the complete development experience—from initial concept to working software. Plan Mode ensures you're building the right thing, while Build Mode ensures you build it right.

Last updated

Was this helpful?