Claire Froelich5k downloadsAI-powered journaling assistant for your notes, inspired by cognitive behavioral therapy (CBT).
An AI-powered journaling assistant for Obsidian, inspired by cognitive behavioral therapy (CBT).
ChatCBT is a journaling assistant that prods you to reframe negative thoughts and rewire your reactions to distressful situations (*disclaimer).
You can keep your local conversations and affirmations as a diary, or even share them with a therapist.
To get started using ChatCBT, you need to configure an AI platform connection from the ChatCBT plugin settings menu.
You have three options:
OpenAI is recommended for conversation quality and speed, with the cavaet that it is a paid service, and that your messages are sent to OpenAI. See OpenAI's data privacy policy.
ChatCBT defaults to the following models for each platform mode. You can manually override the model in the ChatCBT settings. See available OpenAI models (note that some are more costly than others) and Ollama models.
| Platform | Default model | Cost | Hosting | Speed | Quality |
|---|---|---|---|---|---|
| OpenAI (recommended) | gpt-4o-mini |
Paid (cheap) | Cloud | Fast ⚡ | Excellent |
| Deepseek | deepseek-chat |
Paid (cheap) | Cloud | Fast ⚡ | Excellent |
| Ollama | downloaded models | Free | Local (private) | OK | Great |
OpenAI is a cloud AI provider created by a U.S.-based AI research lab backed by Microsoft.
While use of OpenAI costs money, it is cheap (as of June 2025). Chat sessions with ChatCBT cost less than a few cents.
To use OpenAI with ChatCBT:
Treat your OpenAI API Keys like a password - do not share this publicly. For your safety, your OpenAI API key is encrypted when saving settings.
Note: With the OpenAI option enabled, your messages will be sent to OpenAI. See OpenAI's data privacy policy. To minimize chances of your messages being associated with you personally, I crafted the default prompt to respond to a "fictional client" such that it looks like you are creating fake scenarios. As you can guess, this is not foolproof. Try to stick to your emotions, and avoid disclosing any sensitive personal info like real names of people or your home address.
If you prefer to use a different OpenAI model, you can specify in the plugin settings.
Deepseek is a cloud AI provider backed by a Chinese research team.
While use of Deepseek costs money, it is cheap (as of June 2025). Chat sessions with ChatCBT cost less than a few cents.
To use Deepseek with ChatCBT:
Treat your Deepseek API Keys like a password - do not share this publicly. For your safety, your Deepseek API key is encrypted when saving settings.
Note: With the Deepseek provider enabled, your messages will be sent to Deepseek. See Deepseeks's data privacy policy. To minimize chances of your messages being associated with you personally, I crafted the default prompt to respond to a "fictional client" such that it looks like you are creating fake scenarios. As you can guess, this is not foolproof. Try to stick to your emotions, and avoid disclosing any sensitive personal info like real names of people or your home address.
As of June 2025, there are only two available Deepseek chat models: deepseek-chat (default, recommended) and deepseek-reason.
Ollama is a client that allows you to easily run powerful open source LLM models locally on your machine privately for free.
Requires Ollama v0.1.24 or higher
System requirements
llama2: in terminal, run ollama pull llama2ollama serve(Troubleshooting: if you have trouble getting Ollama to run with Obsidian, stop the Ollama server and try running wtih OLLAMA_ORIGINS="*" OLLAMA_HOST="0.0.0.0:11434")
This will start a local server that hosts your Ollama instance locally on your computer from port 11434. For advanced users, you can change the port or url if you like. Just be sure to update the Ollama url in the ChatCBT settings.
If you prefer to use a different Ollama model, you can specify in the plugin settings.
You can run the "Chat" and "Summarize" commands from the left ribbon menu or the command pallette.
Ribbon menu
Command pallete (cmd + p > search "chat...")
Slash command
Enable slash commands from the Obsidian Core Plugins, and you can type /chat or /summarize inline to access ChatCBT actions in your notes.
You can update the system prompt (or restore it to the default) from Settings.
The response will honor the Preferred Language setting, regardless of the language of the prompt.
Select the language you prefer ChatCBT to repsond in from the Settings. Raise an issue if you run into any quality concerns, or would like to request a language!
You can install and enable ChatCBT in developer mode via these steps:
cd .obsidiancd plugins (if plugins directory doesn't exist, create one: mkdir plugins, then cd plugins)git clone [email protected]:clairefro/obsidian-chat-cbt-plugin.gitnpm inpm run devChatCBT is not a replacement for actual therapy or human interaction. Instead, ChatCBT should be thought of as a journaling assistant, similar to an interactive worksheet. It is a bot that responds with objective questions to your writing help you get out of your head and see your problems from other angles.
While the bot draws inspiration from general cognitive-behavioral therapy methods, it has not undergone review or approval by licensed therapists. Though I have personally found ChatCBT useful in managing negative thoughts, it's important to note that this bot was built by someone without domain expertise in pyschology. Also note that AI generates unpredictable responses. You are responsible for deciding whether or not this tool is useful for you. Conisder seeking help from a professional therapist.
You can see the prompts that the bot uses to generate responses here: chat and summarize.
The creator is not liable for your physical, mental or spiritual health, whether you are using the default prompt or a custom prompt
I'm happy to hear about any issues you encounter with the bot in the Issues tab, or through a DM to @clairefroe on Twitter/X.