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.4.2.tar.gz (107.8 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.4.2-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hugr_cli-0.4.2.tar.gz
  • Upload date:
  • Size: 107.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for hugr_cli-0.4.2.tar.gz
Algorithm Hash digest
SHA256 cb4fdb4034d1326a4ce61d0ed987fe217a77d65b380daf3a946bd876eabca905
MD5 fb28b176121ddf7a9f80b6e94d441d46
BLAKE2b-256 248c532a72b20456dbb3798327ed86f1e36af1a2c648fcf507bd8306c52cfea7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr_cli-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 82.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for hugr_cli-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e9efe1b90f229c95180365c6c57d1295a2c0236f119ef51f0a2dec8f7671b60
MD5 3558d944e86ac00f26ab3d388afed402
BLAKE2b-256 837fdf80c633f3fc83d587d1c1f5d48151b2902eaa06475bf7842f9315fcad63

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