No description
Find a file
Chris Lettieri 521399efd3 M3b: Augi task-file commands; deprecate Task Dispatch
Add TaskFileService, which writes `status: pending` task files to
OpenAugi/Tasks/ via the Obsidian vault API — no shell-out, no HTTP, no
Node modules, so it works on mobile too. The file format mirrors the
parent repo's templates/task-template.md contract consumed by
task_watcher.py.

New commands (all platforms):
- Augi: Run review pass       -> "run the review pass"
- Augi: Process dashboard     -> "process the dashboard"
- Augi: Distill selection     -> selection/active-note body becomes the
                                 ## Context; distill-lens instruction

Deprecate the legacy Task Dispatch feature (it launches tmux itself,
bypassing the watcher). Kept functional for community users without the
Python watcher; steer new use to task files via docs banner, settings UI
label, and a @deprecated marker. To be removed over a release or two.

Docs: new docs/AGENT_TASKS.md; README + CODEBASE_MAP updated to lead with
the task-file flow. Tests: 18 new, including a watcher-frontmatter-regex
compat check and same-second collision handling.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 08:26:30 -04:00
.github/workflows move things to css 2025-04-17 08:41:18 -04:00
docs M3b: Augi task-file commands; deprecate Task Dispatch 2026-07-07 08:26:30 -04:00
src M3b: Augi task-file commands; deprecate Task Dispatch 2026-07-07 08:26:30 -04:00
tests M3b: Augi task-file commands; deprecate Task Dispatch 2026-07-07 08:26:30 -04:00
.editorconfig use LF instead of CRLF (#28) 2022-04-15 14:13:31 -04:00
.eslintignore fix .eslintignore (#48) 2023-01-19 10:06:51 -05:00
.eslintrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
.gitignore mock api testing 2026-02-25 08:03:28 -05:00
.npmrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
CLAUDE.md testing docs 2026-02-25 08:04:57 -05:00
CONTEXT_GATHERING.md context read me 2025-10-13 15:02:34 -04:00
esbuild.config.mjs build: minify prod build 2023-11-15 14:10:43 -05:00
LICENSE init readme, manifest 2025-04-15 16:18:23 -04:00
main.ts refactor big file 2025-04-16 11:33:35 -04:00
manifest.json Fix mobile compatibility: dynamic import for task dispatch 2026-02-25 21:53:33 -05:00
package-lock.json Fix @types/node peer dependency for vitest compatibility 2026-02-25 17:54:54 -05:00
package.json Fix mobile compatibility: dynamic import for task dispatch 2026-02-25 21:53:33 -05:00
README.md M3b: Augi task-file commands; deprecate Task Dispatch 2026-07-07 08:26:30 -04:00
styles.css custom lens, date range filtering, note header date parsing 2025-07-27 11:20:50 -04:00
tsconfig.json mock api testing 2026-02-25 08:03:28 -05:00
version-bump.mjs add version bump script (#10) 2022-01-22 16:13:50 -05:00
vitest.config.ts mock api testing 2026-02-25 08:03:28 -05:00

OpenAugi

The Personal Intelligence Layer for Your Agents

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.

Your vault is full of plans, decisions, research, and context. OpenAugi makes that context available to agents so they can actually do useful work.

Works with the OpenAugi MCP server for semantic search, hub discovery, and structured access to your vault data. (MCP server coming soon.)

Join the Discord. Parent repo.


What It Does

1. Context Engineering

Gather precisely the right context from your vault — not too much, not too little.

  • 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

2. Agent Tasks

Queue work for your agents without leaving Obsidian. The Augi commands write task files to OpenAugi/Tasks/ — the OpenAugi task watcher picks them up and runs an agent session for each.

  • 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.

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.

3. Note Processing

Turn raw notes into organized, atomic knowledge.

  • 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

Quick Start

Setup

  1. Install from Obsidian Community Plugins (or manually)
  2. Settings → OpenAugi → Enter your OpenAI API key
  3. For agent tasks: install OpenAugi and run openaugi up (the task watcher)

Queue an Agent Task

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.

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.

Gather Context

  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)

Commands

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
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
Parse transcript Process voice transcript into atomic notes
Distill linked notes Legacy command — use Process notes instead

Agent Tasks

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.

See Agent Tasks docs for the full reference, including the task-file format.

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.


Context Gathering

The context gathering pipeline is a three-stage flow:

  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

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

Configuration

Settings are in Settings → OpenAugi.

Core:

  • OpenAI API key (required for AI processing)
  • Output folders: Summaries, Notes, Published, Prompts

Context Gathering:

  • Default link depth (1-3)
  • Max characters (default: 100k)
  • Include backlinks (default: on)
  • Journal section filtering

Task Dispatch (deprecated):

  • 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)

Recent Activity:

  • Days to look back (default: 7)
  • Date header format
  • Folder exclusions

Requirements

  • OpenAI API key — Required for AI processing (distill, publish, parse)
  • OpenAugi task watcher — Required for the Augi agent-task commands (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)

Get Involved

OpenAugi is about augmented intelligence — using AI to help you think faster and do more, not to think for you.

Open an issue, join the Discord, or check out YouTube for updates. Parent repo.