memoryd

module
v0.0.0-...-796927e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: Apache-2.0

README

MemoryD

Local, single-user Personal Memory Vault.

Stores content and medatata, understands it with tools and LLMs and provides natural language search.

Status: MVP in-progress, see docs/MVP.md.

The current implementation imports files up to 100 MiB and supports browsing, document understanding, ranked keyword search, document preview and download through a web UI, CLI, and OpenAPI HTTP interface.

Setup

Requires Go 1.25 or newer.

go mod download
go run ./server/cmd/memoryd

Or with a config file

go run ./server/cmd/memoryd -c server/memoryd.example.yaml

Usage

Web UI: http://127.0.0.1:8080/.

CLI command examples:

go run ./cli/cmd/mem put /absolute/path/to/file
go run ./cli/cmd/mem list
go run ./cli/cmd/mem info <memory-id>
go run ./cli/cmd/mem get <memory-id>
go run ./cli/cmd/mem delete <memory-id>

mem-search tool:

go run ./cli/cmd/mem-search -n 50 'passports Anton'
go run ./cli/cmd/mem-search -n 150 'passports'
go run ./cli/cmd/mem-search --all 'Games'

Use --server ADDRESS ... or set MEMORYD_URL to connect to another server. Run a command without its required arguments to see its usage.

Documentation

Development

./dev-generate-openapi.sh   # regenerate OpenAPI specification
./dev-lint-go.sh            # format and lint Go code
go test ./...               # run all tests

dev-lint-go.sh requires golangci-lint on PATH.

Enable the pre-commit hook for this clone:

git config core.hooksPath .githooks

Directories

Path Synopsis
cli
cmd/mem command
cmd/mem-search command
internal/api
Package api contains generated HTTP client bindings for memoryd.
Package api contains generated HTTP client bindings for memoryd.
internal/command
Package command implements the small amount of CLI behavior above the generated memoryd HTTP client.
Package command implements the small amount of CLI behavior above the generated memoryd HTTP client.
server
cmd/memoryd command
internal/api
Package api contains generated net/http server bindings for the HTTP contract.
Package api contains generated net/http server bindings for the HTTP contract.
internal/config
Package config loads and validates memoryd's process configuration.
Package config loads and validates memoryd's process configuration.
internal/understanding
Package understanding builds and executes Understanding Plugin v2 requests.
Package understanding builds and executes Understanding Plugin v2 requests.
internal/vault
Package vault owns durable Memories and their immutable Blob content.
Package vault owns durable Memories and their immutable Blob content.
internal/webui
Package webui serves memoryd's embedded browser interface.
Package webui serves memoryd's embedded browser interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL