A GTK-based Linux desktop client for OpenAI, Google Gemini, xAI Grok, Perplexity Sonar and Anthropic Claude APIs, featuring voice input/output and a clean interface. This project was primarily generated through AI assistance (Claude, O1, O3-mini, Grok, GPT 5.1).
Syntax highlighting |
Equation rendering |
Image generation |
Document mode |
- Features
- Installation from AUR
- Quick Install (Virtual Environment)
- Manual Installation
- Usage
- Getting API keys
- Custom Models
- Grok Model Discovery and Search
- Model Discovery and Specialized Models
- Local Models
- Document Mode
- Document Import / Conversion
- Tools Support
- Memory System
- FAQ
- Requirements
- Clean GTK3 interface
- Voice to text for both the asking questions or dictation
- Syntax highlighting for code blocks
- LaTeX formula rendering
- Document mode to perform edits and help you write
- System prompt switching to tailor responses to the task at hand
- Organise your conversations and documents as projects
- Image generation by directly prompting image models or through function calling
- Export conversations and documents to PDF
- Text to Speech using what ever model and voice you choose
- Real-time voice conversation support using OpenAI's and xAI's realtime models
- Reasoning level adjustment for capable models
- Tool use including music control, image generation, web search, Wolfram Alpha queries, and a read aloud tool that lets your assistant decide when to use TTS
- Multi-provider support for Local, OpenAI, Gemini, xAI, Perplexity, Anthropic and 3rd parties
If you are on Arch Linux or a derivative, you can install ChatGTK from the AUR:
AUR package: chatgtk_client-git
On Debian, Ubuntu, and similar distros, install the GTK runtime packages first:
sudo apt install python3-venv python3-gi gir1.2-gtk-3.0 gir1.2-gtksource-4 libportaudio2Then use the installer to create a virtual environment and desktop entry:
curl -fsSL https://raw.githubusercontent.com/rabfulton/ChatGTK/master/installer.sh | bashThe installer reuses those system GTK bindings inside the virtual environment.
You can now run ChatGTK from your desktop launcher!
On Linux, install the GTK bindings from your package manager instead of pip. Debian/Ubuntu example:
sudo apt install python3-venv python3-gi gir1.2-gtk-3.0 gir1.2-gtksource-4 libportaudio2git clone https://github.com/rabfulton/ChatGTK
cd ChatGTKCreate the virtual environment with access to those system packages, then install the Python-only dependencies:
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
pip install -r requirements.txtOr use your package manager to install the dependencies.
- You optionally require
texliveanddvipngif you want mathematics to render nicely. - Install
beetsandplayerctlif you want the music control functionality. - Install
poppler-utilsandtesseract-ocrif you want OCR / PDF-to-text conversion for scanned documents. - Install
qdrant-client,qdrantif you want to try the vector database for memory system. - Install
keyringif you want to store API keys in your system keyring instead of a plaintext file.
Windows: see docs/BUILD_WINDOWS.md:1 for dev-run instructions (WSL2/MSYS2).
Launch the application by running:
./chatgtk.shOptionally run the install script to add a desktop entry and set up the environment variables for you.
./install.shSwitching chats or projects discards pending responses and compaction results from the previous conversation. Requests already sent to an API may still finish remotely.
The application looks for the following environment variables:
OPENAI_API_KEY(Currently required for some audio functions)GEMINI_API_KEY(optional)GROK_API_KEY(optional)CLAUDE_API_KEY/ANTHROPIC_API_KEY(optional)PERPLEXITY_API_KEY(optional)
You will need at least one API key for the application to function. Alternatively you can manage API keys from within the app via the API Keys settings page or define a custom endpoint in the Custom Models settings page. You can also use the systems keyring to hold your API keys, configure this in settings->API Keys.
-
OpenAI API key
- Sign up or log in at OpenAI's platform.
- Go to your API keys page and create a new key.
- Optionally manage billing/credits from your billing page.
- Set the key in your shell, for example:
export OPENAI_API_KEY="sk-..."
-
Google Gemini API key
- Visit Google AI Studio.
- Create or select a project and generate an API key from the API keys section (often available at
https://aistudio.google.com/app/apikey). - Set the key:
export GEMINI_API_KEY="your-gemini-key"
-
Grok (xAI) API key
- Sign up or log in at xAI and open the developer console (e.g.
https://console.x.ai). - Create a new API key for the Grok models.
- Set the key:
export GROK_API_KEY="your-grok-key"
- Sign up or log in at xAI and open the developer console (e.g.
-
Anthropic Claude API key
- Sign up or log in at Anthropic Console or Claude platform.
- Create an API key for Claude models (e.g.
claude-sonnet-4-5,claude-haiku-4-5). - Set the key (either of these is accepted by the app):
export CLAUDE_API_KEY="sk-ant-..." # or export ANTHROPIC_API_KEY="sk-ant-..."
- Claude support is implemented using Anthropic's OpenAI SDK compatibility layer as documented at
https://platform.claude.com/docs/en/api/openai-sdk.
-
Perplexity Sonar API key
- create an API key at Perplexity
- set the key:
export PERPLEXITY_API_KEY="your-perplexity-key"
-
Custom Providers
- You can integrate any custom provider that has an OpenAPI compatible endpoint.
- Keys can be set as environment variables or inside the applications settings.
- I have tested Openrouter, Mistral, Nvidia Cloud, Groq and Bytedance so far.
Reasoning and the live response stay hidden until you click the Assistant is thinking… box above the answer. It opens a scrollable preview of up to sixteen lines and scrolls it into view; click again to collapse it. On smaller windows the preview fits the available height. The preview labels reasoning and the streaming response separately, and follows new text until you scroll up. If no reasoning is returned, the response preview still shows progress. The finished answer is rendered in the main conversation. The completed reply keeps a collapsed Reasoning section, which is saved with the chat. Copy, read-aloud and semantic memory use the answer.
| Provider | Streaming and reasoning support |
|---|---|
| OpenAI | Responses streaming; requests reasoning summaries for modern GPT reasoning models and supported o3/o4 models. Older chat models stream answers where supported. |
| Gemini | Native streaming with thought summaries and signed function-call continuation. |
| Grok | Responses streaming for modern models; displays reasoning or summaries when returned. Legacy chat streaming is also supported. |
| OpenRouter | Custom chat endpoints; requests reasoning and preserves structured reasoning details for tool continuation. |
| llama.cpp and other local servers | Custom chat endpoints; accepts reasoning_content and leading <think>…</think> blocks, including tags split across chunks. |
Reasoning availability depends on the selected model and server configuration. OpenAI and Gemini expose summaries; some models return no visible reasoning. Servers returning a complete JSON response instead of an event stream still work, with the answer and reasoning shown when the response completes.
During generation, text updates in batches to keep the UI responsive. Full Markdown, code, tables and formulas render when the answer completes. Scrolling up pauses automatic following. Cancel closes the active stream and keeps the partial reply marked Stopped. A broken or truncated stream keeps available output marked Response interrupted. Switching chats discards late updates. Image generation, audio, and providers without a streaming adapter retain their existing request paths.
Protocol references: OpenAI reasoning, Gemini thinking, Grok reasoning, OpenRouter reasoning, and llama.cpp server.
Use Settings > Models > Refresh Models to update provider listings, then select the models you want in the conversation selector. Anthropic discovery uses its native model-list API, including pagination, rather than a fixed list. Gemini discovery also follows pagination. Refreshed listings are cached for later sessions.
The old five-model Claude preset cache is refreshed once when opening its whitelist with a configured provider. Discovery failures are labelled in the provider section, including HTTP status when available, rather than presenting fallback presets as a complete listing. Models returned by the API do not need a built-in card to appear. Select their checkboxes and save settings to include them in the conversation selector.
Image, speech and file-transcription selectors combine supported capabilities with each provider's last successful model listing. These choices are independent of the conversation whitelist. Failed refreshes retain the cached listing, and custom endpoints remain available without remote discovery. Saved or manually entered choices are preserved; a saved TTS model missing from discovery is labelled not in latest listing. Historical cards remain available for older chats.
Known deprecated models are grouped under a collapsed Deprecated section within each provider's whitelist. Hover over a model for its documented shutdown date and suggested replacement, where known. Selections and group expansion are preserved when refreshing; grouping does not change the selected model or remove older model cards. OpenAI lifecycle information was reviewed on November 10, 2026 against its deprecation schedule.
Recognized variants of the GPT Image, conversational GPT Realtime, GPT Audio,
OpenAI speech/file-transcription and Gemini image/TTS families inherit the app's existing routing.
Discovered image models appear in the image tool selector; supported speech
models appear in Audio > Text to Speech Model, including dated snapshots.
The selected speech model is used for playback, automatic read-aloud, the
read-aloud tool and voice previews. Speech selection now uses explicit model IDs;
the TTS HD switch has been removed. Old OpenAI settings migrate to tts-1 or
tts-1-hd according to the saved HD preference; old Gemini settings migrate to
gemini-2.5-flash-preview-tts. Model-card overrides take precedence.
File transcription supports gpt-transcribe and recognized dated OpenAI
transcription variants through the upload endpoint. Live-only transcription
models are excluded until a dedicated streaming transcription adapter exists.
Conversational GPT Realtime models use the GA session format. Explicitly named legacy realtime-preview models retain their beta transport. Translation and transcription realtime models are separate workflows and are not treated as conversational voice models.
Family recognition covers compatible variants, not arbitrary future API changes.
Unknown models do not automatically gain tools, vision or other capabilities.
OpenAI's Speech API retirement notice
sets January 6, 2027 as the shutdown date for tts-1, tts-1-hd and
gpt-4o-mini-tts. Replacing read-aloud synthesis with a Realtime workflow is a
separate migration; selecting a realtime model in the Speech API is not supported.
The Speech Prompt Template is shared by the play button, automatic TTS and the
read-aloud tool when using Gemini TTS or OpenAI chat-based audio models. Plain
tts-1 and tts-1-hd read the supplied text and do not support speech instructions.
Although gpt-4o-mini-tts supports an API instructions field, ChatGTK's current
Speech API adapter does not yet send it. Custom TTS adapters and voice previews
also do not apply the saved template. Prompt support must be wired per adapter
when adding the new Realtime synthesis path.
Grok support was reviewed on November 2, 2026 against xAI's
model documentation and live API results.
ChatGTK discovers IDs from /v1/models and aliases from /v1/language-models.
New models are not restricted by a provider-side allowlist. Use Refresh in the
Models settings to update a cached listing, then select the models you want.
Defaults include grok-latest, Grok 4.3/4.5/4.6/4.7, Imagine image generation,
and ChatGTK's grok-realtime voice entry. Modern chat uses the Responses API
with optional web/X search. Multi-agent models support server-side search but
not client-side function tools. Video generation is not implemented.
The catalog describes model capabilities rather than availability. Documented retired models remain as labelled compatibility cards for saved chats. xAI handles redirects; ChatGTK does not silently replace your selected model. The old shipped Grok whitelist migrates to current defaults while custom selections remain intact.
With XAI_API_KEY or GROK_API_KEY exported, check your account from the repo:
python3 scripts/check_grok.py
python3 scripts/check_grok.py --search
python3 scripts/check_grok.py --check-search-toggleThe first command only checks model metadata; the second also performs a small
billable generation and checks for actual web-search calls. The third makes
two billable requests to check search on, then off, in the same conversation.
Disabling search prevents new searches; earlier results remain in readable
conversation history. The terminal reports fresh web/X search activity for
each turn, independently of local history/document search tools. Credentials are
never printed. A metadata 404 alone does not establish that an alias is invalid:
grok-latest was observed to return a metadata 404 while successfully generating
a searched answer on the global endpoint. It is not served on the
US regional endpoint.
Responses support requires OpenAI SDK 1.66 or newer; update from requirements.txt
if an older installation lacks client.responses.
ChatGTK supports adding custom models from any OpenAI-compatible API endpoint. This allows you to use models from services like OpenRouter, Together AI, or your own self-hosted models.
-
Accessing Custom Models
- Open Settings (from the top menu or via keyboard shortcut)
- Navigate to the Custom Models page in the sidebar
- Click Add Custom Model to create a new custom model configuration
-
Configuring a Custom Model
- Model ID (required): A unique identifier for the model (e.g.,
deepseek/deepseek-v3.2) - Display Name (optional): A friendly name shown in the model dropdown (e.g.,
DeepSeek V3.2) - Endpoint URL (required): The API endpoint URL (e.g.,
https://openrouter.ai/api/v1orhttps://api.together.xyz/v1) - API Key (optional): Your API key for the service. If not provided, you may need to set it via environment variable or the service's default authentication method
- API Type: Select the API format your endpoint uses:
chat.completions: Standard OpenAI chat completions API formatresponses: OpenAI Responses API format (supports web search and tools)images: Image generation API format - not tested yettts: Text-to-speech API format - not tested yet
- Model ID (required): A unique identifier for the model (e.g.,
-
Managing Custom Models
- Test: Click the Test button to verify the connection and API key work correctly
- Edit: Click Edit to modify an existing custom model configuration
- Delete: Click Delete to remove a custom model
-
Using Custom Models
- Once configured, custom models appear in the model dropdown alongside built-in providers
- Custom models using the
chat.completionsorresponsesAPI types support tools (image generation, music control, read aloud) if enabled - Custom models are saved to
custom_models.jsonin the application directory
-
Example Use Cases
- OpenRouter: Connect to models from multiple providers through OpenRouter's unified API
- Self-hosted models: Use local or remote self-hosted models with OpenAI-compatible APIs
- Alternative providers: Access models from services like Together AI, Anyscale, or other compatible providers
This feature is new! Feedback and bug reports are welcome. Please open an issue on GitHub if you encounter any problems or have suggestions for improvement.
ChatGTK supports integration with local AI servers, allowing you to use self-hosted models for chat, speech-to-text, and text-to-speech without requiring API keys or internet connectivity.
-
Quick Setup
- Open Settings → Local Models
- Select a preset from the dropdown (Ollama, LMStudio, LocalAI, etc.)
- Click Add to add discovered models to your model list
- Models appear in the main model dropdown after adding
-
Supported Servers
Server Type Default Port Install Ollama Chat, Vision 11434 curl -fsSL https://ollama.com/install.sh | shLMStudio Chat 1234 Download from lmstudio.ai LocalAI Chat, STT, TTS 8080 docker run -p 8080:8080 localai/localaifaster-whisper STT 8000 docker run -p 8000:8000 fedirz/faster-whisper-servertext-generation-webui Chat 5000 Launch with --apiflag -
How It Works
- All servers use OpenAI-compatible endpoints (
/v1/chat/completions,/v1/models) - Full tool/function calling support with capable models
- All servers use OpenAI-compatible endpoints (
-
Manual Configuration
- For advanced setups or custom ports, use Settings → Custom Models to manually add entries
- Set the endpoint URL to your server's address (e.g.,
http://localhost:1234/v1/chat/completions) - Leave the API Key field empty for local servers
Document Mode provides a focused editing environment for creating and refining long-form content with AI assistance. Instead of a back-and-forth chat, you work on a single document that the AI can read and edit directly. The documents are formatted using markdown and can be exported as a pdf as usual.
-
Creating Documents
- Click the document icon (📄) in the sidebar to create a new document
- Documents are saved per-project, just like chats
- Right-click documents in the sidebar to rename or delete them
-
Edit and Preview Modes
- Edit mode: Raw markdown editing with syntax highlighting
- Preview mode: Click the Preview button to see rendered content with formatted text, LaTeX equations, and code highlighting
- Toggle between modes while working
-
AI-Assisted Editing
- Use the Prompt box to let the AI modify your document directly
- The AI can read the current document content and apply targeted edits
- Each AI edit can be undone using the undo button in the toolbar
- Manual edits (your typing) are auto-saved but don't create undo points
-
Export
- Export documents to PDF with full formatting (LaTeX, code highlighting, etc.)
- Uses the same rendering as chat exports
-
Workflow
- Create a document and write initial content or ask AI to create an outline of what you want
- Ask the AI to expand, refine, restructure, or edit specific sections
- Review changes in preview mode
- Undo AI edits if needed, or continue iterating
ChatGTK can optionally convert documents (especially PDFs) into usable text/Markdown using external command-line tools (“pipelines”). This is useful for scanned PDFs (OCR) as well as PDFs with selectable text.
- Click the attach icon and choose a PDF to open the Import Document dialog.
- Use Preview to verify the converter output before importing.
- Choose how to use the result:
- Convert and inline into the next message
- Convert and save as a local source (searchable via the search tool)
- Convert and open as a new Document (Document Mode)
Pipelines are user-editable from the Import dialog via Pipelines… and stored in settings under DOCUMENT_IMPORT_PIPELINES_JSON.
-
Image tool (
generate_image)- Enabled by the Enable Image Tool switch in the Tools dialog (top bar → Tools).
- Uses your preferred Image Model from the main Settings dialog.
- Available to supported OpenAI, Gemini, Grok, and Claude chat models via function/tool calling.
- If you are using a model with native image tools such as GPT-5, the image tool, when enabled, will override the native capability and use your preferred image generations model.
-
Music control tool (
control_music)- Disabled by default; enable via Enable Music Tool in the Tools dialog.
- Lets the model play music from your local beets music library using a configurable player (default:
mpv). - The assistant translates natural language requests into beets query strings for smart playlist generation. Examples:
- "Play some 80s music" →
year:1980..1989 - "Play jazz from the 1950s" →
genre:jazz year:1950..1959 - "Play something by Pink Floyd" →
artist:"Pink Floyd"
- "Play some 80s music" →
- Configure via Settings → Tool Options → Music Tool:
- Music Player Executable: path to your music player and required arguments to play a playlist (e.g.
/usr/bin/audacioius -p <playlist>) - Music Library Directory: directory where your music files are stored
- Beets Library DB (optional): path to your beets
library.dbfile; leave empty to use app-generated library - Generate Library button: scans your Music Library Directory and creates a beets library automatically (no need to run
beet importmanually)
- Music Player Executable: path to your music player and required arguments to play a playlist (e.g.
- Non-play actions (pause, resume, stop, next, previous) require
playerctlfor MPRIS control.
-
Read Aloud tool (
read_aloud)- Disabled by default; enable via Enable Read Aloud Tool in the Tools dialog (top bar → Tools) or Settings → Tool Options.
- Allows models to choose to speak text aloud to the user using text-to-speech.
- Configure Read Aloud settings via Settings → Audio (near TTS settings):
- Automatically read responses aloud: when enabled, all assistant responses are automatically spoken. Note: this option and the Read Aloud Tool are mutually exclusive.
- Read Aloud Provider: choose between OpenAI TTS (
tts-1/tts-1-hd) or audio-preview models (gpt-4o-audio-preview,gpt-4o-mini-audio-preview). - Read Aloud prompt template: for audio-preview models, customize the prompt used to instruct the model what to say. Use
{text}as a placeholder for the response text. Default:Please say the following verbatim in a New York accent: "{text}".
- Available to supported OpenAI, Gemini, Grok, and Claude chat models via function/tool calling.
- To use the tools just ask your model "Write me a short poem and read it aloud".
-
Search tool (
search_memory)- Disabled by default; enable via Enable Search Tool in the Tools dialog (top bar → Tools) or Settings → Tool Options.
- Allows models to search past conversations and optionally configured directories for information using word-boundary matching (e.g., "dog" matches "dog," and "dog." but not "doggedly").
- Searches both user questions and assistant responses from your conversation history (system messages are excluded).
- Configure via Settings → Tool Options → Search/Memory Tool:
- Enable Search Tool: master toggle to enable/disable the tool.
- Search Conversation History: when enabled, searches past conversations in your history folder.
- Search Directories: comma-separated list of directories to search for text files (.txt, .md, .json, .log, .csv).
- Result Limit: maximum number of results to return (1-5).
- Show Results in Chat: when enabled, search results appear in the chat window; when disabled, results are only sent to the model silently.
- The current conversation is automatically excluded from search results to avoid circular references.
- Example usage: "Do you remember what we discussed about Python decorators?" or "Search my notes for information about project deadlines".
-
Text edit tools (
text_get,apply_text_edit)- Disabled by default; enable via Enable Text Edit Tool in the Tools dialog (top bar → Tools) or Settings → Tool Options.
- Lets the model read and edit a selected target file using function/tool calls.
- Usage flow:
- Click the attach button (paperclip) to select a target file. When a target is set, the icon switches to a file indicator.
- The model uses
text_getwithtarget="file"to read the current text. - The model uses
apply_text_editwithoperation="search_replace"(preferred), thenreplace, thendiff. - Notes:
- Diff edits use the system
patchutility; ensure it is installed. - The target selection is per‑chat and restored when reopening the chat.
- Messages that apply edits include an undo button in the header to revert the last tool edit.
- Diff edits use the system
-
Wolfram Alpha tool (
wolfram_alpha)- Disabled by default; enable via Enable Wolfram Alpha Tool in the Tools dialog (top bar → Tools) or Settings → Tool Options.
- Requires a Wolfram Alpha App ID (Settings → API Keys → Wolfram Alpha App ID).
- Best for math, unit conversion, factual queries, and scientific data where Wolfram Alpha has structured knowledge.
- The assistant can call the tool automatically and will summarize the most useful parts of the result.
-
Web search (provider-native tools)
- Disabled by default; enable via Enable Web Search in the Tools dialog (top bar → Tools) or Settings → Tool Options.
- For OpenAI models, this uses the built-in
web_searchtool described in the OpenAI tools docs (OpenAI web search guide). - For Gemini models, this uses Grounding with Google Search via the
google_searchtool as documented in the Gemini API (Gemini Google Search grounding). - For Grok, this uses both a built-in
web_searchtool and a builtinx_searchtool when appropriate. - Only models that support these tools will be configured to use them; when enabled, the assistant can automatically call web search when it needs fresh, real‑world information and return grounded answers with citations.
ChatGTK supports three complementary memory mechanisms, plus optional conversation compaction, that can be used separately or together to give your assistant context awareness:
Controls how many recent messages are sent to the model in each request.
- Configure via Settings → General → Conversation Buffer Length
- Options:
ALL(entire conversation), or a specific number (e.g.,10,20,50) - Setting a limit helps manage token costs for long conversations while keeping recent context
- Acts as "working memory" - the model sees recent exchanges but older messages are not sent
Optionally summarize older parts of long conversations to reduce token usage, while still preserving important context.
- Configure via Settings → General → Enable Conversation Compaction
- Trigger: Max Size Before Compaction (KB)
- Keeps the most recent context uncompressed via Keep Turns After Compaction
- Compaction writes a running summary and injects it into the system prompt as Previous Conversation Summary, then continues sending only messages after the compaction point
- Advanced: customize the summarizer prompt via Settings → Advanced → Compaction Prompt
Allows the model to search past conversations and local documents using keyword matching.
- Enable via Tools dialog or Settings → Tool Options → Search/Memory Tool
- Uses word-boundary grep-style matching (e.g., "dog" matches "dog," but not "doggedly")
- Can search:
- Conversation history: All saved chats (current conversation excluded)
- Local directories: Text files (.txt, .md, .json, .log, .csv) in configured folders
- The model decides when to search based on user questions like "What did we discuss about X?"
- Returns matching message snippets with source attribution
- Configure Show Results in Chat to control whether results appear in the UI or only go to the model
Provides intelligent, meaning-based recall using embeddings and a vector database.
- Enable via Settings → Memory page
- Requires optional dependencies:
qdrant-clientand optionallysentence-transformersfor local embeddings - Embedding Providers:
- Local: Uses sentence-transformers (e.g.,
all-MiniLM-L6-v2) - runs offline, no API costs - OpenAI: Uses
text-embedding-3-smallor other OpenAI embedding models - Gemini: Uses Google's
text-embedding-004model - Custom: Any OpenAI-compatible
/v1/embeddingsendpoint, tested usingmistral-embed
- Local: Uses sentence-transformers (e.g.,
- How it works:
- Messages are automatically converted to embeddings and stored in a local Qdrant database
- When you chat, relevant past context is retrieved based on semantic similarity
- Retrieved memories are injected into the conversation as additional context
- Configuration options:
- Store Mode: Store
allmessages, onlyusermessages, or onlyassistantmessages - Auto Import: Automatically store new messages as they occur
- Top K: Number of relevant memories to retrieve (1-10)
- Min Similarity: Threshold for memory relevance (0.0-1.0)
- Store Mode: Store
- Import existing history: Use the Import button to index your existing conversation history
- Unlike the Search Tool, semantic memory finds conceptually related content even without exact keyword matches
These are starting points; adjust based on your model’s context window and how much you care about cost vs. maximum recall.
| Use case | Conversation Buffer | Compaction | Search Tool | Semantic Memory |
|---|---|---|---|---|
| Quick Q&A / low cost | 10–20 |
On, 100–200KB, keep 4–8 turns | Off | Off |
| Long “working session” chat (coding/writing) | ALL or 50 |
On, 100–300KB, keep 8–12 turns | Off (or On if you need explicit recall) | Optional (On if you want automatic recall across chats) |
| Research across many chats + local notes | 20–50 |
On, 100–300KB, keep 4–8 turns | On (history + directories) | On (Top K 3–8, Min Similarity ~0.65–0.75) |
| Personal assistant across weeks/months | 20–50 |
On, 100–300KB, keep 4–8 turns | Optional | On (Store user or all, Top K 3–5, Min Similarity ~0.7) |
- Use Conversation Buffer for immediate context (what was just discussed)
- Use Conversation Compaction to keep long chats usable without sending the full transcript
- Use Search Tool for explicit recall ("find where we talked about X")
- Use Semantic Memory for automatic, intelligent context injection
- These can be enabled simultaneously for comprehensive memory coverage
OpenAI requires identity verification for some of their models. You can verify your identity here.
Set your Music Library Directory in Settings → Tool Options, then click the Generate Library button to scan your music files. Verify your Music Player Executable path is correct (default: /usr/bin/audacious -p <playlist>). Alternatively, if you already have a beets library, you can specify its path in the Beets Library DB field.
Web search is only supported on certain models. For OpenAI, supported models include: gpt-4o, gpt-4o-mini, gpt-4-turbo, and gpt-5.x models. For Gemini, supported models include gemini-2.x and gemini-3.x models. Older models like gpt-3.5-turbo or gemini-1.5 do not support web search. Newer Grok models should work and can also be asked to search X.
install texlive-fontsrecommended from your package manager.
- Ensure that the realtime models from either xAI or OpenAI are enabled in
settings->model whitelist. - Ensure that you have a microphone selected in
settings->audioand select the realtime voice you want to use. - Now in a new chat select the desired realtime model from the drop down model list then hit the microphone icon next to the prompt entry box to start the conversation.
- openai>=1.0.0
- sounddevice>=0.4.6
- soundfile>=0.12.1
- numpy>=1.24.0
- pathlib>=1.0.1
- beets>=1.6.0 (optional, for music control tool)
openaipython3python3-gior your distro's equivalent PyGObject packagegir1.2-gtk-3.0/ GTK 3 runtime and introspection datagir1.2-gtksource-4/ GtkSourceView 4 runtime and introspection datalibportaudio2or your distro's PortAudio runtime packagepulseaudiowebsocketsrequeststexlive(for LaTeX support)dvipng(for LaTeX rendering)texlive-fontsrecommended(For better looking exported PDF's)- Optional, for music control tool:
- A music player such as
vlc(configurable in Settings) - A beets music library (import your music with
beet import /path/to/music)
- A music player such as
playerctl(optional, for pause/resume/stop/next/previous controls via MPRIS)poppler-utils(optional, for document conversion:pdftotext,pdftoppm)tesseract-ocr(optional, for OCR on scanned PDFs)qdrant-client,qdrantOptional vector database for memory systemsentence-transformersOptional to support local embedding model for memory systemkeyringOptional to store API keys in system keyring instead of plaintext file
