Skip to main content

hugr logo

ᚼᚢᚴᛦ - (/ˈhuɡr/)

License: MIT status

A local-first memory suite for AI agents. One install gets you a two-tier memory store, an M365 read/write surface, and a single CLI that ties them together. Your data stays on your machine.

hugr is the umbrella over four independent tools that already work on their own. The umbrella adds one verb surface, one install command, and one place to find what is in the box.

The name hugr is from Old Norse, where it means "mind, thought, sense" - and in the Norse conception of self, specifically the part of the mind that can travel outside the body to see and act on distant things. The wordmark in Younger Futhark is ᚼᚢᚴᛦ: hagall, úr, kaun, yr.

                            hugr (meta-CLI + suite hub)
                                       |
              +------------------------+------------------------+
              |               |                |                |
            YAAMS    cognitive-ledger    owa-piggy        owa-tools
         (Tier 1 raw) (Tier 2 curated)  (M365 auth)   (M365 read/write)

What's in the box

Tool Purpose Binaries
YAAMS Tier 1 raw memory store - every iMessage, mail, calendar event, GitHub issue, ingested and queryable from a single SQLite file. yaams
cognitive ledger Tier 2 curated atomic notes engine - the gems you promote out of YAAMS and keep forever as markdown with frontmatter. ledger, ledger-obsidian, sheep
owa piggy Microsoft 365 auth broker - turns your existing Outlook Web session into a reusable token. No app registration. owa-piggy
owa tools M365 read/write CLI suite - calendar, mail, Graph, OneDrive, scheduling, people lookup, all JSON-by-default. owa, owa-cal, owa-mail, owa-graph, owa-doctor, owa-people, owa-sched, owa-drive

hugr itself adds one more binary that routes the verbs above into a single user-facing surface.

Install

brew install damsleth/tap/hugr
hugr init --quick
hugr hello

Or via pipx (Python):

pipx install "hugr-cli[all]"   # CLI + TUI + web + server
hugr init --quick

Full install + setup story in docs/installation.md.

A taste of what it does

hugr recall "what did we decide at the brand kickoff?"
hugr find person nina
hugr inbox                                # unread mail + today + loops + promotions
hugr remember "Nina prefers early flights" --yes
hugr send mail --to a@example.com --subject "lunch" --body "12:00?" --yes
hugr book propose "Standup" --who vibeke@example.com --duration 30 --date tomorrow
hugr book commit  "Standup" --who vibeke@example.com --duration 30 --date tomorrow --slot 0 --yes
hugr tui                                  # Textual TUI
hugr web                                  # FastAPI web on 127.0.0.1:7777
hugr server                               # deploy-ready FastAPI runtime
hugr sync push --yes                      # encrypted state to a private GitHub repo

Every JSON-capable command accepts --json (machine mode) and --pretty (human rendering). Exit codes follow CONVENTIONS.md: 0 ok, 1 user error, 2 transient, 3 auth, 4 not found, 5 partial success.

Documentation

Start with docs/:

Doc What it covers
docs/installation.md Install + first-time wizard
docs/quickstart.md Five-minute tour of the verbs
docs/cli-reference.md Every command and flag, with examples
docs/recall.md recall, find, inbox - the fused query verbs
docs/mutations.md send, book, remember, confirmation rules
docs/sessions.md Session model + working sets
docs/surfaces.md TUI, web UI, hugr server
docs/sync.md Cross-device state sync over git + age
docs/config.md Master config + env vars
docs/troubleshooting.md Common errors and fixes

Architecture and contract:

Skills

Two agent skill repos sit on top of hugr:

  • damsleth/SKILLS - public, reusable agent skills. Includes /memory, which routes through hugr.
  • damsleth/SKILLS-private - personal-infra cj-* skills (timereg, did, weekly review). Same installer pattern; private repo.

Skills wrap hugr. hugr does not call skills. One direction, no circular dependencies.

License

MIT. See LICENSE.

Metadata

Release files for hugr-cli 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hugr-cli 0.6.0
File Size Uploaded
hugr_cli-0.6.0.tar.gz 126.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hugr-cli 0.6.0
File Interpreter ABI Platform
hugr_cli-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 224.1 kB

Release files / hugr_cli-0.6.0.tar.gz

Download URL hugr_cli-0.6.0.tar.gz
Size 126.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cba791b156c82cf1bba22f9c226b7297eaf62d9303140ef980ec47707e637ec0
BLAKE2b-256 checksum
How to use checksums
bb14548eac1b6efb5e779be30d8026f567ce2d2829df89f678d62a21181be62b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / hugr_cli-0.6.0-py3-none-any.whl

Download URL hugr_cli-0.6.0-py3-none-any.whl
Size 97.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e1d81022a3fa64956becbbe20ade2ca8ca81952428a179409261392afd336d0
BLAKE2b-256 checksum
How to use checksums
9120c765f6f862ced97f71e9fcde5e437613198190cbb7b73224f19e3f9550ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page