Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Autogen

aidantilgneraidantilgner1k downloads

In place autogeneration of content based on prompts within notes

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

The Autogen plugin allows you to create in-place generations within notes, using OpenAI's models.

Settings

Define your API key in the plugin settings, as well as the model to use for text generation. The gpt-3.5-turbo plugin is the default, due to it's low cost and very fast completions. However for more accuracy at slightly slower inference speed I'd recommend GPT-4. 32k variants of each model are also available, and allow for much larger token sizes. To learn more about tokens and specifics I'd recommend reading OpenAI's forum on the subject. You can also change the Trigger Regex, which will decide what text should be looked for and matched as a selection to be replaced.

If you need a proxy or have a local LLM setup with an OpenAI-compatible API (examples include LocalAI, Ollama, LM Studio), you can set the Custom URL. Just leave it blank to access the OpenAI model of your choice (directly, without proxy).

You can also modify the Window Size, which is different but correlated with the token limit of the selected model. The Window Size setting defines how many characters, not including the trigger prompt (this: @[prompt is here]), should be sent to the model. This likely won't matter for most notes, however for longer notes it's important to make sure that too many tokens aren't being sent, as this may cause errors. This setting defaults to 8k which will send about 2k tokens per generation, from above and below the text. This should be enough for basic context to be sent to the model, but can be increased to about 16k on the smaller models and about 128k on the larger ones.

[!warning] The number of tokens sent to the server will influence the price that you will pay for API usage.

If you don't understand what these things mean, or you want to keep things simple, I'd recommend sticking to the defaults.

Usage

When you're working in a note, you can use the following syntax (@[prompt]) to trigger a generation:

autogen-plugin-demo

The main thing that is happening here is that the @[prompt] syntax is being used to trigger a replacement. The replacement can be markdown and will show up accordingly. Therefore you can use this for:

  • Tables
  • Dummy text
  • Summary
  • Elaboration
  • Transformation of other text in the note

Timeline

Additional features may be added if requested, but the idea is to keep the functionality relatively simple.

Bugs, Questions, Etc.

If you have any questions or notice any unexpected behavior feel free to open an issue and I will try to reponse ASAP.

HealthFair
ReviewSatisfactory
About
Generate in-place text completions inside notes using OpenAI or OpenAI-compatible local models. Trigger generations with @[prompt] and point to a chosen model or custom API URL (LocalAI, Ollama, etc.) for cloud or local inference.
AI
Details
Current version
1.1.0
Last updated
2 years ago
Created
3 years ago
Updates
6 releases
Downloads
1k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
aidantilgneraidantilgner
github.com/AidanTilgner
GitHubaidantilgner
  1. Community
  2. Plugins
  3. AI
  4. Autogen

Related plugins

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Text Generator

Generate text content using GPT-3 (OpenAI).

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation - multi-page knowledge generation with entity/concept pages and conversational query.

HiNote

Add comments to highlighted notes, use AI for thinking, and flashcards for memory.

Khoj

An AI personal assistant for your digital brain.