freshcrate
Skin:/
Home > AI Agents > obsidian-ai-research-assistant

obsidian-ai-research-assistant

Prompt Engineering Research Tool for AI APIs

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

Prompt Engineering Research Tool for AI APIs

README

Obsidian AI Research Assistant

Build better Prompts and AI integrations with this advanced research tool for Prompt Engineering with the ChatGPT API.

AI-Research-Assistant-Demo

Note: This plugin is still in development and is not considered fully stable yet. This is Beta software and may contain bugs and unexpected behaviors. Please report Issues you find and feel encouraged to contribute to the project.

Forgetting a previous message

Table of Contents:

Summary

This plugin integrates tools for Prompt Engineering and researching AI tools and language models like OpenAI's ChatGPT into Obsidian.

Basic interface and conversation summary

It allows you to manually or automatically save your conversations with AI models, and then use Obsidian's powerful search and tagging features to organize and analyze them.

View the Preamble for the conversation

The embedded Memory Manager allows you to edit which messages are included in the conversation's context, and you can even switch models mid-conversation to compare the output of various models to the same inputs.

Marking a previous message as a Core Memory

It allows you to review, search, tag, and link your conversations in Obsidian, and view a summary of the conversation details its raw inputs and outputs.

View the conversational exchange

View the actual input sent to the API for requests

View the raw JSON from the API for responses

Features

  • Save (automatically or manually) conversations with AI models to Obsidian notes
    • Conversations become searchable, taggagle, and linkable in Obsidian
  • Hot swap models during your conversation
  • Live edit which previous messages are used as Context for each Prompt
    • Mark a message as a Core Memory to make sure it's always in the Context
    • Mark a message as Forgotten to make sure it's never in the Context
    • Mark a message as Remembered to prioritize it's inclusion in the Context
    • By default the most recent messages are more likely to be remembered and older messages are forgotten as the conversation nears the memory and token limits
  • Live edit the Preamble that is used for each Conversation
  • Live edit the Prompt that is used for each Conversation
  • View the raw JSON from the API for each response
  • View the prompt and context that was sent to the API for each request

Roadmap

  • Token-aware Memories: Memory will be constructed within the desired amount of tokens
  • Configurable Response Token Buffer: Ensure that the API has enough tokens to respond to your prompts
  • Models & APIs: More models
  • Resume Conversations Load conversations from Obsidian notes to pick up where you left off
  • Annotate Conversations: Incrementally update notes on save (instead of overwriting the whole note on each save)
  • Title Generator: Automatically generate a title based on the conversation (like ChatGPT)
  • Conversation Presets: Save and Load preset configurations of Prefix, Model, Preamble, Context, etc. to make it easier to explore different research threads
  • LangChain Support: Integrate with LangChain via langchan.js
  • Features You Want: Request a Feature

Probably Not on the Roadmap

  • Mobile Support: Use AI Research Assistant on your mobile devices, too
    • Due to how Obsidian plugins handle storage of things like OpenAI API keys, there currently isn't a safe way to provide user's with an option to securely store their API key in a way that can be synced to mobile devices, too.
    • On desktop devices, Obsidian uses Electron and this plugin relies on Electron's safeStorage() API to store secrets like OpenAI API Keys.

Installation

This plugin is now avaialble in the Obsidian Community Plugins Directory, and can be installed directly from the Obsidian UI.

  1. Open Obsidian's Settings
  2. Click on Community Plugins
  3. Click on Browse to open the Community Plugins Directory
  4. Search for AI Research Assistant
  5. Click on the plugin to open its page
  6. Click Install
  7. Return to the Community Plugins settings in Obsidian
  8. Toggle the switch to enable AI Research Assistant
  9. Configure AI Research Assistant in Obsidian's Settings
  10. Enter your OpenAI API Key in the plugin's settings
  11. Click the Save API Key button to save your API Key to Obsidian's secure storage
  12. Click on the AI Research Assistant icon in the left sidebar to open the plugin and start chatting

Other Installation Methods

