Skip to main content

Meta-CLI and suite hub for the hugr memory suite (yaams, cognitive-ledger, owa-piggy, owa-tools)

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hugr_cli-0.5.0.tar.gz (109.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hugr_cli-0.5.0-py3-none-any.whl (83.7 kB view details)

Uploaded Python 3

File details

Details for the file hugr_cli-0.5.0.tar.gz.

File metadata

  • Download URL: hugr_cli-0.5.0.tar.gz
  • Upload date:
  • Size: 109.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hugr_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5b8d74cdb9afb45b3ac2cf28a6430103f51d19205138086353b93aa0d3a671b1
MD5 ad80201823b64ed0f1a9fd8677580ce7
BLAKE2b-256 cb9b1dec6365e21d94576c583bb5b040b2d221e650f87b9733b9652402fddfcc

See more details on using hashes here.

File details

Details for the file hugr_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: hugr_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 83.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hugr_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c1fbab312390326796e09884406c26b60aa4258225822a8480bf2a8ed925869
MD5 8efc249026ae92a602875c106ebe0ec2
BLAKE2b-256 46461844e56ffb5ecb701251ada30f9d717d2a992ecb5a6bd41c0c55de5dca9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page