An adversarial reasoning engine built as a local Obsidian plugin. It challenges your thinking using your own vault data and a local LLM.
- Thesis Extraction: Grabs the currently selected text in the active editor when you trigger the command.
- Local TF-IDF Search: A lightweight, mathematical Term Frequency-Inverse Document Frequency (TF-IDF) engine crawls all
.mdfiles in your vault to find the top 5 most relevant notes matching the concepts in your thesis. - Steel-Man Engine: Sends the selected thesis and the matching notes context to your local Ollama endpoint (
http://localhost:11434/api/generate) runningllama3(or your model of choice). - Adversarial UI: Renders 3 ranked counterarguments in a custom right-sidebar leaf. The arguments highlight the severity of the conceptual contradiction and insert functioning internal links (e.g.,
[[My Note]]) referencing the source material, which you can click to navigate back directly to the source notes.
- Copy the plugin folder to your vault's
.obsidian/plugins/directory. - Ensure you have the
main.js,manifest.json, andstyles.cssfiles inside that directory. - Reload Obsidian and enable Debate Partner in the Community Plugins settings.
Install dependencies:
npm installBuild the bundle:
npm run build