You can also install it manually or install it via the Beta Reviewer's Auto-update Tool (BRAT), though the official Community Plugin Directory is the recommended installation method.

BRAT Installation

  1. Install BRAT
  2. Click the Add Beta Plugin button in BRAT's settings
  3. Enter this repository's URL: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant
  4. Enable the plugin in Obsidian's Community Plugins settings
  5. Configure AI Research Assistant in Obsidian's Settings

Manual Installation

  1. Download the latest release
  2. Unzip the release into your Obsidian vault's plugins folder
  3. Enable the plugin in Obsidian's Community Plugins settings
  4. Configure AI Research Assistant in Obsidian's Settings

Currently Supported Models

Upcoming Model Support

  • OpenAI Legacy Completions API
    • gpt-3.5-turbo-instruct
    • Note: This plugin was originally built when only the completions API was available and was built to support the text-davinci-003 model, but with recent changes in the OpenAI API, it is now recommended to use the gpt-3.5-turbo model instead and text-daivinci-003 is being deprecated, so that functionality has been temporarily disabled in this plugin.
  • Llama2
  • Anthropic Claude

Naming Conventions

This plugin uses the following naming conventions to refer to different pieces of a conversation and make sure that it is always clear what is being referred to:

Note: This plugin makes a distinction between a Prompt and a Preamble because it can be used to generate prompts for models without a Preamble and in that case it is harder to distinguish between what you might be editing when you click on an Edit Prompt button.

  • Conversation: This is an ongoing exchange of messages between the Human and the AI.
  • Preamble: This is the initial instructions that a language model recieves. It is usually a short description of the topic of the conversation, and is used to provide context on how the model should behave, what the models knows, and how it should respond.
  • Prompt: Prompts are the questions that the model is asked to answer. They are usually a single sentence or a short paragraph.
  • Context: Context is the memory that the model uses to generate its response. It usually consists of the Preamble and some previous messages (or summaries them), and older messages are eventually replaced by newer ones as the conversation progresses and tokens becomes more limited.
  • Prefixes: Prefixes are prepended to a Prompt and are generally used to include a Start Word that identifies the start of a Prompt and a Handle that identifies the speaker.
  • Suffixes: Suffixes are appended to a Prompt and are generally used to include a Stop Word that identifies the end of a Prompt.
  • Handles: Handles are short identifiers used to differentiate between speakers in the Context. By default this plugin uses You: to represent the Human and AI: to represent the AI model. You can change these prefixes in the AI Research Assistant settings.
  • Memories: When Memories are enabled, the Context is generated from the Preamble and a defined number of previous messages. If the experimental Memory Manager is enabled, you can edit the Context in real time for each Prompt by defining memory staties for previous messages.

Memories

Memories give your Conversation context and allow the language model to use what's already been said to inform future responses.

There are four different Memory States, and each message can have one of them:

You can manage the Memories of a Conversation in real time by clicking on the Memory State button next to each message bubble and choosing a new state for that memory.

Memory States

  • Default: By default, messages are somtimes remembered (in reverse chronological order), the most recent Memories are most likely to be remembered and older Memories are the first to be excluded frm the Conversation's Context. These Memories follow a basic First In First Out (FIFO) queue.
  • Core Memory: Core Memories are always included in the Conversation's Context. They are usually the most important messages in the conversation and are used to provide consistent Context for the model. They do not count towards the maximum number of memories for a Conversation configured in the plugin's settings.
  • Remembered: Remembered Memories often included in the Conversation's Context, until your Conversation reaches the maximum number of memories configured in the plugin's settings. They are usually more important messages, but not as important as Core Memories. They do count towards the maximum number of memories, and are accessed in reverse chronological order. If the maximum number of memories is reached, the oldest Remembered Memories will not be included in the Context.
  • Forgotten: Forgotten Memories are never included in the Conversation's Context. You can forget a Memory at any time during the Conversation, and also restore Forgotten Memories to another Memory State.

Release History

