-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial Customizing Mosaic
This tutorial shows you how to tailor Mosaic to your specific needs — from writing effective system prompts and tuning temperature to choosing themes and optimizing your provider setup.
Estimated time: 15 minutes
The system prompt sets the AI's behavior, tone, and constraints. It's the single most powerful customization.
- Open Settings (⚙️)
- Find the System Prompt textarea
For technical documentation:
You are a senior technical writer. Write clear, concise documentation
with code examples. Use active voice. Include a "Prerequisites" section
for any setup steps. Always explain WHY before HOW.
For creative brainstorming:
You are a creative brainstorming partner. Generate diverse, unconventional
ideas. Don't self-censor. Structure responses as: (1) The core idea,
(2) Why it might work, (3) Potential challenges, (4) How to get started.
For code review:
You are a senior software engineer conducting a code review. Analyze code for:
- Correctness: does it work?
- Performance: can it be optimized?
- Maintainability: is it readable and well-structured?
- Security: are there vulnerabilities?
Be constructive and specific in your feedback.
| Do | Don't |
|---|---|
| Be specific about tone and format | Use vague instructions like "be helpful" |
| Include constraints (length, format) | Assume the AI knows your context |
| Set clear role expectations | Overwhelm with contradictory instructions |
| Keep it under 500 characters | Write a novel — concise prompts work better |
Temperature controls randomness in the AI's responses:
| Value | Range | Effect | Best For |
|---|---|---|---|
| 0.0 - 0.2 | Low | Deterministic, focused, repetitive | Code generation, factual Q&A, data extraction |
| 0.3 - 0.7 | Medium | Balanced creativity and precision | General conversation, analysis, explanations |
| 0.8 - 1.2 | High | Creative, diverse, unpredictable | Brainstorming, creative writing, ideation |
| 1.3 - 2.0 | Very High | Highly random, may be incoherent | Experimental, poetry, surreal content |
- Open Settings (⚙️)
- Adjust the Temperature slider (0.0 to 2.0)
- Code generation: Use 0.1-0.2 for deterministic, correct code
- Debugging/analysis: Use 0.3-0.5 for clear, logical analysis
- Explanations: Use 0.5-0.7 for natural, readable explanations
- Brainstorming: Use 0.8-1.0 for diverse ideas
- Switch mid-conversation: You can change temperature between branches for different perspectives on the same topic
Mosaic has 5 visual themes. The right theme reduces eye strain and improves focus.
| Theme | Type | Background | Accent | Best For |
|---|---|---|---|---|
| Void | Dark | Deep black/blue | Cool blue | Long coding sessions, low-light environments |
| Dusk | Dark | Cosmic purple | Rich purple | Creative work, evening use |
| Sand | Light | Warm beige | Earth tones | Daytime use, bright rooms |
| Snow | Light | Clean cool gray | Blue-gray | Professional settings, readability |
| Sunrise | Light | Golden warm | Gold tones | Morning use, warm environments |
- Open Settings (⚙️)
- Click a theme in the Theme grid
- The theme applies immediately
On first launch, Mosaic auto-detects your OS theme preference (dark/light) and selects the appropriate theme. You can override this manually.
Mosaic respects your OS accessibility settings:
-
prefers-reduced-motion: Disables animations -
prefers-reduced-transparency: Reduces glass effects
| Goal | Recommended Provider | Model |
|---|---|---|
| Maximum quality | Anthropic | Claude Sonnet 4 |
| Best value | Mistral | Mistral Large |
| Speed/simplicity | Mistral | Mistral Small |
| Creative tasks | OpenAI | GPT-4o |
| Local/offline | Ollama | Any local model |
| Cost-sensitive | Ollama or Mistral Small | Local or Small |
Configure all providers for maximum flexibility:
- Mistral: Primary — fast, reliable, good value
- OpenAI: Secondary — good for creative tasks
- Anthropic: For complex reasoning tasks
- Gemini: Alternative for specific tasks
- Ollama: Offline/local when internet is unavailable
For parallel debate, choose models with complementary strengths:
| Combination | Best For |
|---|---|
| Mistral Large + GPT-4o | General comparison |
| Claude Sonnet + Mistral Large | High-quality reasoning |
| Mistral Small + GPT-4o-mini | Cost-effective comparison |
| All 4 providers | Comprehensive analysis |
Toggle in Settings → Canvas → Minimap:
- On (default): Shows an overview of all nodes in the bottom-right corner
- Off: More canvas space, less visual distraction
Toggle in Settings → Canvas → Confidence:
- On (default): Each response shows a confidence badge
- Off: Cleaner node appearance, saves one API call per response
Toggle in Settings → Canvas → Tendrils:
- On (default): Auto-generated follow-up suggestions after each response
- Off: No suggestion nodes, less visual activity
Auto-layout arranges nodes in a radial tree pattern. Useful when:
- The canvas is messy after extensive branching
- You've dragged nodes around and want a clean arrangement
- After importing a canvas from another session
Trigger auto-layout:
- Settings → Auto-arrange (arranges entire canvas)
- Right-click a node → Auto-arrange (arranges from that node downward)
- Complete your analysis
- Settings → Export
- File downloads as
mosaic-{canvas-name}.json - Share with team members or archive
- Settings → Import
- Select a
.jsonfile - Canvas is validated and loaded
- All nodes, edges, bookmarks, and analytics are restored
- Daily: Export critical canvases at the end of each session
- Before major changes: Export before trying experimental features
- Sharing: Export a clean canvas without sensitive data
For full control, run local models via Ollama:
- Install Ollama
- Pull models:
ollama pull llama3.2ollama pull mistral - Point Mosaic to
http://localhost:11434 - Click Detect
Benefits of local models:
- No API costs — runs entirely on your machine
- Offline — works without internet
- Privacy — data never leaves your computer
- Custom models — use any model Ollama supports
Tradeoffs:
- Slower than cloud APIs (especially on CPU)
- Lower quality for most local models vs. cloud
- Requires significant RAM/VRAM
Once you've configured Mosaic perfectly, save your setup:
- Create a blank canvas with your ideal system prompt
- Configure your preferred theme, temperature, and provider
- Export this canvas as
template-default.json - When starting a new project, Import this template
You can create multiple templates for different use cases:
-
template-code-review.json: Low temperature, Mistral Large, system prompt for code -
template-brainstorm.json: High temperature, GPT-4o, creative system prompt -
template-research.json: Medium temperature, RAG enabled, analytical system prompt
| Setting | Location | Range/Options | Default |
|---|---|---|---|
| API Keys | Settings → API Keys | Mistral, OpenAI, Anthropic, Gemini | Empty |
| Ollama URL | Settings → Ollama | URL | http://localhost:11434 |
| System Prompt | Settings → System Prompt | Free text | Empty |
| Temperature | Settings → Temperature | 0.0 - 2.0 | 0.7 |
| Theme | Settings → Theme | Void, Dusk, Sand, Snow, Sunrise | Auto-detected |
| Minimap | Settings → Canvas | On/Off | On |
| Confidence | Settings → Canvas | On/Off | On |
| Tendrils | Settings → Canvas | On/Off | On |
| Debate Models | Settings → Debate Models | Multi-select | None |
- Advanced AI Features — Deep dive into each advanced feature
- Contributing Guide — Help improve Mosaic
- Keyboard Shortcuts and UI Reference — Complete UI documentation
Mosaic — Branch, explore, and run code inline — an infinite canvas for AI conversations.
Built with Tauri, React, and Mistral AI.
GitHub Repository |
Report an Issue |
Releases
- Canvas and Node System
- LLM Provider Integration
- RAG System Guide
- Advanced AI Features
- Keyboard Shortcuts and UI Reference
- Tutorial - Branching and Parallel Exploration
- Tutorial - Using RAG with Documents
- Tutorial - Advanced Features in Practice
- Tutorial - Customizing Mosaic