Skip to content

Releases

v0.24.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 01:31
9e03c75

What's New in v0.24.2

Patch release. Theme: doc create works again on stores that went through schema v11, and the
website builds again.
Every way to create a document (uteke doc create, POST /doc/create,
uteke_doc_create) failed with NOT NULL constraint failed: documents.namespace on such a store, and
the Deploy Website workflow failed on every push to main and every tag since v0.23.0, so
uteke.app was not updated. Plus a gap in the secret detector (uteke-privacy) and a faster
list_pinned.

Upgrade notes

  • Schema v28 (a partial index on pinned memories, #1804): a store opened by 0.24.2 is at v28, and a
    0.24.1 or older binary refuses it ("database schema version 28 is newer than supported version 27").
    Back up the data directory before moving to 0.24.2 if you may roll back. The migration only creates
    an index; no row changes.
  • The Linux x86_64 legacy bundle (uteke-x86_64-unknown-linux-gnu-legacy-*, the SSE4.2 ONNX Runtime
    for CPUs without AVX2) is not part of this release. It was built from the ONNX Runtime source on
    github.com/microsoft/onnxruntime, which has answered 404 since 2026-11-17. On a CPU without AVX2,
    stay on the v0.24.1 legacy bundle or use a remote embedding provider (OpenAI, Ollama); restoring the
    bundle needs another source of that code.
  • The ONNX Runtime library that ships next to the binaries now comes from the onnxruntime wheel on
    PyPI (same 1.24.4, pinned by SHA-256 in scripts/fetch-ort.sh) for the same reason; the release
    workflow, install.sh --from-source and a new pull request check use that one script.
  • The release workflow publishes to crates.io only after every platform build succeeded, so a failed
    build can no longer leave crates on crates.io without binaries.
  • No CORE contract change: list_pinned is a core library method (no HTTP, MCP or CLI surface), and
    the doc create fix restores the documented behaviour.
  • Dependency updates: rusqlite 0.43 (bundled SQLite), clap 4.6.8, uuid, flate2, toml.
  • MCP Registry: server.json is now app.uteke/uteke-memory (domain-verified through
    _mcp.uteke.app) with the title "Uteke - Long Term Memory for AI Agents" and icons; the release
    workflow publishes it with the MCP_DNS_PRIVATE_KEY_HEX repository secret, and the old
    io.github.codecoradev/uteke listing is deprecated by a separate manual workflow once the new one is
    live (#1802, #1803).

Added

  • Uteke::list_pinned fetches pinned memories in one query (#1804) - a client lists the pinned
    (never-decay) memories, newest first and optionally per namespace, instead of paging through the
    whole store and filtering. A soft-deleted (deprecated) pinned memory is left out, so the result
    matches count_pinned. Schema v28 adds a partial index (idx_memories_pinned) so the query does
    not scan the table; a store at v27 upgrades in place and keeps its rows.

Fixed

  • The website build failed on docs/viewer.md, so uteke.app was not updated since v0.23.0 -
    a code span (Authorization: Bearer <token>) was wrapped across two lines, and VitePress read the
    <token> as an HTML element without an end tag (viewer.md: Element is missing end tag). The
    Deploy Website workflow failed at its Build step on every push to main and every tag from
    v0.23.0 on. The span is on one line again; all pages build.
  • uteke-privacy: an API_KEY=value secret next to a non-ASCII character, a guillemet or a bare
    [REDACTED was not masked (#1794)
    - a character such as é or « stuck to either end of the
    value made the whole value "prose", and [REDACTED anywhere in a value (or at its start, where
    [ ended the value at once) made it a "placeholder", so API_KEY=«<24-char token>» and
    API_KEY=[REDACTED<token> stayed in clear text. Now the ASCII run is the value: it is masked and
    the character stays (API_KEY=«[REDACTED:env-secret]»). [REDACTED is a placeholder only as a
    complete mask ([REDACTED], [REDACTED:kind]), so a bare marker glued to a secret does not hide
    it, and a value that is only masks stays untouched (redact is still idempotent). A run of bare
    markers of any length (456 or more used to fill the 4096-byte window of one value) is skipped in a
    loop over the whole text, so it neither hides the secret behind it nor nests calls. A value with
    whitespace, or with non-ASCII inside it, is still prose, and a password name keeps taking a whole
    non-ASCII token. The behaviour is documented in the crate docs; tole, which shares the crate,
    can drop the «NAME» stand-in workaround.
  • doc create failed with NOT NULL constraint failed: documents.namespace on older stores -
    a store that went through schema v11 keeps namespace TEXT NOT NULL DEFAULT 'default' on
    documents (migration v13 only dropped the unique index), and the insert bound NULL to that
    column explicitly, so the column default never applied. Every way to create a document failed:
    uteke doc create, POST /doc/create (500) and uteke_doc_create (insert document: missing required field). A document without a namespace now leaves the column out of the insert, so an
    old store stores 'default' and a store created by this version keeps the column empty. The
    structural import (uteke import of a full bundle) had the same bind, and because it uses
    INSERT OR IGNORE it skipped such documents without an error; it is fixed the same way.
    Documents stay global (#614): --namespace on doc create is still not a document scope.

Docs

  • LongMemEval-S numbers refreshed to the v0.24.0 release binary (#1789) - the README (English
    and Indonesian), docs/benchmarks.md, docs/comparison.md, docs/benchmark-positioning.md and
    benchmarks/longmemeval/REPRODUCING.md quote the v0.24.0 run: recall_any@5 98.2% and
    recall_any@10 98.8% (unchanged), strict recall_all@5 87.6% (88.0% in v0.16.0 to v0.20.0; two
    questions moved a gold session across the rank-5 boundary with identical top-50 sets), strict@10
    95.2%, zero misses@50. New receipt benchmarks/longmemeval/receipts/v0.24.0-default-500q/ (its
    summary.json is the output of score_longmemeval.py on the committed raw file) and a
    v0.24.0 section in RESULTS.md; the facts the run did not record (the Modal run id, the exact
    command) are marked "not recorded" in the manifest. The breakdown chart still shows the
    v0.20.0 run and says so.

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.24.2.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.24.2.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.24.2.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.24.2.zip

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.24.2 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Store a memory
uteke remember "Important context" --tags project

# Recall by meaning
uteke recall "what was that context?"

# Start server for fast AI agent access
uteke-serve --port 8767

Full changelog: https://github.com/codecoradev/uteke/blob/main/CHANGELOG.md

Community contributors

(No external contributions in this cycle. Full contributor list: https://github.com/codecoradev/uteke/graphs/contributors)

v0.24.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 05:59
fbf0a53

What's New in v0.24.1

Patch release. Theme: uteke-serve 0.24.0 never started listening. Every start of 0.24.0 stopped
after the log line "Lifecycle config loaded": /health never answered, so the Docker image showed
unhealthy, and the stuck process kept the index file lock. If you run uteke-serve or the Docker image,
upgrade from 0.24.0 to 0.24.1. The uteke CLI and uteke-mcp have their own start-up and were not
affected: every CLI command and an MCP stdio session were run against this code.

Upgrade notes

  • No schema change: the store stays at schema v27, so a 0.24.0 data directory opens as is.
  • Correction to the 0.24.0 notes, which said an older binary ignores the new tables: a 0.23.0 binary
    refuses a store at schema v26 or v27 ("database schema version N is newer than supported version 25").
    Back up the data directory before moving to 0.24.x if you may roll back.
  • A remote document search query is at most 2000 characters (#1777); a longer one is a 400. POST /doc/search is LAB, the CLI is unchanged.

Docs

  • The uteke-memory skill (both copies), docs/mcp.md and the generated API reference say that a
    remote document search query is at most 2000 characters (#1777); the Docker tag table names the
    0.24 minor tag.

Fixed

  • POST /doc/search and uteke_doc_search bound the query (#1777) - a remote document search took a
    query of any length (up to the 10 MB request limit) and embedded it under an embedding slot. The query
    is now at most 2000 characters in every mode, the same bound as a remote skill search: a longer one is a
    400 (an MCP tool error) before a slot is taken. POST /doc/search is LAB; the CLI is unchanged.

  • uteke-serve v0.24.0 no longer hangs at startup - the server stopped after the log line
    "Lifecycle config loaded" and never listened: it took the store Mutex twice inside one let ctx = ...
    statement (the [recall] defaults from #1754 and the embedding gate from #1753), the first guard was a
    temporary that lives to the end of the statement, and the second lock() waited on it forever. Every
    start of v0.24.0 was affected: /health never answered (Docker showed the container unhealthy), the
    process ignored SIGTERM as PID 1 and kept the index file lock, so verify, repair and doctor blocked.
    Each value is now taken in its own statement. A new test starts the real uteke-serve and waits for
    GET /health.

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.24.1.tar.gz
Linux x86_64 (Legacy, SSE4.2) uteke-x86_64-unknown-linux-gnu-legacy-v0.24.1.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.24.1.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.24.1.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.24.1.zip

Legacy Bundle (Linux only) — Includes a SSE4.2-only ORT sidecar (ort-legacy/) for CPUs without AVX2 (Intel Celeron J4125/N4020). Use this bundle to avoid SIGILL crashes on older hardware.

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.24.1 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Store a memory
uteke remember "Important context" --tags project

# Recall by meaning
uteke recall "what was that context?"

# Start server for fast AI agent access
uteke-serve --port 8767

Full changelog: https://github.com/codecoradev/uteke/blob/main/CHANGELOG.md

Community contributors

(No external contributions in this cycle. Full contributor list: https://github.com/codecoradev/uteke/graphs/contributors)

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 08:21
adb7229

What's New in v0.24.0

A personal skill library, similar documents, room aliases and the category:title room convention, rooms on recall hits, room search, a read-only skill and document similarity surface for tole, the secret detector as its own crate, and a round of refactors that put the CLI, uteke-serve and uteke-mcp on one core path. Two schema steps (v26 room_aliases, v27 the skill tables), both forward-only: an older binary ignores the new tables.

Upgrade notes

  • A failed MCP tool call is now a tool result with isError: true instead of a JSON-RPC -32603 error, and the text of a client error no longer starts with Failed: . HTTP routes that answered every non-validation failure with 500 now answer by error class (404, 429, 409, 400), POST /recall included. See "Changed".
  • Renaming a room keeps the old id as an alias; a new room id outside category:title is accepted with a warnings entry. [rooms] require_category_title stays off by default.
  • Skill files are no longer readable or editable as documents (doc get, doc update).
  • Remote requests that embed a client string are capped at 32768 characters and at most 2 run at once; another is refused with HTTP 429 (busy). POST /doc/search in hybrid or semantic mode now takes a slot.
  • The release workflow publishes a new crate first: uteke-privacy.
  • Contract notes for uteke-cloud: #523 and #525 (rooms on hits, CORE), #526 (room alias), #527 (category:title), #528 (skip_deprecated_copies).

Added

  • Catalog-grade Hermes plugin and a portable Agent Plugin (#1727) - the native Hermes hook
    plugin (key uteke, 2.1.0) reads the token only through the Hermes secret scope and per recall,
    passes an allow-listed child environment, has no update check and marks recalled text as data.
    integrations/agent-plugin is a portable Agent Plugin (uteke-mcp: a skill and a stdio server)
    with a static validator test, plus a draft MCP catalog manifest for https://uteke.app/mcp and
    draft catalog entries. The READMEs offer Uteke Cloud before the local options.
  • Personal skill library, read-only remote surfaces (#1731, LAB, stage 2) - POST /skill/search,
    /skill/list, /skill/show and /skill/similar and the MCP tools uteke_skill_search,
    uteke_skill_list, uteke_skill_show and uteke_skill_similar (in the read-only set, results
    fenced as stored data) let an agent, tole for one, recall only the few skills a task needs over
    the API that uteke serve already exposes. Both transports call one core entry point
    (Uteke::skill_remote), so they validate identically: a field that does not belong to the
    operation or is unknown is refused, and every client-supplied size is bounded (query 2000
    characters, limit clamped to 1-50 for search, 1-200 for list and 1-100 for similar, a draft
    text at most 32768 characters, a slug 64). index, approve, record and lint are not
    remote and stay CLI-only. Skill files are no longer readable or editable as documents:
    doc get, POST /doc/get, uteke_doc_get, doc update and the children of a skill file answer
    "not found" (before, a document read by slug returned the file text). No schema change.
  • Personal skill library (#1731, LAB, stage 1: core and CLI) - uteke skill index <dir>
    reads the skills of this machine (a directory with a SKILL.md; no file is ever modified, links
    are not followed, every read is bounded), records each package's hash and lints it, and embeds its
    text files as documents with content_type = 'skill', hidden from doc list, doc search,
    recall and the document similarity answers. uteke skill search (hybrid, one hit per skill),
    list, show, similar (the SKILL.md document vectors of #1730, also for a draft text),
    lint and approve <slug>@<hash> follow. The hash covers the whole package (SHA-256 over every
    file's path length, path, content length and content, sorted by path), so a changed script or
    reference file is detected, and it is byte-identical to the package hash tole computes for
    TOLE_SKILL_APPROVAL=required (8-byte little-endian lengths, written sha256:<hex>; .git is
    hashed; a package with a symbolic link or special file is rejected, not skipped; approve accepts
    <slug>@sha256:<hex>, a bare hex or a prefix of 12 or more hex digits; hashes are only promised
    equal within tole's limits, uteke's bounds are at least as strict); approval is only for the current, valid version, a new hash makes a new
    draft and stales the old approval, and an append-only ledger (triggers refuse UPDATE and DELETE)
    records every change with the hash before and after. Schema v27 adds skills, skill_versions,
    skill_usage and skill_ledger under the Cloud registry's names. The shared registry stays in
    Cloud. HTTP and MCP routes for the library follow in stage 2 (above).
  • Similar documents and a duplicate report (#1730, LAB) - which documents are close to this one,
    and is there already a document like this draft? uteke doc similar <slug> (or --text /
    --file for a draft that is not stored), uteke doc duplicates [--subtree] [--namespace],
    POST /doc/similar and the MCP tool uteke_doc_similar (read-only, fenced, open to read-only
    tokens) answer with the documents at or above a cosine threshold, possible_duplicate from 0.92
    and similar_to from 0.80 (the memory auto-link values), or with the duplicate pairs and groups
    of a namespace or subtree. The document vector is the mean of the chunk vectors, L2-normalised,
    read from SQLite: no extra embedding call, and it exists for restored and imported documents as
    soon as their chunks are embedded. A document without vectors is skipped and counted
    (documents_without_vector; uteke repair --reembed fills it). The relations are derived on
    every call, not stored as edges, so nothing goes stale. New [doc_similarity] keys
    similar_threshold and duplicate_threshold (defaults 0.80 and 0.92, validated). Nothing about
    memories, CORE routes or the schema changes. Contradiction checks on documents are out of scope.
  • Room ids of the form category:title (#1715, stage 1 of 3) - the convention is
    category:title (for example project:uteke, research:docker): lowercase, exactly one
    colon, at most 64 characters. Only the shape is the rule; the category is a
    recommendation (project, research, team, ops, ref), so a custom category of
    the right shape is accepted. Stage 1: creating a room, or renaming one, to an id of
    another shape still works and now returns a warning (warnings on POST /room/create
    and POST /room/rename, a Warning: line in the MCP tools, a line on stderr and
    warnings in --json for uteke room create and uteke room rename). A room created
    by the first write into it (POST /room/remember, MCP uteke_remember with room,
    uteke remember --room) gets the same warning, once, on the write that creates it.
    Reads, recall, existing rooms and aliases are never warned or blocked. Stage 2 renames the old rooms through the aliases of
    #1714; stage 3 rejects new ids of the wrong shape. Owner order 2026-11-10 (contract
    amendment 4, uteke-cloud #527).
  • [rooms] require_category_title (#1715, stage 3 prepared, off by default) - with it
    on, a new canonical room id that is not of the form category:title is refused instead
    of warned: room create, the target of room rename, and a room a write would create
    (POST /room/remember, MCP uteke_remember with room, uteke remember --room, refused
    before the memory is stored). HTTP answers 400 invalid_room_id (error, message,
    room_id), MCP errors start with invalid_room_id:. Existing rooms, aliases, reads,
    import and namespace migrate are not affected. Global uteke.toml only; the default
    stays false until the owner flips it in a release, after the old rooms are migrated.
    Uteke Cloud follows the same rule once it is validated in OSS.
  • Renaming a room keeps its old id working (#1714) - room rename, POST /room/rename and
    uteke_room_rename now record the id a room leaves as an alias of the renamed room, in
    the same transaction. Every room operation (remember, recall, room recall, stats,
    summary, update, document links, memory links, move, delete) resolves an alias first
    and works on the canonical room, so AGENTS.md files, notes, skills and agent configs
    that still name the old id keep working. Responses name the canonical room. An alias is
    never also a room id: creating a room under an alias, or renaming another room onto an
    alias of a different room, is an error; a room may take back a name it used to have. A
    chain of renames (A to B to C) resolves every earlier name to C, deleting a room drops
    its aliases, and room list shows canonical rooms only. Schema v26 adds the
    room_aliases table (forward-only: an older binary ignores it). Owner order
    2026-11-10 (contract amendment 4, uteke-cloud #526); the category:title room naming
    (#1715) depends on it.
  • skip_deprecated_copies for import (#1716) - OSS and Cloud now agree on a live row
    whose content matches only a deprecated copy (forgotten, superseded, consolidated or
    pruned): by default it is imported as a new live memory (the OSS behaviour since #1690),
    and the opt-in skip_deprecated_copies skips it and counts it in duplicates_skipped.
    It is a boolean in the body of POST /import and uteke import --skip-deprecated-copies
    (JSON/JSONL only), for files that may carry text replaced on purpose. The skipped row
    links no rooms, since the stored copy is not live. Unchanged either way: a row that
    carries the id of a deprecated memory is skipped, a deprecated row over a deprecated
    copy is skipped, an exact copy of a live row is a duplicate, and values rejected with
    forget --reason are rejected. Contract: additive request field on a COR...
Read more

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 07:28
03e5f19

What's New in v0.23.0

Capture, tombstones, honest time travel, a read-only viewer, agent hooks and a Cloud-export import path. Three schema steps (v23 rejected_values, v24 observations, v25 idx_memories_source), all forward-only: an older binary ignores the new tables and the index.

Upgrade notes

  • at on recall and list now also returns memories deprecated after that instant (history is the default; no wire parameter). See "Changed".
  • recall --strict now compares against the new similarity field instead of score, so it returns hits again.
  • Capture ([capture] enabled) is off by default and sends turns to an LLM only with [extraction] mode = "llm".
  • MCP read tools wrap their text in <uteke-stored-data>; set UTEKE_MCP_FENCE=0 if a client parses the text.
  • POST /import keeps row ids and fields, takes defer_embedding, and accepts bodies up to 64 MiB.
  • Contract notes for uteke-cloud: #437 (tombstone 409), #458 (time travel), #459 (similarity, strict), #460 (min_trust, trust_tier), #489 (POST /import), #490 (MCP fence).

Added

  • uteke connect <agent> --absolute-path (#1672) - writes the path of the running
    uteke into the hook commands (quoted for sh -c and for the PowerShell
    commandWindows) instead of resolving it through PATH, for users who do not want an
    earlier PATH entry named uteke to receive every prompt and reply. The manifest
    records the path; doctor reports the install as stale once that file is gone and
    uteke connect <agent> --absolute-path refreshes it; disconnect removes the entries by
    the manifest as before. Without the flag the entries and manifests are byte-identical to
    before. The integration pages now document the PATH trade-off. connect is unreleased
    (only on develop), so this adds a flag with no compatibility shim.

  • similarity on recall results, and strict that works (#1650) - every memory
    result on the CLI (--json), POST /recall and uteke_recall (explain and pack
    JSON, the sim field of the text lines) carries similarity: the unboosted cosine
    of the vector leg (0 to 1), or null when only full-text search found the hit.
    Pack and unified results carry it too (null for documents). strict and
    [recall] min_score_strict now compare against similarity and drop hits with
    none; before they compared the 0.5 floor against score, which under the default
    fusion strategy is at most about 0.25, so recall --strict returned nothing.
    score, --min and the ranking are unchanged for every strategy. The filter runs
    before the limit, so up to N rows come back when N qualify. MCP uteke_recall
    already accepted strict. Why 0.5 fits EmbeddingGemma cosine, and what it costs:
    benchmarks/internal/STRICT_FLOOR.md. Wire names (similarity, strict,
    min_score_strict) are those agreed with uteke-cloud#459.

  • recall --min-trust and trust_tier on results (#1651) - min_trust
    (human, agent, external or untrusted, lowercase) on the CLI, POST /recall
    and uteke_recall keeps results whose provenance tier is at least that, before the
    limit, so up to N rows still come back. Each memory result carries trust_tier, the
    same lowercase string uteke provenance writes in JSON and min_trust takes (the
    MCP text lines show tier <x>). Omitting min_trust changes nothing. It filters the
    provenance tier only, not a trust state, and author_type is self-declared, so it is
    a convenience filter, not a security boundary. Documents have no tier and are dropped
    when it is set. Wire names agreed in uteke-cloud#460.

  • Validity in columns on HTTP and MCP (#1598) - POST /remember, PUT /memory
    and the MCP tools uteke_remember and uteke_update accept valid_from and
    valid_until (RFC 3339) and store them in the columns that at reads, as
    agreed in Amendment 3 of the core contract (uteke-cloud#458). A value that is not
    RFC 3339, an interval that does not start before it ends, or (on /remember) an
    end at or before the write time without a start is refused with 400 and nothing
    is written. POST /remember keeps the metadata copy of both values for one
    release. uteke remember with these flags now goes through a running server
    instead of falling back to the local store. uteke export writes valid_from
    and valid_until and import reads them (an old file starts at created_at; an
    end that does not follow the start is dropped), so a round trip keeps the
    interval. Rows that carry the values only in metadata are not migrated: the
    metadata is free text. Docs: docs/time-travel.md.

  • Session timeline in the viewer (#1470 c) - the uteke view page gets a
    Sessions tab: the captured sessions, and for one session its turns in seq order
    and the memories whose source is capture:<session>:<batch> or
    observation:<session>; each memory with such a source links back to it. Core:
    Uteke::capture_sessions, session_timeline, session_memories (read-only).
    Same token, Host and GET-only rules; the two new paths are viewer-only, not API
    routes. Docs: docs/viewer.md.

  • uteke view: a read-only browser viewer (#1470 b) - lists memories (with a
    namespace filter), namespaces, rooms and health on a loopback page. It is a
    separate listener (uteke-serve --viewer), not an API route, so CORE and LAB are
    unchanged. Every request needs a random per-launch token (401 without it) and a
    loopback Host with the right port (403, the API's host guard); only GET is
    served (405 otherwise) and only registry rows with writes = false; no CORS
    headers; a non-loopback bind is refused unless the server auth token is set.
    Stored text is rendered with textContent, never as markup. Plain HTML plus the
    vendored @codecora/tokens CSS, no build step. Docs: docs/viewer.md.

  • Caller-supplied validity: uteke remember/update --valid-from/--valid-until
    (#1598)
    - say when a fact became true and when it stopped, as RFC3339. The
    values go into the valid_from/valid_until columns that recall --at and
    list --at read (until now valid_from was always the write time). The
    interval is checked before anything is written: it must start before it
    ends, and since a new memory starts at the write time, a past
    --valid-until needs --valid-from too. A deprecated memory is refused
    (restore it first). Core: Uteke::set_validity and
    RememberRequest::validity. Deprecation now keeps a caller end that is
    already in the past instead of overwriting it with the deprecation time;
    rows without a caller end deprecate exactly as before. Restore still clears
    valid_until. The wire followed in the "Validity in columns on
    HTTP and MCP" entry above. Design: docs/plans/2026-11-03-time-travel-1598.md.

  • History mode for time travel: uteke recall --at T --history, uteke list --at T --history (#1598) - also returns the memories deprecated after T
    (forgotten, superseded, replaced by a contradiction), i.e. what was believed
    at T, corrections included. This is the meaning #1086 gave at, which the
    default never delivered: deprecation removes the memory's vector from the
    index, so the index-based candidates could not contain those rows. History
    recall merges the index results with the memories deprecated after T,
    scored by cosine similarity against the embedding kept in the row (one extra
    query and one dot product per such memory, a set prune bounds); history
    list relaxes the SQL's deprecated = 0. Core:
    Uteke::recall_at_time_history, Uteke::list_at_time_with. Opt-in when it
    landed; history became the default in the "Changed" entry above. Design:
    docs/plans/2026-11-03-time-travel-1598.md.

  • uteke doc export --front-matter (#1470) - prefixes each Markdown
    document with YAML front-matter (slug, title, tags, parent as the
    parent slug or ""), values double-quoted so :, #, quotes and newlines
    stay valid YAML. Off by default: the plain export is byte-identical, and the
    flag is ignored with --json. No doc import reads it back; the lossless
    round trip stays uteke export --full / import --full.

  • uteke namespace migrate --map <file> (#1427 phase 3) - moves whole
    namespaces into default from a TOML map ([map."<ns>"] with room, tag,
    author and/or source, or drop = true). Dry run by default with a
    per-namespace report (counts, a room that will be created, kept authors or
    sources, soft-deleted rows left in place, unmapped namespaces); --apply
    writes a full export next to the database first, then migrates one
    transaction per namespace. drop soft-deletes and needs --allow-drop;
    default cannot be mapped; a re-run is a no-op. Logic in
    uteke_core::namespace_migrate.

  • uteke connect codex|cursor|pi|hermes (#1465) - Codex: hooks in
    ~/.codex/hooks.json ($CODEX_HOME), the Claude Code shape plus a PowerShell
    commandWindows; connect prints the one-time /hooks trust step. Cursor:
    ~/.cursor/hooks.json (version: 1); sessionStart returns the recalled pack
    as additional_context, and capture uses beforeSubmitPrompt and
    afterAgentResponse (Cursor's stop/sessionEnd carry no text), grouped by
    conversation_id; the prompt hook always answers {"continue": true}, also
    without uteke on PATH. connect pi|hermes installs the memory-provider
    plugin (init <agent> --memory-provider; a plugin file you changed is kept as
    <file>.uteke-bak first), and disconnect removes its files while unchanged. Docs: docs/integrations/codex.md, docs/integrations/cursor.md
    (with the Cursor 3.2.7 additional_context bug).

  • uteke connect / disconnect: agent lifecycle hooks, Claude Code first
    (#1465)
    - uteke connect claude adds SessionStart, UserPromptSubmit and
    Stop hooks to ~/.claude/settings.json: the session starts with ...

Read more

v0.22.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 10:06
c459d25

What's New in v0.22.1

Patch release. Theme: uteke upgrade verifies the cosign signature itself, so
a release no longer needs a manual signing step, plus three fixes from the Agent
Memory Atlas review. Builds before 0.22.1 cannot verify a release signed this
way: reinstall once
(brew upgrade codecoradev/tap/uteke, cargo install uteke-cli, or a manual download); from 0.22.1 on uteke upgrade works as
before. 0.22.0 was never signed with minisign, so it cannot be installed with
uteke upgrade.

Security

  • uteke upgrade verifies the cosign signature of the release itself (#1610) - it checks the checksums-sha256.txt.bundle the Release workflow already publishes, offline and fail closed: the signature over the file, the Fulcio certificate chain to a root compiled into the binary, the workflow identity (this repository's release.yml at exactly the tag being installed, issued to GitHub Actions), and the Rekor entry (signed timestamp inside the certificate's validity, same file, signature and certificate). A release no longer needs a manual signing step, so a lost signing password can no longer leave a release unverifiable, and there is no key to rotate. v* tags are now protected by a repository ruleset, which is what the scheme rests on (see SECURITY.md).

Removed

  • The minisign signature of checksums-sha256.txt - scripts/sign-release.sh, its test, the release-signature reminder workflow and script, scripts/uteke-release.pub and the minisign-verify dependency are gone. uteke upgrade refuses any release older than v0.22.1, the first it can verify. Builds before v0.22.1 cannot verify a keyless-signed release and must be reinstalled once (brew upgrade, cargo install uteke-cli, or a manual download); v0.22.0 was never signed with minisign and cannot be installed with uteke upgrade.

Added

  • uteke-serve and uteke-mcp can opt out of the update check (#1596) - the daily check against GitHub could be turned off only in the CLI. UTEKE_NO_UPDATE_CHECK (any value) and update_check = false in the global uteke.toml are now honoured by every binary: the opt-out sits in the shared uteke_core::update_check module, in the two functions all callers go through, so a new binary cannot forget it. With it set, no binary calls GitHub for the check and GET /health reports no update; uteke upgrade is explicit and still does. The existing update_check key is reused instead of adding a second spelling.

Fixed

  • The pi and Hermes auto-recall hooks work with default settings (#1593) - the pi extension called uteke recall --min-score, which the CLI rejects (the flag is --min), so its hook returned nothing; and both adapters dropped every hit below a default threshold (0.45 and 0.40) that the default fusion strategy never reaches (its scores are rank-based and top out near 0.04). The Hermes parser also expected a nested memory object, while uteke recall --json and POST /recall return flat items. Both adapters now keep every hit by default (UTEKE_RECALL_MIN_SCORE stays an opt-in), pi passes --min only when a threshold is set, Hermes reads the flat shape (the nested one still works), and uteke recall --min-score is accepted as an alias of --min (also on uteke room recall). Both adapters have tests that parse real recall --json output (python3 -m unittest discover -s extensions/hermes-uteke-memory, bun test extensions/pi-memory-provider), run by a new CI job. To keep a threshold, set UTEKE_RECALL_MIN_SCORE for the strategy you use.

  • A consolidated record is linked to its room (#1594) - room consolidation wrote the room under the metadata key room while the code that links the record read room_id, so a consolidated record was stored but never linked to the room it came from. The executor now writes room_id, and the reader still accepts the old room key. Records already written with room and no room link stay as they are; link them with uteke room link <id> <room>.

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.22.1.tar.gz
Linux x86_64 (Legacy, SSE4.2) uteke-x86_64-unknown-linux-gnu-legacy-v0.22.1.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.22.1.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.22.1.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.22.1.zip

Legacy Bundle (Linux only) — Includes a SSE4.2-only ORT sidecar (ort-legacy/) for CPUs without AVX2 (Intel Celeron J4125/N4020). Use this bundle to avoid SIGILL crashes on older hardware.

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.22.1 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Store a memory
uteke remember "Important context" --tags project

# Recall by meaning
uteke recall "what was that context?"

# Start server for fast AI agent access
uteke-serve --port 8767

Full changelog: https://github.com/codecoradev/uteke/blob/main/CHANGELOG.md

Community contributors

(No external contributions in this cycle. Full contributor list: https://github.com/codecoradev/uteke/graphs/contributors)

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 03:48
cad392d

What's New in v0.22.0

Security

  • Room consolidation applies the privacy filter before the embedder (#1464) - the text written by the consolidation LLM was embedded first and filtered when it was stored, so with an openai or ollama backend an unmasked secret in that text reached the remote embedding provider, and the stored vector came from the unmasked text. The text is now validated and masked first (strict mode refuses it, and a refused record is never embedded), like every other write path.
  • A project-local uteke.toml can no longer set the cycles that delete memories (#1534) - .uteke/uteke.toml in a cloned repository could set [lifecycle] (deprecated_ttl_days = 0, max_deprecate_percent = 100, auto_prune_enabled = true, soft_delete_only = false), [dream] thresholds, an [aging] age or the [maintenance] auto-dream switch, and the next lifecycle cycle or uteke aging run applied them to the user's store. These four sections are now read from the global uteke.toml only, like [privacy] and [server]; the project file's copy is ignored with a warning. [recall] and [tier] stay settable per project. Anyone who set lifecycle per project moves those keys to the global file, or sets UTEKE_TRUST_PROJECT_CONFIG=1 to keep the old behaviour.
  • rustls-webpki 0.103.16 and webpki-roots 1.0.10 (RUSTSEC-2026-0382, RUSTSEC-2026-0381) - certificate verification could accept intermediates that were distrusted (emSign). Both sit in the TLS stack of the HTTP client (uteke upgrade, the OpenAI and Ollama embedding backends, the extraction client, the CLI-to-server client over HTTPS). Lockfile only; no code change.

Added

  • uteke import restores the vectors of imported documents, and uteke import --full (#1587) - a bundle from uteke export --full already restored documents (slug, title, parent, content, chunk text) but no chunk vectors, so the documents were invisible to semantic search until a manual re-save. import now regenerates the chunk vectors after the restore and reports chunks_reembedded; uteke repair --reembed also re-embeds chunks without a vector (chunks_missing, chunks_reembedded, chunks_failed) when the backend was down during the import. --full states that the input must be such a bundle; any other file is an error before anything is stored. A structural bundle is still detected without the flag.
  • Room links travel with uteke export and uteke import (#1588) - each exported memory carries the ids of its rooms (rooms, absent when it is in none, so a store without rooms exports exactly as before). import links every memory to the rooms that exist in the target store, also for a duplicate of a memory that is already stored, and reports room_links (new links) and rooms_missing (rooms named by the file that the target lacks) in the CLI, in POST /import and in the JSON result. To fill a target whose rooms do not exist yet: create them, then import the same file again; nothing is copied. The link author is the memory's author, or import.
  • Add an existing memory to a room without copying it (#1589) - uteke room link <memory_id> <room> [--author], POST /room/memory ({ memory_id, room, author? }, LAB tier) and the MCP tool uteke_room_link_memory. The id is a full UUID or an unambiguous prefix, the room must exist (404 otherwise), and linking twice is not an error (already_linked: true, the first link and its author are kept). Before, the only ways were remember with a room (a duplicate memory) or room move, which fails for a memory with no link in the source room.
  • Benchmark receipts standard (#1468) - benchmarks/RECEIPTS.md, a receipts template, a backfilled receipt for the v0.19.0 LongMemEval-S headline (manifest with commit, dataset sha256 and raw-scores sha256; summary recomputed by benchmarks/scripts/score_longmemeval.py; scope of the metric), a README link, and benchmarks/scripts/check_receipts.py, run by the docs CI job, which fails when the README headline has no receipt.
  • The privacy filter now covers tags, metadata strings and source (#1464, part 2c) - a secret in a tag, in any string inside the metadata or in the source is masked (or refused in strict mode) on remember, room remember, update, import, set_source and room consolidation, and counted in redactions. update_memory_detailed returns what an update masked; PUT /memory returns redacted and uteke_update reports it. Importing a structural export (uteke export --full) restores a backup as it was and is not filtered.
  • Privacy filter reporting in the CLI and MCP (#1464, part 2b-2c) - uteke remember prints which kinds of secret were masked and its --json output gains redacted; uteke import reports masked and rejected rows; uteke_remember over MCP says so in its result, and in strict mode uteke_remember and uteke_update fail with a tool error that starts with secret_detected: and names the kinds, never the value.
  • [privacy] in uteke.toml (#1464, part 2b-2a) - mode (redact, the default, strict or off) and allowlist (regexes) now configure the secret filter in the CLI, uteke-serve and uteke-mcp; UTEKE_PRIVACY_MODE overrides the mode. The section is read from the global file only (a project file could otherwise switch the filter off), and a bad value falls back to the default instead of disabling it.
  • redacted on the HTTP write responses and secret_detected in strict mode (#1464, part 2b-2b) - POST /remember and POST /room/remember return redacted: true when the privacy filter masked a secret; a strict-mode write is refused with 400 {"error": "secret_detected", "message", "kinds"} (also on PUT /memory); POST /import reports redacted and rejected_secret. Additive; agreed with cloud in uteke-cloud#218.
  • author on every write path (#1427, phase 2) - a memory records who wrote it (the agent, user or tool name), with or without a room. POST /remember, MCP uteke_remember and uteke remember --author accept it (free text, trimmed, 1 to 128 characters; an invalid value is a 400, a tool error or a CLI error before anything is stored). A room write stamps the named writer on the memory as well as on the room link; the anonymous / user fallback of the room link is not an author. author is returned on the memory object by recall, search, list and get (omitted when unset), echoed by POST /remember, and kept by export and import. Stores migrate to schema v22 on first open (see Internal below): back up a production store first. Filtering by author is not part of this phase. Contract: uteke-cloud#219 (cloud already has the field).

Fixed

  • uteke import works on a store with no embedding backend (#1166) - the import asked the embedder for every row and failed on the first one when no backend was configured (open_with_backend(.., None)), unlike remember, which stores such a row keyword-only. The import now does the same: no vector and no duplicate check, the rows are found by keyword search, and uteke repair --reembed adds the vectors once a backend exists.
  • A namespace called all no longer shares recall-cache entries with queries across all namespaces - the recall cache keyed an all-namespaces query as the namespace "all", so a cached cross-namespace result could be returned to a caller scoped to a namespace named all (and the reverse). The key is now the namespace itself, absent for an all-namespaces query. Found by the CI review of the #1519 move.
  • uteke-mcp honours [embedding] and [vector] and the UTEKE_EMBEDDING_* variables (#1535, #1537 step 2) - the MCP binary opened the store with the built-in ONNX backend and default settings, so with backend = "openai" or "ollama" (or a custom dims) configured it silently embedded with ONNX while the CLI and the server used the configured backend, writing vectors of another model into the same index. It now resolves the embedder with the same single resolution as the CLI and the server (uteke_core::embedding_config): [embedding] and [vector] from the global file, the project file with its untrusted keys stripped, UTEKE_EMBEDDING_BACKEND (trimmed, blank = unset) and the other UTEKE_EMBEDDING_* variables over the file. An unreachable backend is reported in the tool result (Embedding NOT written: ...) instead of silently using ONNX, and an unsupported backend is a config error at start. With nothing configured nothing changes. Agreed with cloud in uteke-cloud#254 (cloud has a fixed server-side embedder; no objection). Checked with binaries from develop and from the branch on the same configs.
  • The CLI no longer sends the ONNX model name to an openai or ollama endpoint (#1537, step 1) - with [embedding] backend = "openai" and no model, uteke sent model: "embeddinggemma-q4" to the endpoint (a real OpenAI rejects it) while uteke-serve on the same file sent the backend's default, text-embedding-3-small. The CLI's model now defaults to empty, like the server's, so an unset model is the backend's default everywhere (same with UTEKE_EMBEDDING_BACKEND set in the environment). Checked with binaries from develop and from the branch against a mock embeddings endpoint.
  • The embedding cache no longer serves the vector of another model (#1536) - the persistent cache (embed_cache.db) was keyed by the embedder's constant name (openai, ollama, embeddinggemma-q4), so after changing [embedding] model, dims or the endpoint, an already cached text came back with the old model's vector, and a vector produced by the cloud fallback was cached under the primary's name. The key is now an identity the embedder owns (backend, model, dimensions, and for openai and ollama a hash of the endpoint; the API key is not part of it), a cached vector whose length is not the embedder's dimensions is ignored, an empty vect...
Read more

v0.21.1

Choose a tag to compare

@github-actions github-actions released this 15 Oct 07:46
46ae166

What's New in v0.21.1

Patch release. Theme: uteke upgrade verifies a minisign signature, Homebrew
installs keep their embeddings, and --json output stays clean.
0.21.1 is the
first release whose checksums-sha256.txt carries a minisign signature. A
0.21.0 binary only checks the SHA-256 and never verifies the signature, so the
signature protects uteke upgrade from 0.21.1 on.

⚠️ Behavior Change

  • uteke upgrade is stricter (#1327, #1462) - it installs only stable releases (vX.Y.Z), refuses to downgrade, and fails closed unless the release has a valid minisign signature for checksums-sha256.txt. A release without a .minisig cannot be installed by uteke upgrade until the maintainer signs it.
  • CLI log lines go to stderr (#1461, #1471) - scripts that read log lines from stdout must read stderr instead; --json output is now parseable even when a warning is logged.

Security

  • uteke upgrade verifies a minisign signature over checksums-sha256.txt (#1327) - the release maintainer signs the checksums offline (scripts/sign-release.sh) and uploads checksums-sha256.txt.minisig; the embedded public key (scripts/uteke-release.pub) and the trusted comment uteke <tag> are checked before any hash in the file is trusted, so a tampered file is rejected, one release's files cannot be served as another's (the signature is bound to the tag), and uteke upgrade now refuses to downgrade to an older release. It also installs only stable releases (vX.Y.Z), never a pre-release or build-metadata tag. The signature is checked by uteke upgrade only: install.sh, install.ps1 and Homebrew do not verify it (verify manually per SECURITY.md). A missing or invalid signature is a hard failure; UTEKE_UPGRADE_SKIP_CHECKSUM=1 skips it too. Manual steps are in SECURITY.md.
  • rustls 0.23.46 (#1455) - fixes RUSTSEC-2026-0346 to RUSTSEC-2026-0349 in the TLS stack used by the HTTP client.

Fixed

  • ORT_LIB_PATH pointing at a directory no longer leaves uteke without embeddings (#1459) - the Homebrew shims exported the libexec directory (v0.19.0 onwards), dlopen failed on it, and every such install silently stored memories FTS5-only (embedding_written: false, uteke verify MISMATCH). A directory that holds the platform library (libonnxruntime.so, libonnxruntime.dylib or onnxruntime.dll) is now accepted with a warning; a directory without it is a clear error that says to set the library file. The tap fix is codecoradev/homebrew-tap#10 (brew update && brew reinstall codecoradev/tap/uteke). Docker and the release tarballs were not affected.
  • CLI log lines no longer corrupt --json output (#1461) - the console log layer wrote to stdout, so any WARN or ERROR (for example a failed embedding) was printed in front of the command's JSON and json.loads(stdout) failed. Console logs now go to stderr; the log file and the command output are unchanged.

Changed

  • Internal: the server dispatch is split into one named handler per route group (#1344, #1458); dependabot batch for toml, usearch, uuid and serde_json (#1457).
  • Internal: release-signature-reminder workflow and script open and re-ping a Sign release vX.Y.Z (minisign) issue until the offline minisign signature is on the release, and close reminders for superseded releases automatically (#1327).

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.21.1.tar.gz
Linux x86_64 (Legacy, SSE4.2) uteke-x86_64-unknown-linux-gnu-legacy-v0.21.1.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.21.1.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.21.1.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.21.1.zip

Legacy Bundle (Linux only) — Includes a SSE4.2-only ORT sidecar (ort-legacy/) for CPUs without AVX2 (Intel Celeron J4125/N4020). Use this bundle to avoid SIGILL crashes on older hardware.

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.21.1 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Store a memory
uteke remember "Important context" --tags project

# Recall by meaning
uteke recall "what was that context?"

# Start server for fast AI agent access
uteke-serve --port 8767

Full changelog: https://github.com/codecoradev/uteke/blob/main/CHANGELOG.md

Community contributors

(No external contributions in this cycle. Full contributor list: https://github.com/codecoradev/uteke/graphs/contributors)

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 09:21
994f92e

What's New in v0.21.0

Minor release. Theme: honest recall feedback, one access policy for MCP over
HTTP, and a server that reads the same uteke.toml as the CLI
— recall and
search hits are counted apart from explicit gets (and once per call), a
read-only token can use the MCP read tools, uteke-serve honours
[embed_fallback], [tier] and more of [recall], namespaces start their
deprecation, and the release checksums are signed. 39 PRs since v0.20.1.

Upgrading: the first open by 0.21.0 migrates the store to schema v21
automatically (an in-place ALTER TABLE that adds memories.recall_count;
existing rows start at 0). The 0.21.0 release is the first whose
checksums-sha256.txt comes with a cosign signature bundle (see Security).

⚠️ Behavior Change

  • access_count now only grows on an explicit get; recall and search hits go to the new recall_count (#1337, #1397, schema v21) - recall, recall_context and search bump recall_count instead of access_count. Salience, aging (recompute_importance) and orphan scoring use access_count + 0.5 * recall_count, so automated recalls (session hooks, agents repeating a query) no longer reinforce the same memories as strongly as an explicit get. Historical access_count cannot be split and is left as it is. Memory gains a recall_count field (#[serde(default)], so old exports still import). Contract issue: uteke-cloud#135.
  • A recall is counted once, and only for the memories it returns (#1407, #1412) - a default (fusion) recall bumped the counter 3 times per memory and also counted candidates that were never returned. The counter is now touched once per user-level call on the final results; a recall served from the recall cache now counts too. recall --explain and the point-in-time candidate search no longer touch counters.
  • uteke-serve applies more of uteke.toml - [embed_fallback] (#1414, #1415), the graph_density_weight, graph_authority_weight, graph_rerank_enabled and jaccard_weight keys of [recall] (#1416, #1417), and [tier] (hot_days, warm_days, hot_boost; #1418, #1419) were read by the CLI but silently ignored by the server. A server whose config already sets them now uses them; absent keys keep the previous behaviour.
  • HTTP DELETE /forget rejects a non-hex id with 400 Invalid memory id '<id>' (expected a UUID or hex prefix), the rule MCP has had since #1328 (#1435, #1436; see Security).

Security

  • Read-only tokens and MCP (#1439, #1441) - POST /mcp used to be a write route, so a read-only token could not call any MCP tool, and a token that could reach it could call every tool. MCP now gates each tool: a read-only token can call the read tools (recall, search, list, get, stats, room and document reads) and gets a tool error (isError: true) from every write tool. Write tokens and the stdio transport are unchanged.
  • % and _ in a forget id no longer act as LIKE wildcards (#1435, #1436) - DELETE /forget?id=%25 matched every memory whose id contains "25" and deleted it when exactly one matched. Id prefix resolution now escapes %, _ and the escape character for every caller, and HTTP forget validates the id charset. MCP was never affected.
  • Signed release checksums (#1327, #1394) - the Release workflow signs checksums-sha256.txt with cosign keyless signing and publishes checksums-sha256.txt.bundle next to it; the certificate is bound to this repository's workflow identity, so there is no key to trust. v0.21.0 is the first release with the bundle. SECURITY.md ("Verifying a release") shows how to verify it. uteke upgrade does not verify the signature yet.
  • uteke upgrade hardening (#1421, #1422) - the whole release tag must be [0-9A-Za-z.-] with at most one leading v (an unchecked suffix used to reach the download URL and file name); the archive is capped at 128 MiB and checksums-sha256.txt at 1 MiB, enforced while streaming; archive entries must be plain relative paths (no absolute path or .. component). UTEKE_UPGRADE_SKIP_CHECKSUM stays, with a multi-line warning that the archive is not verified.
  • quinn-proto 0.11.19 (#1442) - fixes RUSTSEC-2026-0338 to RUSTSEC-2026-0342 in a transitive dependency of the HTTP client stack (uteke-cli, docgen).

Added

  • uteke_room_recall parity with uteke_recall (#1335, #1389, #1391, #1392) - optional min_score, tags (any-of), pack with budget_chars and exclude_ids, and full_ids; each result shows its memory id. In pack mode the response keeps the skipped reasons and limit is applied after exclude_ids.
  • Name filter for uteke_room_list (#1336, #1393) - optional name: a case-insensitive substring match on room id or title, combined with namespace. Omitted, the full list is returned as before.
  • "Conventions first" rule (#1395, #1396) - uteke guide, GET /guide, the bundled skill and a new instructions field in the MCP initialize response tell agents to look for the workspace's memory convention (a *conventions* room or doc, AGENTS.md, CLAUDE.md) before writing.

Changed

  • One typed request per operation, shared by HTTP, MCP and the CLI (#1343; #1423 recall, #1424 list, #1425 remember, #1426 forget) - parsing, defaults, caps and validation moved to uteke-core (recall_request, list_request, remember_request, forget_request). Extraction only: routes, shapes, defaults, caps and error texts are unchanged (except the forget id fix above); the remaining surface differences are explicit policy values.
  • The API registry drives routing and the read-only gate (#1344, #1437) - api_registry::ENDPOINTS is the table the router and the read-only-token gate read; a route without a registry row answers 404 before any handler runs, so a new write route is gated by construction. Behaviour is unchanged; GET /routes and the generated docs are byte-identical.
  • Recall paths without an embedder return an error instead of panicking (#1439, #1443) - defensive: none of these paths is reachable today. retry_embed also returns validation errors at once instead of retrying them.

Deprecated

  • Namespaces (#1427, #1434, phase 1: the signal) - namespaces are deprecated and will be removed in a future 0.x release; organise with rooms, tags and author instead. Nothing changes in routing, storage or reads, and the namespace parameter keeps working everywhere. Writing to a non-default namespace (omitting it or passing default is not deprecated) now returns a one-sentence warning: the warning field of HTTP /remember and /room/remember, an optional warning on /extract, /import, /room/create and PUT /memory (absent for the default namespace, so those responses are byte-identical), the tool text of MCP uteke_remember, uteke_update and uteke_room_create, and one stderr line from uteke remember, uteke import and uteke room create (stdout and --json unchanged). The server logs it at WARN once per distinct namespace. MCP tool descriptions, uteke guide, the skill and the docs ("Namespaces are deprecated" in docs/multi-agent.md, with the phase plan) steer to rooms, tags and author.

Fixed

  • An explicit --store no longer routes through a running server (#1439, #1444) - with [server] enabled = true and uteke-serve running, remember, recall, search, list, stats and forget went to the server, which serves its own store, so --store <other path> silently read and wrote the wrong database. An explicit --store naming a different store now always runs locally; --store pointing at the default store still uses the server.

Docs

  • Reaching the server from another device on the LAN (#1431, #1433, #1438, #1447) - a LAN access guide in docs/configuration.md (token first, bind address, read-only token, Host header, plain-HTTP caveat), MCP authentication options in docs/mcp.md, and both installers now end with an optional note pointing to the guide. No default changes.
  • Docker (#1413, #1420) - .env versus environment:/env_file: in Compose, UTEKE_AUTH_TOKEN, and the external-embedder setup.
  • Reading recall scores (#1405, #1406, #1408, #1409) - what each strategy's score means, the additive salience/recency boosts (default weight 0.1 on both CLI and server) and what that means for --min.
  • Internal: release procedure, mutation gate and memory conventions in AGENTS.md (#1382, #1388, #1404, #1440), Homebrew tap PR format and checksum check in the release workflow (#1384), Cora review against the PR's base branch (#1386), raw v0.20.0 LongMemEval results (#1390), mutation-killing tests (#1403), README anchors and CHANGELOG link refs (#1411, #1428, #1429, #1430).

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.21.0.tar.gz
Linux x86_64 (Legacy, SSE4.2) uteke-x86_64-unknown-linux-gnu-legacy-v0.21.0.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.21.0.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.21.0.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.21.0.zip

Legacy Bundle (Linux only) — Includes a SSE4.2-only ORT sidecar (ort-legacy/) for CPUs without AVX2 (Intel Celeron J4125/N4020). Use this bundle to avoid SIGILL crashes on older hardware.

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.21.0 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

#...
Read more

v0.20.1

Choose a tag to compare

@github-actions github-actions released this 09 Oct 07:34
f89939e

What's New in v0.20.1

Patch release. Theme: use an external OpenAI-compatible or Ollama embedder with uteke-serve and the Docker image. Two fixes, nothing else (no schema change, no API change).

Fixed

  • uteke-serve ignored the embedding configuration (#1399, #1401) - the server opened its store with a hardcoded onnx backend, ServerFileConfig had no [embedding] section and UTEKE_EMBEDDING_BACKEND was only read by the CLI, so an external OpenAI-compatible or Ollama embedder could never be used by the server. The server now reads [embedding] (backend, model, api_key, base_url, endpoint_path, dims) and [vector] from uteke.toml; UTEKE_EMBEDDING_BACKEND (non-empty) wins over the file, onnx stays the default, and an unsupported backend exits at startup with a message naming the supported ones. The project-local .uteke/uteke.toml stays untrusted for embedding.*. Deployments without these settings behave exactly as before.
  • Docker entrypoint downloaded the ONNX model for every backend and looped when /data was not writable (#1398, #1400) - with UTEKE_EMBEDDING_BACKEND=openai|ollama (env, or [embedding] backend in $UTEKE_HOME/uteke.toml) the ~208 MB model download is now skipped. When a download is needed but the data dir is not writable, the container exits with a message naming the fixes (chown the volume to uid 1000, pre-populate the model, or use an external embedder) instead of dying on a bare mkdir error and restarting forever. The server still needs a writable data dir for uteke.db and the index files.

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.20.1.tar.gz
Linux x86_64 (Legacy, SSE4.2) uteke-x86_64-unknown-linux-gnu-legacy-v0.20.1.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.20.1.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.20.1.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.20.1.zip

Legacy Bundle (Linux only) — Includes a SSE4.2-only ORT sidecar (ort-legacy/) for CPUs without AVX2 (Intel Celeron J4125/N4020). Use this bundle to avoid SIGILL crashes on older hardware.

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.20.1 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Store a memory
uteke remember "Important context" --tags project

# Recall by meaning
uteke recall "what was that context?"

# Start server for fast AI agent access
uteke-serve --port 8767

Full changelog: https://github.com/codecoradev/uteke/blob/main/CHANGELOG.md

Community contributors

(No external contributions in this cycle. Full contributor list: https://github.com/codecoradev/uteke/graphs/contributors)

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 06:35
9c55dbc

What's New in v0.20.0

Minor release. Theme: one write policy for the vector index, atomic documents,
shared config resolution, and a security/robustness sweep
— every index
mutation now goes through a single module, document upserts are
embed-then-commit, uteke.toml is resolved by one implementation for the CLI and
the server, GET /graph finally serves the data remember writes, and the
validated findings of the v0.19.1 review (#1319) are fixed. 29 PRs since v0.19.1.

⚠️ Behavior Change

  • List limit is capped at 1000 on /list, /recent, /contradictions, /doc/list and deprecated listings (#1321); /extract max_facts is capped at 100. Defaults are unchanged.
  • CORS is off by default (a wildcard * is opt-in), 500 responses carry a generic body, and request query strings are no longer logged (#1321).
  • Project-local .uteke/uteke.toml can no longer set credentials, endpoints or [server] (embedding.{backend,api_key,base_url,endpoint_path}, embed_fallback.* and extraction.* credentials/endpoints, the whole [server] section); set them in the global config, or UTEKE_TRUST_PROJECT_CONFIG=1 to trust the file (#1321, #1354). The server now applies the same rule and merges project sections per key instead of replacing whole sections.
  • GET /graph node ids are memory ids (they were graph-node ids), edges are the live memory_edges plus explicit graph edges, and the response gains node_id/limit query parameters and a truncated flag; edges also carry source/target (#1366, #1370). POST /graph/edge still returns the node ids it created and both id kinds are accepted.
  • Document upsert/update is atomic: if embedding fails (or no embedder is available) nothing is written, instead of leaving a half-written document (#1350). Re-parenting through doc upsert now moves the whole subtree and rejects cycles and results deeper than 10 levels (#1378).
  • Bulk "cold" forget skips pinned memories (#1333).
  • List/search/list_at_time payloads carry the stored slug, source, source_type, author_type, deprecated_at instead of defaults (#1346, #1333). Shape unchanged.
  • Auto-created similar_to / possible_duplicate links no longer point at deprecated memories and small namespaces inside a large index now get their own links (#1371). The default fusion recall does not read edges; LongMemEval fast50 (default strategy) is unchanged: recall@5 0.980, recall@10 1.000.

Security

  • Host header validation blocks DNS rebinding (#1326, #1360).
  • /import size limit, /mcp body limit and CORS, and resolve_id hardened (#1328, #1359): the import cap and its 413 message agree with the body limit, an oversized /mcp body returns 413, and ids accept only hex digits and dashes (no LIKE wildcards in the prefix scan).
  • A lock timeout no longer deletes the index files of another process; the server releases its request slot on panic; the CLI sends UTEKE_AUTH_TOKEN to the local server (#1320).
  • LIKE wildcards in document paths are escaped (#1378): _ and % in a stored path used to match unrelated documents, so moving or deleting /my_doc/ could rewrite or remove /myxdoc/....

Added

  • full_ids option for MCP uteke_list, uteke_recall and uteke_room_memories (#1357, #1358): prints full UUIDs instead of the 8-character prefix, which is ambiguous for UUIDv7 ids written within ~65 s.
  • GET /graph?node_id=&limit= and an MCP uteke_graph that lists the latest edges and takes limit (#1370).
  • Vector index sidecar consistency check on load (#1325, #1362): the .keys file carries a digest and row count of the index; a mismatch (crash between the two renames, missing sidecar) rebuilds the index from SQLite.
  • doc export writes every document to --output and honours the namespace; JSON export is an array of full documents (#1376).
  • Namespace/room/tag conventions in the bundled skill (#1356) and a refreshed skill with a command-coverage test (#1329).
  • Configuration docs: what a project config may not set.

Changed

  • index_sync: one module owns every vector index write (#1340, #1347, #1348): a single retry/persist policy, deterministic dimension errors are not retried, and an outcome that says what actually landed. 60 hand-written call sites across 7 modules went away.
  • Index saves are batched (#1322, #1363): a save happens after 64 mutations or 2 s, with flushes on shutdown and drop, instead of rewriting the whole index on every write.
  • vecq index is compacted when dead rows pass 25 % (#1324, #1364).
  • The embedder lock is released between document chunks (#1323, #1361).
  • remember no longer scans the namespace for dedup and auto-linking (one query over the candidates) and no longer holds the index write lock while wiring edges (#1368, #1371).
  • uteke.toml is resolved by one module for the CLI and the server (#1342, #1354): per-key merge, one untrusted-key policy, per-layer validation; adding a config key now needs only a struct field.
  • All memory SELECTs share one column list with the row decoder (#1339, #1346).
  • Edges to deprecated memories no longer count in graph rerank or edge traversal (#1367, #1373).

Fixed

  • FTS5 results had shifted metadata columns (#1333): slug, source, source_type, author_type, deprecated_at were misread on hybrid recall and recall_explain.
  • The exclusive index lock was lost after the first save on Unix (#1333): the flock stayed on the replaced inode.
  • doc_search paired chunk scores with the wrong rows when a chunk row was missing (#1333); resolve_db_path no longer chmods a directory it did not create (#1333).
  • Changing a document title failed with "database corruption" or left stale tokens in the search index (#1349, #1351): the documents_fts update/delete triggers now use the FTS5 'delete' command; existing stores are healed and the index rebuilt on open.
  • MCP uteke_graph_add_edge and dream contradiction edges violated the graph FK (#1365, #1370).
  • Documents: has_children stays in sync on delete and re-parent, move of a legacy row with an empty path no longer rewrites every document (#1375); a re-parenting upsert carries its descendants (#1377, #1378).
  • tags rename onto an existing tag duplicated it, VectorIndex::build on an empty store reset the dimension to 768, and recompute_importance loaded every embedding and committed per row (#1375).
  • CLI: verify-checksums --json exits 1 on a mismatch and matches the file name exactly; [lifecycle], [aging] max_access_count, update_check and doctor_footer in config files are honoured; non-ASCII titles no longer panic; doc move/update --json is valid JSON (#1334, #1376).
  • CLI recall flags the server cannot honour fall back to the local store instead of being dropped; list --entity/--category paginates the matches; doc list --tree prints descendants; upgrade verifies every new binary before installing any; the batch-import bail-out and onboard TOML escaping and legacy migrate_content are fixed (#1376).
  • uteke upgrade verification no longer fails with "Text file busy" on a freshly written binary (#1338).

Docs

  • Benchmark tooling: make_fast_eval.py finds its id list, modal_fanout.py takes LMEVAL_MODEL_DIR/UTEKE_RELEASE, dataset size corrected (#1374).

Dependencies

  • uuid 1.27.0, usearch 2.26.3.

📦 Downloads

Each archive contains three binaries + ONNX Runtime shared library:

Binary Description
uteke CLI tool
uteke-serve HTTP server daemon
uteke-mcp MCP server (stdio + HTTP)
libonnxruntime.so* / libonnxruntime*.dylib / onnxruntime*.dll ONNX Runtime
Platform File
Linux x86_64 (AVX2) uteke-x86_64-unknown-linux-gnu-v0.20.0.tar.gz
Linux x86_64 (Legacy, SSE4.2) uteke-x86_64-unknown-linux-gnu-legacy-v0.20.0.tar.gz
Linux ARM64 uteke-aarch64-unknown-linux-gnu-v0.20.0.tar.gz
macOS Apple Silicon uteke-aarch64-apple-darwin-v0.20.0.tar.gz
Windows x86_64 uteke-x86_64-pc-windows-msvc-v0.20.0.zip

Legacy Bundle (Linux only) — Includes a SSE4.2-only ORT sidecar (ort-legacy/) for CPUs without AVX2 (Intel Celeron J4125/N4020). Use this bundle to avoid SIGILL crashes on older hardware.

🚀 Quick Start

# Quick install (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Pin a specific version
UTEKE_VERSION=v0.20.0 curl -fsSL https://raw.githubusercontent.com/codecoradev/uteke/main/install.sh | sh

# Store a memory
uteke remember "Important context" --tags project

# Recall by meaning
uteke recall "what was that context?"

# Start server for fast AI agent access
uteke-serve --port 8767

Full changelog: https://github.com/codecoradev/uteke/blob/main/CHANGELOG.md

Community contributors

(No external contributions in this cycle. Full contributor list: https://github.com/codecoradev/uteke/graphs/contributors)