VersionChangesUrgencyDate
2.2.0**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.1.0...2.2.0High6/5/2026
2.1.0## What's Changed * feat: store API keys in Obsidian SecretStorage via SecretComponent by @ericrallen in https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/pull/31 * Feat/mmc integration by @ericrallen in https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/pull/30 * fix(settings): preserve accordion open state across re-renders by @ericrallen in https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/pull/32 **Full Changelog**: https://github.com/InterwebHigh5/15/2026
2.0.3**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/v2.0.2...2.0.3High4/9/2026
2.0.0-beta.17**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.16...2.0.0-beta.17Medium4/9/2026
2.0.0-beta.16**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/v2.0.2...2.0.0-beta.16Medium4/8/2026
v2.0.2**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/v2.0.1...v2.0.2High4/8/2026
2.0.0-beta.15**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.14...2.0.0-beta.15Medium4/8/2026
2.0.0-beta.14**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.13...2.0.0-beta.14Medium4/8/2026
2.0.0-beta.13**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.12...2.0.0-beta.13Medium4/8/2026
2.0.0-beta.12**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.11...2.0.0-beta.12Medium4/8/2026
2.0.0-beta.11**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.10...2.0.0-beta.11Medium4/8/2026
2.0.0-beta.10**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.9...2.0.0-beta.10Medium4/8/2026
2.0.0-beta.9**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.8...2.0.0-beta.9Medium4/8/2026
2.0.0-beta.8**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.7...2.0.0-beta.8Medium4/8/2026
2.0.0-beta.7**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.6...2.0.0-beta.7Medium4/8/2026
2.0.0-beta.6**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.5...2.0.0-beta.6Medium4/8/2026
2.0.0-beta.5**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.4...2.0.0-beta.5Medium4/8/2026
2.0.0-beta.4**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/2.0.0-beta.3...2.0.0-beta.4Medium4/8/2026
2.0.0-beta.3**Full Changelog**: https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/v2.0.0-beta.2...2.0.0-beta.3Medium4/8/2026
2.0.0-beta.1# [2.0.0-beta.1](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.8.0-beta.1...2.0.0-beta.1) (2026-04-08) * feat!: add multi-provider support with Anthropic, OpenRouter, Mistral, and local models ([8ec21d9](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/8ec21d934ba6a924ef62ae3d43879e5109c94eef)) ### BREAKING CHANGES * minimum Obsidian version bumped from 1.1.9 to 1.11.4; API key storage migrated from Electron safeStorage to Obsidian's offMedium4/8/2026
1.8.0-beta.1# [1.8.0-beta.1](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.7.0...1.8.0-beta.1) (2026-04-08) ### Bug Fixes * resolve ci/cd issues ([7f34061](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/7f34061ccf7cf3943f816d933a6a2d16830f4f14)) ### Features * add more providers, custom openai compatible endpoint config, and thinking token display ([2eb4945](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/2eb4945d55f7c471Medium4/8/2026
1.7.0# [1.7.0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.6.0...1.7.0) (2023-10-30) ### Bug Fixes * update model selector; remove broken maxtokens input ([89b0edb](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/89b0edba776f726c324409bcb075a0bdcd8c0553)) ### Features * add gpt-3.5-turbo-instruct, gpt-4-32k, and gpt-3.5-turbo-16k ([f6cc31a](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/f6cc31a0401581276c940a0056Low10/30/2023
1.6.0# [1.6.0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.5.0...1.6.0) (2023-10-10) ### Bug Fixes * update tsc errors so build can succeed ([a43d30f](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/a43d30f938101df7c644b32d118a18eb6e361c7c)) ### Features * update with streaming responses from OpenAI ([fec3fa0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/fec3fa071e7118e7532fa635f0eaf24c9b5c409e)), closes [#15](Low10/10/2023
1.5.0# [1.5.0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.4.3...1.5.0) (2023-08-26) ### Features * add gpt-4 model ([44258aa](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/44258aa0a5e4380860def6b44a556ddbd676ce6a)) * allow swapping models in chat; add syntax highlighting ([5f02613](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/5f02613722d98c9727e871def71c3a08a9540217)) Low8/26/2023
1.4.3## [1.4.3](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.4.2...1.4.3) (2023-08-10) ### Bug Fixes * update plugin file path handling ([3aec64c](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/3aec64ca6e699f0ecf16b47501e9631310a61c3d)) * update plugin UI and practices based on review feedback ([7792fc3](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/7792fc35068162ad48782602c7f6ed0362d03f31)) * update token counter Low8/10/2023
1.4.2## [1.4.2](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.4.1...1.4.2) (2023-07-29) ### Bug Fixes * remove obsidian- prefix from id ([e772562](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/e77256276cdb42f6745c3a1a666d5dc3518a2d02)) Low7/29/2023
1.4.1## [1.4.1](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.4.0...1.4.1) (2023-07-29) ### Bug Fixes * update manifest description ([d9d2ee4](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/d9d2ee4906196f355c22f434e29f061acf642a6b)) Low7/29/2023
1.4.0# [1.4.0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.3.1...1.4.0) (2023-07-29) ### Bug Fixes * update api key setting name ([be957de](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/be957def8c10b8b635f3464dba6aef64b07e431f)) ### Features * leverage safeStorage for OpenAI API Key; clean up legacy functionality ([1ba8eb2](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/1ba8eb2b73283bd5f6ab66c8338d0c17951f5835)Low7/29/2023
1.3.1## [1.3.1](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.3.0...1.3.1) (2023-03-06) ### Bug Fixes * edit title by default with autosave enabled ([32e9110](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/32e9110f71318f4eea70a8f8fa6890c6faddf72e)), closes [#1](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/issues/1) Low3/6/2023
1.3.0# [1.3.0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.2.0...1.3.0) (2023-03-03) ### Bug Fixes * remove old codex model definition ([64328de](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/64328defeaf733b2e39938636f0fe96004339b61)) ### Features * make memory manager default; update handling of chatgpt model messages ([9014a9e](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/9014a9edc90eb792be8f154641c5d349db5Low3/3/2023
1.2.0# [1.2.0](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.1.2...1.2.0) (2023-03-02) ### Features * add new gpt-3.5-turbo model and default to ChatGPT ([b62e3f7](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/b62e3f7cd787fabe143b2a22dec54db51673c1c2)), closes [#2](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/issues/2) Low3/2/2023
1.1.2## [1.1.2](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/1.1.1...1.1.2) (2023-02-14) ### Bug Fixes * fix render and unmount issue; add openai api errors as system messages ([1f8618b](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/1f8618bc0c09eba854bcac7877f2cdbac57cc3b4)) Low2/14/2023
1.1.1## [1.1.1](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/compare/v1.1.0...1.1.1) (2023-02-14) ### Bug Fixes * fix typo in release.config.js ([8ffe34a](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/8ffe34a77c6685b057a15bfac51f23db7528f75f)) * update zip release command ([e814467](https://github.com/InterwebAlchemy/obsidian-ai-research-assistant/commit/e8144673508526ceda9db923a71e4048652a0c77)) Low2/14/2023

Dependencies & License Audit

Loading dependencies...

Similar Packages

Paper2Slides📊 Transform research papers into professional slides and posters seamlessly and quickly with Paper2Slides, saving you valuable time.main@2026-06-06
@robota-sdk/agent-coreComplete AI agent implementation with unified core and tools functionality - conversation management, plugin system, and advanced agent featuresmain@2026-06-05
openclaw-supermemoryOpenClaw Supermemory lets to have long-term memory and recall for your openclaw agent.main@2026-06-04
nano-banana-pro-prompts-recommend-skillAI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.main@2026-06-03
free-sora🎨 Generate diverse AI content effortlessly with powerful models for text-to-image, image-to-image, text-to-video, and more.main@2026-06-01

More in AI Agents

@blockrun/franklinFranklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.
hermes-agentThe agent that grows with you
awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
e2bE2B SDK that give agents cloud environments