Overview
AI Suggestions provide inline completions based on your current context - whether you’re typing a message, writing code, or drafting an email. The system learns from your writing style and remembers your preferences to deliver increasingly personalized suggestions.Suggestions are powered by a persistent memory system that remembers facts about you, your projects, and your writing style across sessions.
Triggering Suggestions
| Shortcut | Action |
|---|---|
Ctrl+Space | Get AI suggestion for current context |
- Hotkey Mode
- Auto Mode
Manual trigger - Press
Ctrl+Space when you want a suggestion.- Full control over when suggestions appear
- Lower resource usage
- Best for focused writing sessions
How It Works
The suggestion system follows a three-step workflow:1. Memory Search (Mandatory)
Before generating any suggestion, the system always searches your memory to personalize the output:2. Generate Completion
Using the retrieved memories, the AI completes your sentence naturally:- Includes your original text plus continuation
- Uses memory context for personalization (names, preferences, projects)
- 1-3 sentences maximum
- No quotes, no questions - just natural completions
3. Store New Facts
If your input reveals new information, the system stores it for future suggestions:Memory-Enhanced Personalization
The suggestion engine remembers:Personal Details
- Your name, role, and profession
- Location and time zone
- Contact information
Writing Style
- Tone preferences (formal/casual)
- Verbosity (concise/detailed)
- Common phrases and terminology
Projects & Tools
- Technologies you work with
- Project names and details
- Frameworks and libraries
Preferences
- Email signatures
- Greetings and sign-offs
- Domain-specific knowledge
API Implementation
The suggest endpoint uses streaming responses with tool calls:Memory Tools
Three tools power the memory system:searchMemory
Retrieves relevant facts based on a query:
addMemory
Stores new facts from user input:
getAllMemories
Retrieves all stored memories for a user:
Examples
Example 1: Name Completion
Input:"My name is Avinash and I"
Process:
- Search memory for “name Avinash”
- Generate: “My name is Avinash and I am a passionate developer working on innovative projects.”
- Store the name fact
Example 2: Project Context
Input:"The project I'm building uses"
Process:
- Search memory for “project building technology”
- Find: User is working on Tabby with Next.js and Electron
- Generate: “The project I’m building uses Next.js and Electron for a seamless cross-platform experience.”
Example 3: Email Signature
Input:"Best regards,"
Process:
- Search memory for “email signature name”
- Find: User’s name is “Avinash” and role is “Software Engineer”
- Generate: “Best regards,\nAvinash\nSoftware Engineer”
Absolute Rules
The suggestion engine follows strict guidelines:Always call
searchMemory before any text outputAlways call
addMemory when new personal facts are sharedPerformance Optimization
The system uses several optimizations:- Fast models - Uses
defaultFastModelfor low-latency responses - Limited steps -
stopWhen: stepCountIs(6)prevents excessive tool calls - Streaming - Server-sent events (SSE) for immediate feedback
- Caching - Memory results are cached during the request
Privacy & Storage
All memories are stored locally by default:- Supabase vector store - Semantic search over memories
- Neo4j knowledge graph (optional) - Visual memory relationships
- User-scoped - Memories are isolated per user
- Encrypted - Stored with proper authentication
Memories can be viewed and managed from the Brain Panel (
Ctrl+Shift+B).See Also
- Action Menu - Quick AI transformations
- Brain Panel - View and manage memories
- Text Transformations - Available transformation actions