About
oamc is a local-first LLM wiki for research workflows.
Raw sources go into raw/, the system compiles them into a maintained markdown wiki in wiki/, and Obsidian is the main reading/editing surface. The app layer adds a CLI, a local dashboard, and a macOS menubar runtime.
This repo is for the product code. Your live vault content stays local by default and is intentionally ignored by git.
Inspirations
- Andrej Karpathy's April 4, 2026 X thread on LLM knowledge bases and the follow-up "LLM Wiki" idea file
wiki-osfor the local wiki-app and dashboard direction
What It Ships
llm-wiki, a Python CLI- a strict
raw/ -> wiki/knowledge pipeline - ingest, query, lint, status, doctor, watch, and process workflows
- a local dashboard for search, browse, and research prompts
- a macOS menubar app for always-on use
Repository Shape
oamc/
config/
raw/
wiki/
src/llm_wiki/
core/
integrations/
llm/
ops/
runtime/
cli.py
tests/
core/holds contracts, config, paths, health, markdown helpers, and telemetryops/holds the write-path workflowsruntime/holds the dashboard and studio runtimeintegrations/holds Obsidian and macOS bridgesllm/holds provider-facing client code
Quick Start
uv sync
cp .env.example .env
export OPENAI_API_KEY=...
uv run llm-wiki initRecommended daily setup on macOS:
uv run llm-wiki install-menubar
That installs oamc.app, keeps the watcher and dashboard running, and removes the need to start the tool manually.
Daily Flow
- Clip a source into
raw/inbox/ - Or capture a copied note with
uv run llm-wiki capture - Let the watcher process it, or run
uv run llm-wiki process - Review the generated pages in Obsidian
- Ask a research question with
uv run llm-wiki query "..." --template synthesis
Useful commands:
uv run llm-wiki capture
uv run llm-wiki process
uv run llm-wiki query "What does the wiki currently know about X?"
uv run llm-wiki status
uv run llm-wiki doctorLocal Data Policy
This repository tracks product code, config, tests, and docs.
It does not track your live research corpus by default:
raw/inbox/,raw/sources/, andraw/assets/stay local- generated
wiki/pages stay local wiki/index.mdandwiki/log.mdstay local
That keeps personal sources, syntheses, and vault activity out of normal open-source commits.
Quality Gates
uv run pytest uv run mypy src python3 -m compileall src tests uv run llm-wiki doctor
Releases
This repo uses release-please for versioning and GitHub Releases.
- Merge conventional commits into
main - Let
release-pleaseopen or update the release PR - Merge the release PR to cut the next version and publish the GitHub release
Notes
raw/inbox/is the only supported clipping destination- clipboard capture also writes markdown into
raw/inbox/before ingest raw/is immutable input; successful ingest moves files fromraw/inbox/toraw/sources/wiki/is the maintained knowledge layerCONTRIBUTING.mdandSECURITY.mdare the source of truth for contributor workflow and disclosure