bitsofchris_openaugi-obsidi.../README.md

169 lines
7.5 KiB
Markdown
Raw Normal View History

2025-04-15 20:26:35 +00:00
# OpenAugi
2026-02-25 22:42:03 +00:00
## The Personal Intelligence Layer for Your Agents
2022-04-15 18:13:31 +00:00
2026-02-25 22:42:39 +00:00
OpenAugi is a context engineering layer and personal agent harness for your data (currently as an Obsidian plugin). It sits between your knowledge and your AI agents — gathering the right context, dispatching tasks, and shortcutting the loop from idea to action.
2022-04-15 18:13:31 +00:00
2026-02-25 22:42:03 +00:00
Your vault is full of plans, decisions, research, and context. OpenAugi makes that context available to agents so they can actually do useful work.
2022-04-15 18:13:31 +00:00
2026-02-25 22:42:03 +00:00
Works with the [OpenAugi MCP server](https://github.com/bitsofchris/openaugi) for semantic search, hub discovery, and structured access to your vault data. (MCP server coming soon.)
2025-10-13 18:22:29 +00:00
2026-02-25 22:42:03 +00:00
Join the [Discord](https://discord.gg/d26BVBrnRP). Parent [repo](https://github.com/bitsofchris/openaugi).
2022-04-15 18:13:31 +00:00
2026-02-25 22:42:03 +00:00
---
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
## What It Does
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
### 1. Context Engineering
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
Gather precisely the right context from your vault — not too much, not too little.
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
- **Link traversal** — Follow wikilinks up to 3 levels deep (breadth-first)
- **Backlink discovery** — Find notes that reference your notes, not just notes you link to
- **Journal filtering** — Extract only recent sections from date-headed journal notes
- **Character budgets** — Stay within token limits with configurable caps
- **Checkbox review** — Toggle individual notes on/off before processing
2025-04-16 16:14:55 +00:00
### 2. Agent Tasks
2025-04-16 16:14:55 +00:00
Queue work for your agents without leaving Obsidian. The **Augi** commands write task files to `OpenAugi/Tasks/` — the [OpenAugi task watcher](https://github.com/bitsofchris/openaugi) picks them up and runs an agent session for each.
2025-04-16 16:14:55 +00:00
- **Augi: Run review pass** — Route new blocks, refresh views, surface Dashboard nominations
- **Augi: Process dashboard** — Execute your nomination answers only
- **Augi: Distill selection** — Distill the current selection (or active note) through the distill lens
- **File-based trigger** — Pure vault API, no shell or HTTP, works on Obsidian Mobile with a synced vault
See [Agent Tasks docs](docs/AGENT_TASKS.md).
The older **Task Dispatch** feature (launching tmux sessions directly from the plugin) is deprecated in favor of the task-file flow — see [Task Dispatch docs](docs/TASK_DISPATCH.md).
2026-02-25 22:42:03 +00:00
### 3. Note Processing
2026-02-25 22:42:03 +00:00
Turn raw notes into organized, atomic knowledge.
2026-02-25 22:42:03 +00:00
- **Voice transcripts** — Break voice notes into atomic notes + tasks + summary
- **Distillation** — Synthesize multiple linked notes into deduplicated atomic notes
- **Publishing** — Turn research notes into a single polished blog post
- **Custom prompts** — Apply different "lenses" to extract different insights from the same content
2025-10-13 18:22:29 +00:00
---
2026-02-25 22:42:03 +00:00
## Quick Start
2025-10-13 18:22:29 +00:00
2026-02-25 22:42:03 +00:00
### Setup
2025-10-13 18:22:29 +00:00
2026-02-25 22:42:03 +00:00
1. Install from Obsidian Community Plugins (or manually)
2. Settings → OpenAugi → Enter your OpenAI API key
3. For agent tasks: install [OpenAugi](https://github.com/bitsofchris/openaugi) and run `openaugi up` (the task watcher)
2025-10-13 18:22:29 +00:00
### Queue an Agent Task
2025-10-13 18:22:29 +00:00
Run **Augi: Run review pass** (or **Augi: Process dashboard**, **Augi: Distill selection**) from the command palette. The plugin writes a pending task file to `OpenAugi/Tasks/`; the task watcher launches an agent session that does the work and writes its results back into the task file.
2025-10-13 18:22:29 +00:00
For **Augi: Distill selection**, select the text you want distilled first — the selection (or the whole active note if nothing is selected) becomes the task's context.
2026-02-25 22:42:03 +00:00
### Gather Context
2026-02-25 22:42:03 +00:00
1. Open any note with links to content you want to process
2. Run **Process notes**
3. Configure depth, filters, and character limits
4. Review discovered notes with checkboxes
5. Choose: **Distill** (atomic notes), **Publish** (blog post), or **Save** (raw context)
2025-10-13 18:22:29 +00:00
---
2026-02-25 22:42:03 +00:00
## Commands
2025-07-27 15:23:26 +00:00
2026-02-25 22:42:03 +00:00
| Command | Purpose |
|---------|---------|
| **Augi: Run review pass** | Queue a full review pass for the task watcher |
| **Augi: Process dashboard** | Queue Dashboard nomination processing for the task watcher |
| **Augi: Distill selection** | Queue a distill of the current selection or active note |
2026-02-25 22:42:03 +00:00
| **Process notes** | Gather linked notes → review → distill / publish / save |
| **Process recent activity** | Same flow but discovers by recent modification date |
| **Save context** | Gather and save raw context (no AI processing) |
| **Task dispatch: Launch or attach** | Deprecated — launch agent session from task note |
| **Task dispatch: Kill session** | Deprecated — kill tmux session for current task note |
| **Task dispatch: List active sessions** | Deprecated — view and manage running agent sessions |
2026-02-25 22:42:03 +00:00
| **Parse transcript** | Process voice transcript into atomic notes |
| **Distill linked notes** | Legacy command — use Process notes instead |
2025-07-27 15:23:26 +00:00
2026-02-25 22:42:03 +00:00
---
2025-07-27 15:23:26 +00:00
## Agent Tasks
2025-07-27 15:23:26 +00:00
The Augi commands are the trigger surface for the OpenAugi agent loop. Each command writes a `status: pending` task file to `OpenAugi/Tasks/`; the task watcher (`openaugi up`) hydrates it, launches a Claude agent session, and the agent writes its results back into the same file.
2025-07-27 15:23:26 +00:00
See [Agent Tasks docs](docs/AGENT_TASKS.md) for the full reference, including the task-file format.
2025-07-27 15:23:26 +00:00
2026-02-25 22:42:03 +00:00
**Key concepts:**
- The vault filesystem is the API — the plugin only writes a file, so the commands work on mobile with a synced vault
- The same contract is shared with the `openaugi review` CLI and the `zzz:` capture grammar
- The task file doubles as the record: results and status land back in it
### Task Dispatch (deprecated)
The older agent harness: reads a task note, assembles context from linked notes, creates a tmux session, and launches your agent CLI directly from the plugin. Deprecated in favor of the task-file flow above; it keeps working for now but will be removed over a release or two. See [Task Dispatch docs](docs/TASK_DISPATCH.md).
2025-07-27 15:23:26 +00:00
2026-02-25 22:42:03 +00:00
---
2025-07-27 15:23:26 +00:00
2026-02-25 22:42:03 +00:00
## Context Gathering
2026-02-25 22:42:03 +00:00
The context gathering pipeline is a three-stage flow:
2026-02-25 22:42:03 +00:00
1. **Configure** — Source mode (linked notes or recent activity), depth, filters
2. **Review** — Checkbox list of discovered notes with character/token counts
3. **Process** — Distill to atomic notes, publish as blog post, or save raw
2026-02-25 22:42:03 +00:00
Features:
- Breadth-first link traversal up to 3 levels
- Bidirectional: forward links + backlinks at each depth
- Journal-style date filtering
- Dataview query support
- Custom prompt lenses
2026-02-25 22:42:03 +00:00
---
2026-02-25 22:42:03 +00:00
## Configuration
2026-02-25 22:42:03 +00:00
Settings are in **Settings → OpenAugi**.
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
**Core:**
- OpenAI API key (required for AI processing)
- Output folders: Summaries, Notes, Published, Prompts
2026-02-25 22:42:03 +00:00
**Context Gathering:**
- Default link depth (1-3)
- Max characters (default: 100k)
- Include backlinks (default: on)
- Journal section filtering
**Task Dispatch (deprecated):**
2026-02-25 22:42:03 +00:00
- Terminal app (iTerm2 or Terminal.app)
- tmux path (auto-detected or manual)
- Default working directory
- Repository path mappings
- Default agent CLI
- Max context characters (default: 200k)
2026-02-25 22:42:03 +00:00
**Recent Activity:**
- Days to look back (default: 7)
- Date header format
- Folder exclusions
2026-02-25 22:42:03 +00:00
---
2025-04-16 16:14:55 +00:00
## Requirements
2026-02-25 22:42:03 +00:00
- **OpenAI API key** — Required for AI processing (distill, publish, parse)
- **OpenAugi task watcher** — Required for the Augi agent-task commands ([openaugi](https://github.com/bitsofchris/openaugi), run `openaugi up`)
- **tmux** — Required for deprecated task dispatch (`brew install tmux`)
- **macOS** — Deprecated task dispatch terminal opening uses AppleScript (iTerm2 or Terminal.app)
2026-02-25 22:42:03 +00:00
---
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
## Get Involved
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
OpenAugi is about augmented intelligence — using AI to help you think faster and do more, not to think for you.
2025-04-16 16:14:55 +00:00
2026-02-25 22:42:03 +00:00
Open an [issue](https://github.com/bitsofchris/openaugi-obsidian-plugin/issues), join the [Discord](https://discord.gg/d26BVBrnRP), or check out [YouTube](https://www.youtube.com/@bitsofchris) for updates. Parent [repo](https://github.com/bitsofchris/openaugi).