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.1.tar.gz (110.7 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.1-py3-none-any.whl (85.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hugr_cli-0.5.1.tar.gz
  • Upload date:
  • Size: 110.7 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.1.tar.gz
Algorithm Hash digest
SHA256 815cf73cc5535b25b51beb16966f48e15d4172a0bc75990de8e9c4a56634c010
MD5 c81c07a4b72a767aa2b44654aaaeabc3
BLAKE2b-256 e9927c03fae2d1a7ff96830b32ffb38a7e23b62c89f9bd7580c76193be3975ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr_cli-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 85.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6d7bb8d9a33a63ee3c8f8494310bbaeb9e31daddec5c95ed9f56ab22f268b8e
MD5 aeb60e2fb48682b766cd37a4caeb4c5c
BLAKE2b-256 de942f7d56d5e0da941586b6ace5f62c5563f0c953fb356e26628c0ef3d683dc

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