No description
Find a file
Chris Lettieri 3b73ce2295 Fix @types/node peer dependency for vitest compatibility
Bump @types/node from ^16 to ^20 to satisfy vitest@3.2.4 peer dependency
requirement, fixing CI build failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 17:54:54 -05:00
.github/workflows move things to css 2025-04-17 08:41:18 -04:00
docs repo setting 2026-02-25 17:27:26 -05:00
src user prompt 2026-02-25 17:34:31 -05:00
tests user prompt 2026-02-25 17:34:31 -05: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 task dispatch 2026-02-24 21:05:29 -05:00
package-lock.json Fix @types/node peer dependency for vitest compatibility 2026-02-25 17:54:54 -05:00
package.json Fix @types/node peer dependency for vitest compatibility 2026-02-25 17:54:54 -05:00
README.md readme 2026-02-25 17:42:39 -05: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. Task Dispatch

Write a task note, link your context, and launch an agent session directly from Obsidian.

  • tmux sessions — Each task gets its own persistent terminal session
  • Context injection — Task note body + all linked notes are assembled and passed to the agent
  • Named repo paths — Map short names to directories so working_dir: my-api just works
  • Session management — List, attach to, or kill running agent sessions
  • MCP integration — Agents can search your vault and write results back to the task note

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 task dispatch: install tmux (brew install tmux)

Dispatch a Task

Create a task note:

---
task_id: fix-auth-bug
working_dir: my-repo
---
## Objective

Fix the authentication bug where sessions expire after 5 minutes.

## Context

The auth middleware is in `src/middleware/auth.ts`. [[API Design Doc]] has the spec.

Run Task dispatch: Launch or attach from the command palette. A terminal opens with your agent pre-loaded with context from the note and all linked notes.

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
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 Launch agent session from task note
Task dispatch: Kill session Kill tmux session for current task note
Task dispatch: List active sessions View and manage all running agent sessions
Parse transcript Process voice transcript into atomic notes
Distill linked notes Legacy command — use Process notes instead

Task Dispatch

Task dispatch is the agent harness. It reads a task note, assembles context from linked notes, creates a tmux session, and launches your agent CLI with everything pre-loaded.

See Task Dispatch docs for the full reference.

Key concepts:

  • task_id in frontmatter identifies the task (required)
  • working_dir sets where the agent runs — supports named repos, absolute paths, or vault-relative paths
  • Linked notes ([[Design Doc]], [[API Spec]]) are automatically included in context
  • Sessions persist across Obsidian restarts — use "List active sessions" to reattach
  • Agents can use the OpenAugi MCP to search your vault and write results back

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:

  • 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)
  • tmux — Required for task dispatch (brew install tmux)
  • macOS — 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.