Skip to content

Changelog

  • agent.add_knowledge(text_or_path) puts a document in the agent’s knowledge base and keeps it there: it ingests the text or file (PDF, Markdown, text, CSV, JSON, HTML, code), attaches it, turns on knowledge-base recall if it was off and saves the agent. Returns the knowledge_base_id. No router decides where it goes, unlike remember.
  • Live voice calls for playground guests. A guest of one agent’s playground (a Simuground workshop key) can start a LiveKit call inside one of that agent’s conversations. Starting a call and every answer in it count against the guest’s turn limit; a call ends after MEMORIZZ_GUEST_CALL_SECONDS (300), the server holds at most MEMORIZZ_GUEST_MAX_CALLS (4) before refusing a guest’s new call, and a guest can hang up only their own agent’s calls.
  • memorizz.tooling.checks_arguments(check) lets a tool refuse its arguments before the approval gate proposes it; argument_refusal(tool, arguments) asks the check.
  • The UI logs what makes it slow: a request slower than MEMORIZZ_UI_SLOW_REQUEST_MS (2000) with its path, and any stall of the server’s event loop longer than MEMORIZZ_UI_LOOP_STALL_S (1 s) with the code that held it.
  • Every turn carries today’s date and time in the owner’s time zone (the request context’s timezone, else agent.default_timezone, else MEMORIZZ_DEFAULT_TIMEZONE, else this machine’s). It sits in the per-turn context block, so the system prompt stays cache-stable. Facts the agent extracts and compression summaries write relative dates (“next Thursday”) as the calendar dates they meant, and a semantic-cache answer is reused only on the day it was given.
  • The UI answers while it works. Its page and API reads run on worker threads instead of the server’s event loop, where one slow storage read held up every other request (health checks included). Background work gets 64 threads (MEMORIZZ_UI_THREADS) instead of six on a two-CPU server. Static files linked with a ?v= version are cached for a day; the rest are checked on every use.
  • Oracle: observability reads are indexed. Two function-based indexes on the shared-memory table (idx_shared_obs_memory, idx_shared_obs_agent) cover the filters of trace replays, context history and the memory timeline. They are created at start-up with ONLINE, so the table stays writable while they build (about 20 seconds each for 15,000 rows). On a store of that size, loading one conversation’s trace replays went from 13.8 seconds to under 0.1 seconds. The playground now asks for a conversation’s replays by the conversation alone.
  • Accepting a prospect the owner carries out prepares it instead of refusing. The agent does the parts it can do with its tools and, for a part only the owner can do in person (attend, meet, call), prepares what they need (a shortlist, an opening line, a brief) and says what is left.
  • The web tools are declared read-only. internet_search and open_web_page are nondeterministic reads with no side effects, so prospection rates them Tier 0 instead of pausing for approval.
  • python-oracledb 26: the shared-memory compare-and-swap failed with ORA-24816 once its JSON passed about 8 KB, because version 26 sends long text under a CLOB input size as LONG data. Long text is now bound as a temporary LOB, which every version sends as a LOB (also in the opt-in span index).
  • The semantic cache now serves agents with memory. The agent’s own memory tools (remember, update_persona, the entity tools) no longer make every lookup skip the cache, and a turn whose lookup was skipped is no longer written, since it could never be served.
  • remember() files a stated procedure as a conversation does: the extraction gate reads the text first, and when the router is unsure the procedure reader is asked before the text falls back to the knowledge base.
  • A stated procedure’s skill description reads as one clause (“For intro messages on Dana’s behalf”, not “When For intro messages…”).
  • LiveKit: early answers are turned off with turn_handling where livekit-agents has it, instead of the deprecated preemptive_generation.
  • Automations: a new job with a placeholder name or task (“noop”), no task, an unknown time zone or a schedule that does not parse is refused with the reason before anyone is asked to approve it.
  • Share your LinkedIn with the agents yours meets. agent.publish(linkedin="https://www.linkedin.com/in/you") (and cloud.publish(..., linkedin=...)) sends your profile link with the agent. The owners of the agents yours meets get it in cloud.meetings(), and cloud.meetings_tool() tells their local agent, so prospection can suggest connecting. It is never on the public watch page, and each publish replaces the last: publish without it to stop sharing it. Only member profile links are accepted (cloud.linkedin_profile_url checks and normalizes them), because agents and browsers may open them. Without the argument nothing changes, so publishing still works on older servers.
  • Workshop notebook. examples/workshop/01_build_and_publish.ipynb has an optional cell for your LinkedIn link, which the publish and republish cells pass along, and now asks for 0.17.33 or later.
  • Guests of one agent’s playground. A UI extension can sign a browser in as a guest of one agent (UIExtension(guest_scope=...), returning a memorizz.ui.guest.GuestScope). The guest gets the real playground for that agent: chat, its conversations (new, rename, delete) and the inspector. Everything else is off with the scope’s note, and the server refuses it even when the browser also holds the host’s login:
    • other agents, other pages, and the sidebar’s other entries;
    • changing the agent, its model or instruction for a turn, a harness, or the console’s default sandbox, browser and internet providers;
    • another agent’s conversation, even one named under a new id;
    • the store’s location in the page header. Traces and context are shown redacted, and each model call the guest asks for goes through the scope’s before_turn (a rate limit).
  • Proactive agents become the prospection loop. MemAgent(prospection=...) and with_prospection(...) (off by default) run a pass in the background that reads the agent’s memories, live tools and saved workflows and writes down what is likely to happen next and what to do about it, as a Prospect.
    • Every prospect cites the memories it came from (source_memory_ids; none, no write), and lives in its own memory type, MemoryType.PROSPECTS, kept out of ordinary recall so a guess is never recalled as a fact. A prospect whose sources changed is marked stale; duplicates refresh the one already there; prospects expire.
    • Risk is worked out from how each tool is declared, never by the model: Tier 0 read-only, Tier 1 reversible, Tier 2 outbound, destructive or needing approval. low only proposes, medium also runs Tier 0, high Tier 0 and 1, ultra adds habit prediction; Tier 2 always asks.
    • tick_mode "event" (after each turn, an important memory write or compaction), "clock" or "async"; a daily token budget (token_budget_per_day, 50,000) that adapts to whether prospects helped; shadow=True to measure without showing anything.
    • Up to three prospects go into each turn’s prompt, marked as unverified.
    • prospect(), prospects(), accept_prospect(), defer_prospect(), dismiss_prospect(), record_prospect_outcome(), prospection_metrics(), prospection_status(), prospection_tick(), start_prospection(), and memorizz prospection run.
    • UI: a Prospection page per agent (queue, trace, risk, sources, metrics, settings) and prospect cards in the playground with Approve, Snooze, Dismiss and Helpful / Not helpful.
    • Stored on local files, MongoDB, Oracle (a prospects table; existing schemas get it at start-up, or run migrations/017_prospects_table.sql) and Notion. Memory archives leave prospects out, so archive version 1 and its 13 stores are unchanged.
    • Guide: Prospection Loop. Workshop notebook examples/workshop/02_prospection_agent.ipynb replaces 02_proactive_agent.ipynb.
  • Your own agent after the Simuground. A workshop key now opens the agent it published, and only that one. cloud.meetings() returns who it met and what was said in the open conversations it took part in; cloud.chat(text) talks to it in private; cloud.meetings_tool() gives the agent on your machine a read-only simuground_meetings tool, so its prospection loop can suggest who to follow up with. The workshop server serves the same as a page at /simuground/mine.
  • Networking agent template. Learns its owner from their public profile links, says it is an AI acting for them, remembers each agent it meets and why they matter, and suggests who to follow up with. Web search, memory routing and prospection at Low (it proposes, you decide) on; it fits publish()’s limits. Pick it in New agent or with memorizz.memagent.templates.get_template("networking").
  • Connectors. Connect a service once for your account, sign in once, and switch it on for the agents that need it. The UI’s MCP connections page is now Connect → Connectors: a list of connectors with their health, tools and a switch per agent, a gallery of ready-made ones, the MCP Registry search and Add custom connector. Each agent keeps its own policy (allowed and blocked tools, approval).
    • CLI: memorizz connectors list|presets|add|login|logout|test|enable|disable|remove|adopt. /connect notion on a second agent only switches Notion on.
    • SDK: MemAgent(connectors=["notion", {"connector": "github", "blocked_tools": [...]}]), agent.with_connectors(...) and MemAgentBuilder.with_connectors(...).
    • Kept in ~/.memorizz/connectors.json (no secrets); sign-ins in the encrypted credential store under connector:<name>.
  • New ready-made connectors: GitHub (personal access token), Linear, Sentry, Google Drive, X (your X app; X charges API credits) and LinkedIn. LinkedIn has no MCP server, so MemoRizz runs one in-process over LinkedIn’s API: get_profile, create_post and delete_post, the posts and deletes waiting for approval. Its sign-ins last 60 days.
  • Connect → Connected apps page: the apps that use your memory (Claude, ChatGPT dots, Grok Bot) and how to run MemoRizz as an MCP server, moved from Settings and the MCP connections page.
  • A persona with your own role no longer gets the general role’s filler (“Provide versatile support…”, “A general-purpose agent…”) put in front of the goals and background you wrote. The filler still fills an empty field, and the built-in roles still lead with their own description.
  • Proactive code keeps working, with renamed statuses. proactive=, with_proactive(), suggest(), suggestions(), accept_suggestion() and the other proactive names, memorizz.proactive, memorizz proactive run and the /api/agents/{id}/proactive routes are aliases for prospection. Statuses are renamed: offered → proposed, done → executed, dismissed → rejected, snoozed → deferred. Stream events are prospect.<status>.
  • Suggestions made before the upgrade are not carried over to MemoryType.PROSPECTS.
  • An agent with prospection on now runs a pass after every turn and puts up to three prospects in each prompt; proactive agents ran only when asked. tick_mode="clock" with surface_to_main_thread=False keeps the old behaviour. medium and high act less on their own: a step naming a tool that needs approval is only proposed. See Upgrading from proactive agents in the guide.
  • Agents’ own MCP connections move into connectors when the Connectors page opens (or with memorizz connectors adopt). An agent signed in separately to a service gets a connector of its own (notion-2, Notion (Beta)) that you can merge; agents keep their server and tool names.
  • Signing out of a connector signs every agent that uses it out, and removing a connector from one agent no longer deletes its sign-in.
  • /mcp redirects to /connectors. memorizz mcp add --preset creates or reuses the connector.
  • memory_id given a list is an error. A turn reads and writes one memory. agent.run(q, memory_id=["a", "b"]) used to run in a new memory literally named "['a', 'b']" and add it to the agent’s memory_ids. It now raises TypeError before the turn starts, from run, run_stream and run_stream_events, and the message names also_recall_from.
  • Recalling from another memory leaves it exactly as it was. A row recalled through also_recall_from no longer has its access count and last-access time updated: a memory’s recency reflects the turns that ran in it. In the playground, where a chat recalls the agent’s other conversations this way, a recall no longer refreshes the row it found.
  • “Your other recent conversations” lists the agent’s own. In a memory several agents share, a colleague’s conversation was listed to the model as one of its own, with “your last reply began”. It is still recalled; it is no longer attributed.
  • Work in one memory and read others. agent.run(question, memory_id="support-desk", also_recall_from=["fern-ember"]) runs a turn in one memory and lets it read others, such as a team’s shared memory. It is the existing RetrievalPolicy(also_recall_from=...) as an argument of run, run_stream and run_stream_events, and it now reads more:
    • Entity records, not only conversations. A decision a team keeps as a record is read from a private memory as its current value, under From memory fern-ember:. entity_memory_lookup returns such records apart, as matches_in_other_memories, each marked read_only.
    • Everything read says where it came from. A recalled message carries from memory fern-ember, and each recalled item’s origin has a memory_id.
    • Writes stay in memory_id. entity_memory_upsert refuses a record that belongs to a memory the turn only reads, by ID or by name, instead of saving a private copy that disagrees with the shared one.
    • On the agent: agent.with_also_recall_from([...]) and MemAgentBuilder.with_also_recall_from([...]) set it for every turn and save it; also_recall_from=[] on a call reads no other memory. describe_memory() reports it.
    • MCP: memorizz_execute_agent takes also_recall_from.
    • Console: Settings → Memory → Also read these memories on the playground, read before the agent’s own other conversations, and an Also reads line in How this agent remembers.
    • CLI: memorizz agents create --also-recall-from ID and memorizz agents update ID --also-recall-from ID (repeatable; "" clears it). See one memory per turn.
  • A harness run’s tool steps no longer spin after the run has finished. On a run’s page, every tool step of a pi or Droid run kept its spinner and showed its input but never its result, and a failed call was not marked as one. The trace view paired a result with its call by id and tool_use_id and read the output from content; pi and Droid report call_id and text. It now reads both shapes, so runs already recorded draw correctly too. Hermes names only the tool on each side, so its results are paired with the oldest call of that tool still waiting.
    • A shell command or an edit that pi, Droid or Hermes reports as a tool call now shows its output, and is marked when it failed.
    • Once a run has ended, a call whose result never arrived stops spinning and says “no result recorded”.
    • The run’s Memory tab had the same gap: a memory lookup made by pi or Droid showed no outcome. It now shows what was found, or the failure.
  • Proactive agents. MemAgent(proactive=...) and MemAgentBuilder.with_proactive(...) make an agent offer a next step, and at higher levels take it. True or "low" suggests only; "medium" also carries out steps whose tools change nothing; "high" carries out its steps with any tool, and a tool that needs approval still pauses; "ultra" is "high" plus an experimental mode that predicts a step from the user’s habits. Off unless asked for, and saved with the agent.
    • Suggestions in the SDK: agent.suggest(), suggestions(), accept_suggestion(), dismiss_suggestion(), snooze_suggestions(), on_suggestion() and proactive_status(). A Suggestion carries its title, message, the request it would run, the evidence it rests on, whether the agent asked or acted, and why.
    • What runs alone is decided by each tool, not the model. A step the agent takes is an ordinary turn in which a tool with side effects (at medium), or one that declares nothing about itself, pauses as a durable approval. No level skips an approval a tool asks for.
    • Scanning: proactive_tick(), start_proactive() and the memorizz proactive run worker look for a step with nobody asking, and can read the agent’s connected read-only tools while they do (scan=True or scan_tools). A step that came from something the agent read outside is only suggested, at every level, unless allow_external_actions is set.
    • In the playground: a Proactive control above the message box, and a card for each suggestion with Do it, Not now and Dismiss. A step the agent took shows as Done for you; one waiting on a tool shows as Waiting for your approval, and is approved or rejected on the card. A proactive agent wears a Proactive badge naming its level, in the playground and in the Agents list.
    • Each look is a short run of about three model calls, behind a cooldown, a daily allowance and a check that the context has changed. See Prospection Loop, its successor.
  • A second workshop notebook, examples/workshop/02_proactive_agent.ipynb.
  • Conversation recall brings a turn whole. A recalled request comes with the reply that followed it and a recalled reply with its request, as one memory (Asked: … / Answered: …). Recall looks three times further than candidate_limit for conversation messages, an exchange recorded in two threads is recalled once, and a turn says whether the reply was the reader’s own or another agent’s. Where other agents’ turns were recalled, only the reader’s best-matching turn of its own is kept. Before, a question matched earlier questions and never their answers: on a shared memory an agent asked for the subject line of the email a colleague had just written answered “I can’t see the email” 3 times of 3, and now quotes it 8 times of 8. Recalled conversation text reads differently in prompts, and each turn reads up to 2 × candidate_limit conversations from the store. See turns are recalled whole.
  • What a delegated job used. delegate(..., return_report=True) returns report["usage"] with the coordinator’s calls, the delegates’ runs and the total, and each row of report["tasks"] has the usage of the delegate that did it. The coordinator’s get_last_run_usage() covers the whole job afterwards, with the delegates’ share under delegated. Run usage is kept per context, so a coordinator saw only its own calls before. A delegate that runs on a harness is counted with the tokens and cost its harness run reported.
  • A way to hear about model spend outside a turn. memorizz.observability.usage_hooks.register_usage_listener(callback) calls back for model calls that never pass through a turn’s own accounting: the background calls that file facts after a conversation (kind="background") and OpenAI embedding calls (kind="embedding"). Each event carries the provider, the model, token counts and the cost at list rates, or unpriced. A host that enforces a budget can count these without reading provider bills. Nothing is computed when no listener is registered.
  • List rates for OpenAI embedding models (text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002), so embedding calls can be priced.
  • Every model provider records its usage on the thread that made the call. One model object serves an agent’s chat turns and its background work, so code that read “the last usage” after its own call could be handed another thread’s. OpenAI, Azure OpenAI, Anthropic, Ollama, OpenRouter, Gemini, other gateways, Hugging Face and MLX models all record per thread now, on every path including streaming, and background spend is attributed from that record.
  • A lead under another lead writes to the board on the file store. The file store filed a shared session under a new record ID and ignored the session’s own memory_id. A coordinator that joined a session read the second ID, which no record was filed under, so none of its board entries or sub-agents were saved and the hierarchy came back empty. A shared session’s memory_id is now its record ID, as on Oracle and MongoDB. Records that bring their own ID (change history, traces) are unchanged.
  • The “Session hierarchy” log line of a joining coordinator looked the session up by the wrong ID.
  • Oracle: an updated persona stays with its agent. A persona saved on its own (persona.update(...), a learned change) carries no agent or memory ID, and the Oracle provider wrote NULL over the stored ones. The agent then loaded with no persona, and the next save left the row orphaned.
  • Oracle: a persona role can be a sentence. personas.role_type was 50 bytes wide, so a longer role failed the whole agent save with ORA-12899. New schemas create it 600 characters wide, the provider widens an existing column at startup, and migrations/016_persona_role_length.sql does the same by hand. A custom role is also kept as written on load instead of being read back as general.
  • Oracle: recalled memories come with their vectors. Vector search read each row’s vector and then dropped it, even when recall asked for it, so on Oracle near-duplicate memories were not collapsed and selection did not keep its choices varied. include_embedding=True now returns the vector for conversation, knowledge base, entity, workflow and summary searches, at no extra cost to the query.
  • Oracle: a schema that cannot hold the tables fails at start-up, with the reason. Failed CREATE TABLE statements were only logged, the provider came up, and the first write failed with ORA-00942. Start-up now raises, naming the missing tables and the first error, with what to do for the usual causes (a default tablespace without automatic segment space management, which VECTOR columns need; no CREATE TABLE privilege; no tablespace quota; a database older than 23ai).
  • A conversation search over MCP returns turns. memorizz_search_memories on conversation_memory gives each message found the other half of its turn (turn.reply on a request, turn.request on a reply), lists a turn found by both halves once, and leaves out a partner another tenant wrote. The result is still the record that matched.
  • The workshop notebook (examples/workshop/01_build_and_publish.ipynb) installs MemoRizz 0.17.27 or later and stops with a message when an older version is already loaded in the kernel.
  • The live Oracle tests (tests/integration/test_oracle_live.py) pass on a schema they create: the stubbed embedding takes the size of the schema’s persona vectors instead of assuming 768.
  • Recall places the most relevant memories first. A memory at least half as relevant as the most relevant one found is now chosen before a less relevant one, whatever its recency. Recall refreshes a memory’s last access, so a few records recalled every turn (the chunks of a small handbook) kept full recency and filled every slot again on the next turn, whatever was asked: an agent with a four-paragraph handbook recalled those four paragraphs and nothing from its conversations. Less relevant memories still fill the room that is left, and one left out this way is marked less_relevant in the trace’s selection ledger.

  • The console opens on the playground. / and the logo go to the playground’s chat home: a composer where you pick the agent and the model, with every agent listed below. Playground is the first item in the sidebar, above the groups. The Overview is now the Dashboard, first under Operate; its address is still /dashboard, and g d opens it (g o still works).

  • A first-run view for a store with no agents. The playground no longer shows a bare “No agents yet”: type a message and MemoRizz makes an agent named Assistant on the default model and opens the conversation with the message sent. The page also offers templates and the five first steps, and names the key to set when the default model has none.

  • The playground home picks the model too. Beside the agent picker, the model is now a picker: the agent’s own, another its provider offers, or one typed in. It applies to the conversation that opens and is not saved on the agent. Create agent moved to the top right of that page.

  • A selected section is a fill, not a stripe. The section list of the agent form and the index of Settings marked the current item with a stripe down its rounded edge; it is now a tinted fill with stronger text.

  • A harness run with no memory_id is private. It used to start with records retrieved from every memory of the user, and its MemoRizz tools could read any of them. It now starts with nothing from memory and its tools are kept to a memory of its own. If you relied on the old behaviour, give the run a memory_id, name the memories it should read with permissions.mcp_read_memory_ids (--read-memory on the CLI), or open it with permissions.mcp_memory_scope="all" (--memory-scope all).

  • A run’s MemoRizz tools reach only its own memory. A harness that searched another memory through the MCP server is now refused (memory_out_of_scope).

  • A failed run saves nothing to memory. A run that fails, is cancelled or is interrupted without changing a file no longer leaves its error text in the shared memory.

  • Agents and Memory types in the sidebar open their page. Selecting the group’s name opens the list of agents (or memory) and unfolds the list under it; the “All agents” item is gone. The arrow at the right still only folds and unfolds the list.

  • Publish an agent to a hosted Simuground (memorizz.cloud). Call cloud.connect(url, key=...) (or set MEMORIZZ_CLOUD_URL and MEMORIZZ_CLOUD_KEY) and agent.publish() to upload an agent’s name, instruction and persona with a scoped workshop key; publishing again updates the same agent in place while keeping local tools, keys and memory on the caller’s machine.

  • Three notebooks on shared memory, in examples/shared_memory. One plant shop, one memory ID, three kinds of agent: MemAgents that share a decision (and a reader that cannot rewrite it), Codex, Claude Code and pi putting that decision into code through the meta-harness, and a personal assistant reading and adding to the same memory over MCP, with the steps for Muse, Grok Bot and ChatGPT dots. Each has Mermaid diagrams on black and prints the command that opens its store in the console.

  • Readers of entity memory. with_entity_memory(True, policy={"writes": False}) (or EntityPolicy(writes=False)) gives an agent the records and takes away the pen: no entity_memory_upsert tool, no capture, no routing to entity memory, and a prompt that says the records are the current values. For a memory several agents share, where one role owns each decision.

  • Who shares a memory, in the console. Memory types → Shared now lists every memory ID with the agents that run in it, the harnesses that ran in it and the connected apps that saved to it. A memory’s page shows which agents write its records and which read them, each record with who last changed it, the handbooks its agents carry, the tasks a coordinator split across its delegates with each result, and who wrote what. The stored coordination-board rows moved to /memory/shared-records.

  • Keep connected apps to one memory. memorizz mcp apps serve --memory-id NAME limits Muse, Grok Bot, ChatGPT and Claude to that memory: they read only it (their search and fetch included) and save to it, so the agents that run there find what an app saved. MEMORIZZ_MCP_SERVER_APP_MEMORY_ID changes only where an app’s saves go.

  • Muse. Meta’s assistant connects as a custom connector like the others. It registers itself and sends no resource with its sign-in, both of which the server accepts; the approval page and the apps list call it Muse.

  • A refine cycle takes a model config. meta.refine_memory(memory_id, model={"provider": "openai", "model": "…"}), as an agent’s llm_config.

  • Google Gemini as a model provider. Gemini("gemini-4-hydrogen"), or {"provider": "gemini", "model": ...} in a saved config, runs an agent on the Gemini API with tools, streaming and reasoning_effort. The key is GEMINI_API_KEY (GOOGLE_API_KEY is read too): Settings → Google Gemini API key in the local UI, /login gemini in the CLI. The Gemini 4 and Gemini 3 models are in every model picker, with newer ones added from your key’s model list, and Gemini can be the default agent model, a background model, a coding model and the model that refines harness memory. The thought signature Gemini 3 and 4 require on a tool-calling step is kept and sent back, and tool calls Gemini makes side by side in a streamed answer stay separate calls. When Google refuses a request (a model outside the key’s free tier, a rate limit), the run says why. Runs are priced from Google’s list rates.

  • An observability switch and provider on every agent. MemAgent(observability=True) traces the agent in MemoRizz, as before; observability=False records no traces at all. observability_provider="sentry" also sends each turn to Sentry as one trace (invoke_agent <name>, with gen_ai.chat and gen_ai.execute_tool spans in Sentry’s agent conventions), and reports a failed turn as an error on that trace. The MemoRizz copy stays. The DSN comes from SENTRY_DSN and is never saved with the agent; MemoRizz sends through a Sentry client of its own, so an application’s Sentry setup is left alone. Only names, timings, token counts and statuses are sent unless include_content is set. Needs the new sentry extra. agent.observability_status(), agent.observability_url(), agent.with_observability(...) and MemAgentBuilder.with_observability(...) go with it, and ObservabilityProvider can be subclassed for another service. See docs/guides/observability-providers.md.

  • Observability in the console. The agent form has an Observability section (trace on or off, MemoRizz or Sentry, Sentry’s organisation and whether content is sent), Settings has the Sentry DSN, and an agent whose traces go to Sentry links there from the Agents page, its detail panel and its playground. On the Traces page, each turn in the waterfall that was sent to Sentry has an Open in Sentry link to that turn’s trace; MemoRizz marks a turn when it is sent, so turns that never reached Sentry have none.

  • Sentry’s local server, with no account. Under sentry local run -- <command> (or with SENTRY_SPOTLIGHT set) an agent whose provider is Sentry sends its turns to Sentry’s local development server. No DSN or Sentry account is needed, and without a DSN nothing reaches sentry.io.

  • Observability on the CLI and over MCP. memorizz agents create and update take --observability/--no-observability, --observability-provider and --observability-org, and the MCP server’s create and update agent tools take the same three settings.

  • Agent status in the sidebar. Each agent under Agents now shows what it is doing: its current step while a reply streams in the console (thinking, the tool it is running, writing), a flag when a call is waiting for approval, and otherwise its last message with how long ago it was. A run made outside the console (the CLI, a connected app) shows up as a last message once its turn is stored, not as a live step.

  • ⌘B (Ctrl B) shows or hides the sidebar.

  • A self-aware agent can have its own source. With self_aware_config={"own_source": True} an agent gets a private, versioned copy of the MemoRizz code it runs on, under <MEMORIZZ_HOME>/self_aware/<agent>/source. It keeps a local log of its own errors with the file and line inside MemoRizz, and can read its own traces. agent.recommend_self_fix() has a coding model read those errors and the source and say what is wrong; agent.fix_self() makes the fix in the copy, checks that the copy still compiles and imports, and keeps it as a version. A fix that fails the check is dropped. The installed package is never edited: a version leaves the copy only as a patch you download and apply.

  • A separate coding model. self_aware_config["coding_model"] ({"provider": "ollama", "model": "flint", "host": "http://…:11434"}) picks the model that reads and edits the source, apart from the model the agent talks with. Keys are never part of it. For a model served elsewhere (OpenRouter, vLLM, LM Studio) use {"provider": "openai", "model": "…", "base_url": "https://…/v1", "api_key_env": "OPENROUTER_API_KEY"}: api_key_env names the variable the key is read from, and an endpoint that is not OpenAI’s is never sent OPENAI_API_KEY.

  • /agents/<id>/source in the console shows the versions with their diffs, the recent errors, and Find the cause / Fix it, with the coding model’s steps as it works. In chat the same is offered as tools; self_apply_fix needs approval.

  • OpenRouter and model gateways. OpenRouter("anthropic/claude-sonnet-5.5", routing=ModelRouting(fallback_models=[...], sort="throughput", data_collection="deny")) runs an agent on any model OpenRouter serves, with the key from OPENROUTER_API_KEY. ModelRouting chooses providers, fallback models, price and data rules; agent.with_model_routing(...) changes them on a live agent and they are saved with it. ModelGateway does the same for any OpenAI-protocol service with its own address and key variable. As a config: {"provider": "openrouter", "model": "…", "routing": {…}}. Also in /provider, /login openrouter, the console’s provider menus and Settings, and as a coding model for an agent’s own source. The CLI picks OpenRouter when its key is the only cloud key set.

  • Routing in the console. With OpenRouter chosen, the agent form and the playground’s Settings tab show a Routing group: fallback models, providers to prefer, allow or avoid, a price cap and data rules.

  • What an OpenRouter call cost. OpenRouter reports the charge for each call; MemoRizz records it as the call’s cost (cost_status: provider_reported), so usage and traces show spend for any model it serves without a rate card. Streamed answers ask for their usage too.

  • How a fix came about. A version the agent makes keeps an account: the errors the coding model read, its diagnosis, the prompt it was sent, each step it took and the check. The diff page shows it as five steps above the change and marks the line the error named. agent.self_source().story(version_id) returns it.

  • A Self-aware mark on an agent in the playground header, the Overview’s Agent card and the agent list, linking to its source.

  • Playground settings you can read at a glance. The Settings tab is six groups (Model, Web and tools, Memory, Instruction and persona, Self-awareness, Automations); each header shows what is set, such as Web search: Exa · Code: off, and a group that cannot work as chosen is marked. The Overview’s Agent card shows web search and the code sandbox, and each opens its setting. The column no longer scrolls sideways.

  • “None” for the code sandbox is now a real choice. With a default sandbox set for the console, choosing None used to fall back to the default. The menu now offers Default (from Settings) and None (disabled) separately, and None is saved on the agent.

  • A clearer coding model form on an agent’s source page: a provider menu with a line on each choice, only that provider’s fields, model name suggestions, and whether the key it needs is set.

  • Menus drawn by the console in the playground’s Settings tab, in place of the browser’s own: the chosen value is ticked, arrow keys, Home, End and typing a name work, and the menu opens upward when there is no room below.

  • Fix: an agent could not read its own traces. The trace lookup behind self_recent_errors, self_read_trace and the coding model’s recent_errors asked for them with a filter the store does not take, and the failure was swallowed, so only the error log was ever read. Failed trace steps are now included.

  • Memory across conversations in the playground. Each playground conversation keeps a memory of its own; a chat now recalls the agent’s other conversations and is given a short list of them (how each opened, when, and how it last stood), so “what have we been talking about?” has an answer. On by default; Settings → Memory → Across conversations turns it off for an agent, and a sealed agent never crosses. For your own chat surface, RetrievalPolicy(also_recall_from=[...]) names the other memories a run may read; it only reads, and is ignored by a sealed or thread-scoped policy.

  • Preview a version of an agent’s own source. Preview this version on an agent’s source and diff pages starts a second console from that version’s code on a free local port and opens it. It reads the same store but refuses every change, is marked as a preview, and stops by itself after 45 minutes or when you select Stop. memorizz.memagent.self_preview does the same from Python.

  • The check now covers the console. A fix that changes a page or a script is checked too: changed templates must compile and changed scripts must parse (when Node is installed), so a page that cannot be drawn is not kept as a version.

  • Fixed: a harness run could read memories other than its own. A run’s starting context was limited to its memory_id, but the MemoRizz MCP server it was given was not, so a harness could search another memory and its answer was then saved into its own. The server is now limited to the run’s memory. A run given no memory_id used to get records from every memory at the start; it is now private, with an empty start and a memory of its own.

  • Read-only memories for a run. permissions.mcp_read_memory_ids names up to 5 other memories a run may read and never write; their records join its starting context. permissions.mcp_memory_scope="all" opens a run to every memory. Any MemoRizz MCP server takes the same limits (MEMORIZZ_MCP_SERVER_MEMORY_IDS, MEMORIZZ_MCP_SERVER_READ_MEMORY_IDS).

  • Changed: a harness run that fails, is cancelled or is interrupted without changing a file no longer saves its error text to memory as an answer.

  • A playground conversation can be answered by a harness. The composer’s Answered by control picks the agent’s own model or a ready harness and its model, per conversation, without saving it on the agent. A harness turn is shown as a job with its steps, elapsed time, Open run and Stop; it carries on through a reload and is found again still working; a stored answer links to its run and the memory it used. Folder, edits and web access are allowed in the inspector with an approver’s name. A turn in runtime mode now takes the folder or grant its caller holds (tool_context["harness_parent"]).

  • Changed: a workflow’s stages on Agent harnesses are a vertical sequence on a numbered rail; a stage opens to its full answer, its trace and the memory it used. The quick-ask box sits under Availability.

  • Fixed: the Model control on Agent harnesses left an extra dropdown behind each time the harness changed, and a model picked for one harness carried over to the next.

  • A refine cycle for memory that harnesses share. Raw answers are kept for good; meta.refine_memory(memory_id) distils them into findings, each quoted from the answer it came from. A fact several runs state is one finding with the runs that agree, and a corrected one is replaced, not deleted. Later runs start with the findings instead of the raw answers. It can start by itself after a set number of new answers once a model is chosen, has a dry run, and reports in the shape of an agent’s refine run. The memory’s page shows what it knows, Preview and Refine now.

  • The harness memory options on every surface. memorizz harness run, plan and compare take --read-memory and --memory-scope, and a continued conversation keeps the memory reach of the turn before it. memorizz harness refine, findings and refine-settings run and read the refine cycle from the terminal. The MCP tools that start a run, a plan or a comparison take mcp_read_memory_ids. HarnessMemoryRefine and RefineSettings are exported from memorizz.metaharness.

  • See what a harness did with memory. A run’s page has a Memory tab: the memory it was limited to, each record it was given at the start and which harness wrote it, each MemoRizz tool it called itself, and any lookup refused for reaching outside its memory (also marked in the trajectory). /harnesses/memory/<id> shows one memory as harnesses share it. The launch form picks a memory in use, a new one or none, and takes read-only memories.

  • A fix explains itself. After a self-aware agent’s coding model fixes its source, it is asked why: the root cause, why this fix and not a larger one, the risk, how to confirm it, and the reason for each edit. The diff page shows this as a step of the fix’s account and above each changed file; fix_self returns it as explanation.

  • The coding model’s work is traced. Its diagnosis and fix run under the agent in a thread of their own, tagged work=self_repair, and the account links to them in Traces. Those turns are never read back as the agent’s own failures.

  • Exa Websets and Monitors. An agent whose internet provider is Exa also gets exa_create_webset, exa_get_webset, exa_save_webset_to_memory, exa_create_monitor, exa_list_monitors, exa_monitor_results, exa_stop_monitor and exa_resume_monitor. A webset is a dataset Exa builds and checks row by row; saving it puts the rows in the agent’s knowledge base, attached to the agent, so any conversation recalls them. ExaProvider has the matching calls, and webset_table and monitor_view return one structure for the SDK, the CLI and the console. Creating a monitor needs approval. It reports to EXA_MONITOR_WEBHOOK_URL, or to a temporary webhook.site address made for it when none is set, as Exa’s dashboard does (temporary_webhooks=False turns that off).

  • Tool results people can see. ToolResult.display carries a small mapping to the tool.completed event and the stored trace, never to the model. The playground draws a web search as its pages, a webset as a table that fills in (Save to memory, CSV, Open in Exa) and a monitor with its latest run; the CLI prints the same as tables under the answer. A provider can add its own tools with InternetAccessProvider.agent_tools.

  • Changed: setting an agent’s internet provider now re-registers its internet tools, so a provider’s own tools follow the provider.

  • Changed: the “Waiting for you” menu has no outlines: a dot for the kind, the title, one quiet line and a button.

  • From a reply straight to its trace. In the playground each finished step of a reply (“Used internet_search”) is a link to that step’s own row in Traces, each row of a stored turn’s activity has Open in Traces, and the line under a reply has a Trace link for the whole turn. /traces?...&step=<span or tool call id> selects the row.

  • Faster pages on a FileSystem store. Listing a store read and parsed every document file again each time, and a console page lists a store several times: one page load parsed 40,000 to 116,000 files on a store of 7,000 documents. A document is now parsed once and reused while its file is unchanged (same write time, size and inode); every reader still gets its own copy. Page loads on that store are about twice as fast. MEMORIZZ_FS_DOCUMENT_CACHE_MB sizes the cache (256 by default; 0 turns it off).

  • Factory’s Droid for an agent’s own source. self_aware_config ["coding_agent"] = "droid" (or Factory Droid in the coding model menu) hands diagnosis and fixes to droid exec in the agent’s copy: read-only to find the cause, --auto low to make the fix, and in both cases only Droid’s file tools (--only-tools), so it cannot run commands, search the web or message anyone. MemoRizz still checks the copy and keeps the version. Needs Factory’s CLI and FACTORY_API_KEY; Droid’s process is given that key and no other.

  • Droid as a harness. droid joins Codex, Claude Code, OpenHands, pi and Hermes. It is left only its file tools: Read, LS, Grep and Glob, plus Edit, ApplyPatch and Create for an edit run, which also needs an isolated wrapper (MEMORIZZ_DROID_EXTERNAL_ISOLATION=true) and uses --auto low. It has no command or web tools, so it is not offered to runs that ask for the web. Its steps are followed live; it reports tokens and Factory credits, with no dollar cost.

  • Live conversation in the playground. The waveform button in the composer starts a spoken conversation on LiveKit: it hears you, decides when you have finished, and plays the answer; speaking again cuts the answer short. What is said shows as you talk and becomes turns of the open conversation. It works for an agent without a voice of its own, on LiveKit’s default voice. POST /api/agents/{id}/voice/session takes {"memory_id": ...} for this.

  • A live call with several agents. LiveKitVoice.group_session(speakers=, round=) runs one call for many agents: one listener and one turn-taker, and the answers are spoken one after another, each in its own voice, so two agents never talk at once. An agent with no LiveKit voice is lent one.

  • Fix: a live call answered before you had finished. LiveKit starts on an answer early and discards it if you go on; with a MemAgent each of those was a real turn, remembered and shown. Calls now wait for the end of the turn.

  • Newer models in the pickers. OpenAI adds GPT-6.2 Sol, GPT-6.2 Astra and GPT-6.1 Terra; Anthropic adds Claude Fable 5.2; OpenRouter lists the newest models that take tools from OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral, Qwen, Moonshot, Z.ai, MiniMax, Meta, Cohere, NVIDIA and Recursive. The default models are unchanged.

  • The console’s own menus on every page. Every dropdown in the console now uses the menu introduced in the playground’s settings. A select marked data-native keeps the browser’s.

  • Exa as an internet provider, alongside Tavily and Firecrawl. Set EXA_API_KEY and pick it with /web exa, /login exa, the internet provider menu in the console, or MEMORIZZ_DEFAULT_INTERNET_PROVIDER=exa. Search results carry Exa’s highlights as the snippet; include_text adds each page’s text. With several keys set, Tavily and Firecrawl still come first.

  • /agents/<id>/source/diff in the console shows what an agent changed, file by file, drawn the way a code editor draws a diff: side by side or in one column, Python coloured by token, the changed characters marked, and unchanged lines folded. It shows one version, everything since the install, or edits not yet kept. A line number, a fold or Open file opens the whole file at that line (/agents/<id>/source/file), before or after the change, with the changed lines marked and next/previous change buttons.

  • A project management assistant template. Start from a template has a project manager that works in your Notion over MCP: it keeps a tasks database with a kanban board, a timeline and a view per person, runs sprints, keeps a RAID log and writes status reports. Its instructions name the Notion tools to use for each job, every change waits for approval, and continual learning and workflow memory are on. Saving it opens MCP Connections to sign in to Notion.

  • Page snapshots in the playground. An agent with an MCP connection can show a page it created or changed with send_page_snapshot. A Notion page is read as it is at that moment (through the agent’s Notion connection, or with NOTION_TOKEN) and shown in the reply as a card with its title, properties and first blocks and Open in Notion; the model is told only that it was shown. Other pages, and Notion pages that cannot be read, show as a link with the agent’s title and summary. Guide: Page snapshots.

  • Sign in to a connected app from the conversation. When an agent’s connected app (Notion, Gmail, Calendar) is not signed in, the playground shows a bar above the message box with its Sign in button, there as soon as the page opens and after a reload. The sign-in opens in its own window and the conversation stays where it is; when it finishes, the bar goes and the reply’s card offers Ask again. Where a window cannot be opened, the page goes to the sign-in and comes back as before. The agent is told the button is in the conversation, so it no longer sends people to MCP Connections.

  • The Notion badge opens the memory database in Notion. With a Notion memory provider, the connection badge in the header opens the database the memories are stored in, in a new tab. The sidebar’s store switch still changes stores.

  • A harness run is not an agent turn that never finishes. The evidence a harness run keeps was counted as a run of an agent named metaharness (or of the agent that asked for it) with no result, so the Dashboard and the Agents page showed it as running and then as incomplete for good. The run is on the Agent harnesses page, where its status is.

  • An agent’s latest conversation on the Agents page is its own. In a memory several agents and harnesses share, the preview showed the newest messages of the memory, whoever wrote them.

  • A coordinator’s turn is a run. An agent with delegates handed its request over before its own trace began, so the turn that started the work was missing from the Agents page and Observability (the coordinator showed 0 runs), and the model calls that planned the work and combined the results were traced nowhere. Its turn is now one run holding both calls, with their tokens and time.

  • A refine cycle’s report says what it spent. A cycle of a shared harness memory reported 0 tokens, and named no model when one was passed to it. It now counts the call and names the model it ran on. A model whose text call goes through its chat call was also counted twice by an agent’s refine cycle; it is counted once.

  • An agent knows a harness’s work before any refine cycle. When a run that changed files or had a check ends, what MemoRizz saw itself (which files, and whether the check passed) is kept as a finding at once.

  • A harness run with a thread of its own is handed the memory’s records. A run given a thread_id asked every memory type for that thread, so the entity records and knowledge the whole memory shares were left out and the harness started with almost nothing.

  • Agents find what a harness saved. A run’s saved answer had no vector, so an agent sharing the memory could find it only by its exact words. It is now embedded when the store has an embedding model.

  • Findings keep what was changed and whether it passed. The refine cycle treated “what the run did” as noise and often dropped the one fact other agents most need: that a file was changed and its check passed.

  • An agent’s line in the sidebar is its own. In a memory several agents share, every agent showed the newest message of the memory, whoever wrote it.

  • Entity records are shown as the current values. Where a recalled message disagreed with a record, the model sometimes repeated the message. The records are now introduced as current, and a reader is told it cannot change them.

  • search and fetch work on a server limited to some memories. A connected app’s two connector tools were refused there; they now look only in the memories the server is limited to.

  • Switching provider picks that provider’s model. In the agent form and the playground’s Settings tab, choosing another provider kept the last provider’s model as a custom one (Anthropic with gpt-6.2-sol). It now selects the new provider’s default.

  • A run that cannot start says why. When an agent’s model could not be built (most often a missing key), the playground showed “Run error”. The final stream event now carries error_message, and the page shows it, for example “set GEMINI_API_KEY”. A streamed run a provider refused also ended with no error_code; it now ends with provider_error.

  • A sign-in that has lapsed is reported and offered again. A connected app (Notion, Gmail, Calendar) whose saved sign-in the server no longer accepts was still shown as Ready, and an agent that hit the refusal tried the server’s other tools (ten model calls in one test). The connection now shows Needs sign-in from the first refused call until new tokens arrive or a call succeeds, the model is told to stop and ask, and the playground shows Sign in to notion in that same turn.

  • A recall is no longer recorded as a change to the memory. On the filesystem, MongoDB and Notion providers, recalling a memory (which bumps its access count) added an “updated” entry to that memory’s history.

  • A Notion memory provider makes about half the requests. Notion allows about three requests a second, so a turn takes as long as its requests. One playground turn went from about 190 requests (82 seconds) to about 100 (48 seconds, with the answer on screen after about 21):

    • Usage, traces and the dashboard read trace records a page at a time. They read one record per request, so a usage read of a small store took 34 requests (11 seconds); it now takes 2 or 3 (about a second) and no longer grows with every turn.
    • The Memory tab asks for every memory type in one query per scope (38 requests became 4).
    • A trace, setting or journal row that is not there is looked up once by ID, with no second lookup by name and no scan of every shared record.
    • Traces are stored without being read before and after.
    • The sidebar reuses its agent list for 30 seconds instead of listing agents on every poll (one query less per poll on every provider).
    • The playground’s prompt cache card covers the last 7 days, not every call the agent ever made.
  • “Answered by” names the harness an agent runs on. For an agent set to run on a harness, the playground’s picker said “’s model” while the harness answered every turn. It now reads, for example, “Codex · this agent runs on it”.

  • The newest models have prices. gpt-6.2-sol (the default), gpt-6.2-astra, gpt-6.1-terra and claude-fable-5-2 had no rate card, so their runs showed tokens and no cost. They are priced from the providers’ lists read on 2026-11-26, with OpenAI’s fast and batch tiers (Flex is not sold on GPT-6.2 and stays unpriced). Gemini is priced the same way; where Google has announced a new rate from a set date (Gemini 4 Carbon and Argon on 2026-12-01, 3.8 and 3.6 Flash on 2027-01-01), the date picks the rate. Gemini 3.5 Flash and 3.7 Flash are not on Google’s price page and stay unpriced.

  • A console started with the wrong embedding model leaves the MCP tool index alone. The local UI warns when its embedding model does not match the store’s vectors, but an agent opened in it still re-embedded its MCP tool index with that model, which stops the tools being found by meaning from the store’s own apps. The index is now kept as it is, and a server first indexed in that state gets its vectors once the model matches.

  • A new agent’s form can be saved as it loads. With a default sandbox that is not set up (GraalPy with no executable), the form preselected it and refused the save. It now starts on no sandbox and says why.

  • A harness job no longer starts with two “not found” requests in the playground: the page waits a second before its first look at a run that is announced before it is saved.

  • The whole agent row opens the agent on the playground home, and says “Opening…” while its page loads (seconds on a Notion store, where a click looked like it had done nothing). A new-tab click opens a tab, and dragging across a row to copy text opens nothing.

  • A selected table row is filled, with no stripe down its side (agent lists, MCP connections and the trace navigator).

  • An OpenRouter background model is saved on OpenRouter. The agent form offered OpenRouter for the background model but saved the choice as a model of the chat provider.

  • Voice for agents. MemAgent(voice=True) gives an agent a voice through LiveKit; voice_config picks ElevenLabs, Vapi or OpenAI instead, or names the voice and models. An agent can speak a reply (speak), transcribe a recording (listen), take a whole spoken turn (run_voice) and, with LiveKit or Vapi, hold a live call (start_voice_session). Voice settings are saved with the agent; keys never are, and are set in the environment or under Settings → Voice. The agent form has a Voice section, memorizz agents create and update take --voice, --voice-provider and --voice-name, the MCP server’s create and update agent tools take the same three, and pip install "memorizz[voice]" adds LiveKit’s packages. Guide: Voice.
  • Tools an environment lends. agent.enter_environment(name, tools) adds tools to an agent for as long as it is in an environment, and leave_environment(name) takes them away. They are offered on every turn and are never written to the saved agent or to toolbox memory, so a simulation or a session can give an agent abilities without leaving anything behind.
  • A rejection the model hears about. agent.resume_rejection(proposal_id) answers the paused tool call with the refusal and the approver’s reason, and the model continues the run: it can say so or do something else. Before, a rejected proposal left the run paused and the host had to write the next message itself. Guide: Tools and approvals.
  • MCP tools before the first turn. agent.discover_mcp_tools() lists the configured servers and registers each tool as server__tool, so the first turn no longer spends steps on mcp_list_tools. only_direct_tools=True also removes the general MCP tools. Calling with_mcp_servers again now registers tools listed since the first call.
  • A paused turn stores a waiting note, not the proposal. The reply kept in conversation memory for a turn that stopped for approval is one line with the proposal id. When the proposal is resumed or rejected the line is replaced by what happened: the model’s reply, or that the call ran, failed or was rejected.
  • A call through mcp_call_tool is recorded under the tool’s own name (calendar__create_event) in the approval proposal, the workflow step and the tool log, when that tool is registered. A proposal for such a call now has that tool_name and the tool’s own arguments.
  • A refine cycle counts what it stored for review as proposed_ (proposed_tool_revisions, proposed_standing_rules, proposed_persona_additions). planned_ is kept for a dry run. The tool review’s note names MCP tools as such (they are not reviewed), and the persona job’s note is labelled “Persona addition”, so it no longer reads as a verdict on a standing rule proposed in the same review.
  • Tool learning may name a constant the tool expects. A usage note can say “set source_thread to owner” when that plain word put a failed call right and the tool’s error names it, or it put two failed calls right. Ids, names, amounts and anything with a digit or a space are still refused.
  • A decided approval was recalled as still waiting. The pause payload stayed in conversation memory as the turn’s reply and the resumed reply was never stored, so later turns, in the same thread or another, said a booked event was “still waiting for your approval”.
  • Calls held back by an approval were never made. When a model asked for several guarded calls at once, the others were answered “waiting for human approval” and that text was still what the model read after the resume, so it reported them as held. They now say the earlier call is decided and that they may be made.
  • A request was stored as a fact, and one preference under several names. The stated-facts job no longer files “Add a task: …” as user.task, and a statement memory already holds under one attribute is not added again under another name, in the same cycle or a later one.
  • apply_persona_rule says that no standing rule is waiting, or lists the ids that are, instead of “No standing rule is waiting under that id”.
  • A Mac app. MemoRizz.app (in MemoRizz.dmg, from the website’s Download for Mac button) shows the local UI in its own window. It runs memorizz ui and stops it on quit, or shows a UI already running, and offers to install MemoRizz with uv when it isn’t installed. It is a universal binary for macOS 13 or later, signed but not yet notarized, so the first launch needs Open Anyway in System Settings → Privacy & Security. packaging/macos/build.sh builds it. Guide: Local UI.

  • Search on every page of the local UI. The field in the new top bar (⌘K on a Mac, Ctrl+K elsewhere) finds any page, any agent in the connected store and actions such as Create agent and Switch theme. The bar stays in view as a page scrolls, and section indexes and detail panes pin under it. With nothing typed, search lists the pages you opened last.

  • Keyboard shortcuts for the local UI. Press ? (or the keyboard button in the top bar) for the list, which includes the shortcuts of the page you are on. Press g then a letter to open a page: g a Agents, g t Observability, g s Settings and so on. Neither fires while you type in a field.

  • Change from the period before, on the Overview. Runs, success rate, run time p95, model calls, tokens and spend each show how they moved against the same length of time before the selected range. The figure is left out when the earlier period holds no runs or was not read in full.

  • Tool descriptions that improve with use. agent.review_tools() reads an agent’s tool calls and proposes a revision for each tool that needs one: a usage note for a calling error that repeats, and example requests for wordings that should have reached the tool (it served them although routing would not have offered it, or the user had to ask again). The model proposes and the code checks each item against the calls it cites. Revisions wait for apply_tool_revision, record the ranks they changed, and undo_tool_revision takes one back. SDK only for now. Guide: Tool learning.

  • An agent can read its own records. agent.workflow_runs(), agent.tool_calls() and agent.learned_skills() return what that agent wrote, oldest first, with filters for conversation, outcome, tool, time and count. A store is shared, and until now the only read was provider.list_all, which returns every agent’s records and left the filtering to the caller. provider.list_for_agent(memory_type, agent_id) is the scoped read underneath.

  • The refine cycle verifies, propagates, reviews tools and re-embeds. Four jobs join the cycle, making eleven: notes are checked against the conversations they cite and flagged when unsupported (agent.unverified_notes()); skills and notes that still state a replaced value are flagged after the entity jobs; tool revisions are proposed (refine_tool_review); and records that changed are embedded again. None of them changes text without a person. A proposed standing rule is listed in the report and waits for its owner.

  • Entity facts are confirmed, dated twice and followed.

    • Confirmations. A stored value that is stated again is no longer a no-op: the fact gains confirmations and last_seen, without changing its value, source or dates. Consolidation plans it as reinforce_fact.
    • Two clocks. Each value keeps when it became true (valid_from) and when memory recorded it (recorded_at). A write marked correction: True, or one with the same valid_from, is a correction of the record and not a change in the world. EntityMemory.value_as_of(attribute, when, known_at=...) answers “what was the limit in September” and “what did we believe then”.
    • Stale references. When a value is superseded, the skills and notes that still mention the old one are flagged, never rewritten: agent.stale_references(), resolve_stale_reference, dismiss_stale_reference.
  • Tool learning: “not for this” lines, example calls and usage flags. From requests that went to one tool and had to be served by another, a review proposes “Not for …; use ” on the first. It builds an example call shape from successful calls, with formats in place of values. agent.tool_usage_flags() lists tools that are offered and never called, or never offered at all. A learned example request replaces a synthetic one worded the same, and at the cap displaces the oldest synthetic one instead of being refused.

  • Persona learning can read a team, and propose standing rules. across_users reviews every user’s conversations and requires quotes from min_users people, so one person’s taste is not a pattern. standing_rules adds a tier between guardrails and goals: a rule is proposed from corrections people keep making, is never applied on its own, needs a named owner (rule_owners), may not go against a guardrail, and can be undone. Both are off by default.

  • Five notebooks on continual learning in token space, in examples/continual_learning: workflows to skills, persona evolution, entity evolution, toolbox augmentation and evolution, and the refine cycle. All five run on one fictional insurer, Calderwood Insurance, whose people, systems, codes and limits live in calderwood_world.py.

  • Verified outcomes gate skill promotion. A run your application confirmed (through workflow_outcome_evaluator or record_task_outcome(verified=True)) is stored as outcome_verified, and min_verified_outcomes is a fifth promotion gate. It is off by default (0); set it to 2 once the host reports outcomes.

  • A holdout on active skills. One matching thread in ten (holdout_rate, 0.1) runs without the skill, so each skill has a with-and-without figure. A skill whose side is lower by more than chance explains (holdout_flag_z, 1.0) after 20 runs a side gets a review flag; nothing is demoted on it. The share is set per agent with agent.set_holdout(), memorizz learning holdout, the Skills page or holdout_rate on memorizz_update_agent. holdout_exempt keeps a skill out, and a skill the user stated is exempt.

  • Duplicate skills are rejected at validation, when a new skill’s applicability embedding is within 0.85 of a live one. The report names the existing skill.

  • Persona guardrails. Persona(guardrails=[...]) and agent.set_persona_guardrails(...) keep up to 12 rules that are rendered first in the system prompt and that no learning path can write: the model’s update_persona tool, persona learning and the refine cycle are refused.

  • Entity facts keep their history, with dates. A replaced value stays with valid_from and valid_to, 20 per attribute (EntityPolicy(attribute_history_limit=...)).

  • Aliases from merges. The name of a record merged into another becomes an alias of the survivor, and a later mention of it resolves there.

  • Refine cycle. MemAgent(refine_cycle=True) runs upkeep as one ordered cycle (agent.refine(), memorizz learning refine, /refine, the memorizz_refine MCP tool) in place of the separate turn counters, and agent.schedule_refine_cycle() puts it on the automation worker. Each cycle stores one report: per job its status, changes, tokens and the plans waiting for review, which now survive a restart. Guide: Refine cycle.

  • The local UI shows all of it: a fifth gate and a verified marker on workflow trajectories, a With and without panel on active skills, guardrails on personas, a dated timeline with weaker writes and aliases on entities, and a Refine cycles section on the Learning control plane.

  • eval/learning_loop/mechanisms.py runs each change before and after on generated scenarios, without a model.

  • Your name, once. The person button in the local UI’s top bar keeps your name in the browser. It fills the approver field of every approval, review and undo form, and signs your changes in the activity log. The same menu has a Compact tables switch for more rows on screen.

  • Activity log. Admin → Activity lists every change made through the UI: who, what, which record and when, with filters and CSV export. The Overview shows the newest six. Chat messages are not listed, and message text, form values and secrets are never written. The log is ~/.memorizz/audit/ui_activity.jsonl (MEMORIZZ_UI_ACTIVITY_LOG moves it).

  • Budget meter in the sidebar. With a monthly budget set, every page shows this month’s spend against it at the foot of the sidebar.

  • Run drawer. Selecting a recent run opens its status, duration, calls, tokens, cost and IDs in a side drawer, with links to the full trace and the agent, instead of leaving the page.

  • Observability opens on recent runs. The Traces tab lists the last 7 days of runs first. How the trace data was read (coverage, query path, host integrations) moved into a Data source and coverage section.

  • Row menus and CSV export. Agent and memory rows have a ⋮ menu, and every table page has Export CSV for the rows shown.

  • Choose what the Overview compares with: the period before, the same time yesterday or the same time last week. Charts say what they cover and how they moved, and the Tools and Models tables show a trend line per row.

  • Customize the Overview. Hide or reorder its sections; the layout is kept in the browser.

  • Preview pane in the playground. A reply that contains an HTML page, an SVG, Markdown, JSON, CSV or a long block of code gets an Open preview button. The pane shows it rendered beside the conversation, with the source, copy and download. HTML runs in a sandbox with no access to MemoRizz, and its scripts stay off until you turn them on.

  • The Playground opens on a composer. Type a message, pick the agent that answers, and the conversation opens in that agent’s playground with the message sent. Suggestions, the agents you used last and the full agent table follow. An empty conversation shows the agent’s mark and the same suggestions.

  • An inbox in the local UI’s top bar. The bell counts what is waiting for a person and links to each: tool calls and harness runs held for approval, consolidation plans and persona changes to review, automations whose last run failed and failure alerts that are firing.

  • Switch store without the connect page. Select the store name in the top bar or the sidebar to list the FileSystem stores on this computer and connect to another.

  • First steps on a new store. The Overview lists five steps from an empty store to a scheduled agent and ticks each as it is done. It goes away once the store is in use, or when you hide it.

  • Filter chips and saved views on table pages. Each filter in use shows as a removable chip. Views keeps the filters, sort order and time range under a name, in the browser.

  • Actions on several rows. Tick agents to add them to favorites, copy their IDs or delete them (the agent records only: memories, conversations and traces are kept). Tick memory records to copy or download them as JSON, and two recent runs of one agent to compare them.

  • Shares on the Overview. Each agent, tool and model row shows its part of the window’s spend (or of runs and calls when nothing is priced).

  • Learned example requests are no longer shown to the model. They are retrieval keys: routing searches them, and the “Also asked for as” line that put a user’s wording in the prompt is off by default. Turn it back on with agent.configure_tool_learning(show_learned_examples=True). Tool learning has not been in a release, so nothing shipped changes.

  • Toolbox.register_tool(augment=True) makes one checked model call. It used to make three and store the replies as they came, which could leave conversational text in a tool’s description and example requests. The description and six example requests now come from one JSON reply that is checked; the docstring is kept as written and the argument schema comes from the code. A tool row is embedded from its description and example requests as well as its name and arguments.

  • A source rule decides which entity value stands. A write replaces the current value only when its source is trusted at least as much: 3 pinned or written by the host through the SDK, 2 stated by a user, 1 inferred, from a tool or by consolidation. A weaker write that disagrees is kept in the history as not applied. This changes behaviour: a value written through EntityMemory.upsert_entity is level 3 and is no longer replaced by what a user says later; pass source_level=2 to seed a value that conversation may update.

  • holdout_rate defaults to 0.1, so after upgrading one matching thread in ten runs without an active skill. Set it to 0 to keep every matching thread on the skill.

  • Oracle: migration 014_learning_spec_columns.sql adds workflow_memory.outcome_verified, workflow_memory.skills_held_out and personas.guardrails. The provider adds them at startup when missing.

  • The local UI’s navigation is grouped. The sidebar lists its pages under Build, Memory, Connect, Operate and Admin, the first item is named Overview like its page, and the store, the theme switch and Disconnect share one row at its foot. Folded to icons, each item names itself on hover and a group opens the sidebar. Summary figures use one numeral style on every page.

  • The top bar says where you are. It shows the sidebar group and area a page belongs to (Memory / Continual learning), and the area links back to its first page. Page headers lost the label above the title and are shorter, so tables and charts start higher on every page.

  • Empty pages point to the next step. Empty states carry an icon, and an empty memory type links to the playground and to import.

  • Evalground’s setup panels are tabs. Suggested experiments, datasets, the agent evaluation, Terminal-Bench and history share one row; select a tab to open it. The header and the start cards no longer repeat each other, and an empty Automations page shows one Create automation button.

  • Setting a monthly budget is one line on Usage & cost until you open it, so the charts are not pushed down.

  • The Learning control plane leads with its events. Memory consolidation and Persona learning fold to one row each above the event table, showing their schedule and how many plans wait for review. A panel opens itself when a plan is waiting or a link points at it. With the event pane open, Compile streams and the forgetting plan stack instead of sharing a row, so the stream table no longer runs past its panel.

  • The theme follows your system until you choose light or dark, and the connect and sign-in pages now follow it too. They were redrawn to match the rest of the UI.

  • Disconnect asks first, and the UI no longer opens browser pop-ups. Removing an MCP server or its credentials, deleting fine-tuning data or models and downloading or removing a local model ask in the page and name what is kept. Calling an MCP tool from the MCP page takes its JSON arguments in a dialog that refuses invalid JSON, and a call held for approval shows the reason, the tool, the arguments hash and the expiry beside the approver’s identity, with Approve and run, Reject and Decide later. Approving in the playground and renaming a fine-tuned model use the same dialog.

  • memorizz ui opens the UI in your browser once the server is running. --no-open or MEMORIZZ_UI_OPEN_BROWSER=false skips that, and it is skipped over SSH, in CI and on a Linux machine without a display.

  • A fact aimed at a record its own consolidation plan merged away no longer fails or starts a stray record. It lands on the copy the merge kept, once.

  • An older statement no longer replaces a newer value when the model spells the entity its own way. Consolidation compares when the user said something with when the stored value was written, but looked the stored value up under the model’s spelling (“counter_fraud_unit” for “Counter Fraud Unit”) and found nothing to compare with, so Monday’s “sits in Leeds” could replace Wednesday’s “moved to Manchester”. It now looks the value up under the name memory holds.

  • A value an entity has already replaced no longer comes back under a new attribute name. Consolidation could re-add Tuesday’s “Leeds” as location beside office_location = Manchester. A stated fact whose value the record has superseded since it was said is now left out.

  • A write below host level no longer changes an entity’s type. Turn capture could relabel a record from “team” to “organization”, which kept two records for one team from being merged.

  • On Oracle, a run’s originating conversation is now stored (migration 015, which also adds the column for standing rules). Without it, tool learning could not see a request that had to be made twice.

  • A distilled skill keeps an argument that is the same in every run. The distiller is told to write shapes, never values, so it also dropped constants a procedure depends on (a status code such as Q12), and the skill was rejected or promoted unusable. Short argument values identical across every successful run are now listed for it as constants to keep. Values long enough to be a leaked reference stay forbidden.

  • The skill judge is no longer asked about failed runs it was not shown. With only successful runs in front of it, it could reject a sound skill for not handling failures it had no evidence of.

  • New chat no longer reports “Could not load thread history”. A conversation is saved with its first message; until then the playground now shows it as empty instead of as a failed load.

  • The phone menu’s links work again. Below 768px the page dimmer sat above the open side menu and took every click.

  • A light-theme page no longer flashes dark while it loads, and scrolling past the end of a page no longer shows a black edge. Date pickers, menus and scrollbars now match the chosen theme rather than the system’s.

  • The harness page on a phone or a narrow window could grow to hundreds of screens when a long session was selected, because its step list had no height limit under the run list. The steps now scroll inside the list.

  • A Claude Code run’s token count on the harness page left out the prompt tokens read from and written to the cache, so the detail pane could show a few hundred tokens for a run the Compare view put at tens of thousands. Both now count the same way.

  • The harness Compare view no longer lists the judge, evaluation time and evaluation cost rows as dashes before any run has been judged.

  • Ctrl+C stops memorizz ui at once. With a page open (the playground’s live turns, an Oracle container’s logs), the first Ctrl+C used to wait for the page’s event stream to close, up to five minutes, and a second one force-quit with two tracebacks of CancelledError (“Exception in ASGI application”). The streams now end on the first Ctrl+C, a request still running after three seconds is cancelled, and stopping prints no traceback.

  • Decision models. A decision model answers a yes-or-no or multiple-choice question about a piece of text, with a probability for every answer. MemoRizz can now ask one wherever a similarity score and a fixed threshold decided before. MemAgent(decision_model=...) (or with_decision_model) takes "d1" (LiquidAI/d1-2B on this machine), "liquid", "jev", "openai_decisions", "finetuned:<run id>", "llm" (the background model), "auto" or your own function. Each feature below is off until you turn it on, True uses the agent’s model, and when the model fails the feature falls back to what MemoRizz did before. The numbers are from the decision-model notebooks, d1 against what MemoRizz did before. Guide: Decision models.
    • An extraction gate. MemoryRoutingConfig(extraction_gate=True) asks whether a message holds anything worth keeping, and what kind, before any model reads it for facts. It skipped 23 of 60 extraction calls.
    • Procedures. Fact extraction also keeps procedures the user states (“To deploy, run the tests, tag the release, then post in #releases”): as the user’s skill when the agent recalls skills, else as a knowledge-base note in the namespace procedures. Said again, the new version replaces the old. Facts also carry their kind (preference, fact or event).
    • Read routing. RetrievalPolicy(read_routing=True) asks whether a request needs episodic, semantic or procedural memory, and searches only those: right stores 0.45 to 0.67, two-store requests 0 to 8 of 12.
    • A semantic cache verifier. SemanticCacheConfig(verifier=True) checks a close entry’s answer against the new question before serving it: 47 of 48 lookups right, against 28 for cosine at 0.9. A question that repeats a cached one, apart from case, spacing and closing punctuation, is served without a check.
    • Write dedupe. MemoryRoutingConfig(dedupe_writes=True) compares a new knowledge-base note with the closest stored ones. The same fact is not written again; one it refines or contradicts is hidden and kept, superseded_by the new note; another fact about the same subject is linked.
    • Consolidation relations. ConsolidationConfig(relations=True) does the same for the agent’s own stored notes in every pass: actions right 0.20 to 0.88, contradictions caught 0 to 10 of 10.
    • Tool selection. ContextPolicy(tool_selection=True) picks the tool a request needs, or none, from the five closest: right tool first 0.71 to 0.96, wrong tool calls 4 to 0.
    • Decision chunking. chunking_strategy="decision" cuts where the model says a new topic starts. It found 5 of 7 topic changes, against 3 for percentile chunking, with the same retrieval hit rate.
    • Decision rerankers and importance. reranker="d1", "liquid" or "jev" asks whether each memory helps answer the request. The importance mode "decision" rates a memory by P(worth keeping).
    • On the agent form. Model → Memory models has a Decision model picker and a switch for each feature that asks it. Agent templates keep both.
  • A Hugging Face reranker. reranker="huggingface" reranks with cross-encoder/ms-marco-MiniLM-L6-v2 on Hugging Face Inference Providers, using HF_TOKEN or a token saved by hf auth login. "huggingface:<model id>" picks another text-ranking model. Hugging Face returns logits, which become 0 to 1 scores. Guide: Memory routing.
  • Your own reranker. reranker= also takes a function (query, texts) -> scores, or an object with predict(pairs) such as sentence-transformers’ CrossEncoder. It runs in your process and is saved by name only.
  • A relevance cut-off for tool routing. ContextPolicy(tool_min_similarity=0.25) offers a tool only when it is at least that similar to the request, so an unrelated request is offered no tools at all. Before, routing always offered the tool_top_k closest tools. MongoDB now reports toolbox scores as cosine similarity, like Oracle and the file store. Guide: Tools and approvals.
  • Recall of past workflows. RetrievalPolicy(workflow_scope="memory"), or "thread", puts past workflows among the recalled memories, one line each: the request, each tool call and whether it worked, and the outcome. It is off by default. It stays with the memory and user the workflow ran for, keeps to the current thread under a thread-scoped or sealed policy, and never recalls a sealed thread’s workflows elsewhere. Guide: Context efficiency.
  • Page text from Tavily. TavilyProvider(config={"include_raw_content": True}) returns each result’s page text in result.content, as well as the snippet, cut to max_content_chars.
  • raise_errors. MemAgent(raise_errors=True), or run(..., raise_errors=True) for one call, raises a failure instead of answering with “I encountered an error: …”.
  • The semantic cache serves an answer from cosine similarity 0.9, not 0.78. At 0.78 it served today’s weather for “tomorrow” and Q2 revenue for Q3. With a verifier the default is 0.7. Saved agents keep the threshold they were saved with.
  • A tool selector turns off the whole-list shortcut (stable_tool_list_tokens), which would otherwise send every tool.
  • knowledge_base_lookup uses the agent’s reranker. With one, it fetches more passages than it returns, reranks them and returns each with its rerank_score.
  • An importance rating that a model gave as a probability (“0.73”) was read as no rating at all. It is now taken as it is.
  • Entity capture kept nothing from a message such as “For this trip only, I want a window seat”, because it skipped anything temporary. Facts that hold for a trip, booking or project are now kept on that thing, and the user’s own preference stays as it was. Passing remarks (“I’m exhausted today”) are still skipped.
  • entity_memory_upsert failed with “entity_id was not found in the active entity scope” when the model passed an ID it hadn’t looked up, and the message reached the answer. With a name, the update now lands on that name inside the conversation’s own memory, and a name passed as the ID is found by name. With neither, the model is told how to find the entity. Another tenant’s record still can’t be reached.
  • The trace waterfall shows where a turn’s time went. On Observability, the waterfall is now a tree of spans on one clock, and it shows every model, tool and memory span. Before, it hid successful model and tool calls by default, which on a real 34-second turn left out 25 seconds.

    • Spans nest under the span that started them. Each row can collapse and shows how many spans are inside it. Runs of three or more identical spans fold into one row.
    • A bar above each turn splits its time into model, tools, memory and unaccounted time. Hatched rows mark stretches where the turn was running but nothing recorded what it was doing.
    • Failures are marked on the rows above them, and Next failure opens each one with the reason it failed.
    • You can filter by type or by failures, search names, tools, models and IDs, and drag across the overview strip to zoom.
    • Clicking a span shows its timing, its own time, tokens, cost, error and IDs. It never shows message content.
    • It works by keyboard, its columns can be resized, and it fits light theme and phone screens.

    Guide: Observability UI.

  • Personas over MCP. memorizz_create_agent and memorizz_update_agent can set a persona and turn on persona learning, and memorizz_get_agent shows the persona and how learning is going. A persona’s change history stays out of MCP, because it holds what users wrote. Reviewing and undoing changes stays in the CLI and the local UI.
  • Timers over MCP. memorizz_start_timer, memorizz_list_timers and memorizz_cancel_timer let Claude Code and Codex start a countdown that shows in the CLI and the local UI. They work over local stdio only.
  • An agent run for a remote MCP caller no longer has the timer tools, which would have let that caller read and start this machine’s timers. The system prompt offers start_timer only when the agent has it.
  • Persona learning. An agent’s persona can now grow from its conversations and memories in the background. On a schedule, the background model looks for work the user keeps coming back to and adds one sentence to the goals or background, quoting at least three conversations. The name and role never change this way. It’s off by default, and only runs for an agent that serves one person. Sealed conversations are never read, every change can be undone, and you can make changes wait for review. Set it on the agent form under Persona, with /persona-learning, or with persona_learning=. Review, undo and see past changes on the Learning control plane. Guide: Persona learning.
  • Timers. Ask for a pomodoro and it just starts. A countdown shows live in the CLI’s status bar and as a card above the chat box in the local UI, and rings when it ends. It needs no approval, timezone or model call. The CLI and UI share timers, and /timer starts one without the agent. Guide: Timers.
  • A one_shot automation now waits for interval_seconds. It used to ignore the delay and run straight away.
  • An interval or one_shot automation no longer needs a timezone: it uses this machine’s. The agent’s automation tool does the same for cron, except on multi_tenant agents or when the machine’s timezone can’t be read. create_automation still requires one for cron.
  • On Oracle, a persona’s change history survives a reload. It came back empty, and the next save erased it, so history already lost can’t be restored. Version numbers, name and goals were not affected.
  • On Oracle, automations work with the default thin driver. Times were stored in a form the driver can’t read, so reading a job failed with DPY-3022. Jobs already stored are readable, with no migration needed.
  • On Oracle, a persona an agent has replaced can’t load for it again.
  • /persona in the CLI now saves to the agent. Before, a persona lasted for that session and was gone at the next launch, along with its tools. On an agent that already has a persona it changes that persona, keeping its history.
  • A running agent’s save no longer overwrites a persona changed elsewhere, such as on the agent form. It takes the newer one instead.
  • read_persona no longer returns the change history in a sealed conversation, matching the system prompt: reasons can quote other conversations.
  • Failures across agents. A new Failures tab in Observability lists what failed in a time range, from the last hour to 90 days or a custom range: agents worst first, and one line per failure however many agents hit it. Agents that stopped a turn come before agents that carried on. Download it as CSV, or read /traces/failures.json. An account limited to one application or user sees only that scope. Guide: Failures and alerts.
  • Failure alerts. Admins can set a limit on failures, or on turns that stopped, in the last hour, 24 hours or 7 days, for one agent or any agent. A rule that fires shows on the Overview, and a webhook gets one message when it fires and one when it clears, with a retry if delivery fails. Messages hold names, codes and counts, never conversation content. Webhooks must be public https addresses, and the address is shown only as its host. Rules are checked while the MemoRizz UI is running.
  • An agent’s Failures panel has its own time range, and the Overview’s range picker has a last-hour option.
  • The Failures panel no longer has a coloured edge.
  • A CLI chat can save what you tell it. Chat mode removed entity_memory_upsert, the tool that saves a fact, so told “my name is Richmond” the model looked for it, found nothing, and said it would remember anyway, with nothing stored. Facts now reach the Entities panel. Anything you said before this is still in the conversation but not in Entities, so say it again to save it.
  • The Observability page opens on what failed. A new Failures panel groups an agent’s failures by what broke, with how often, how many turns, when it last happened and whether the turn stopped or the agent carried on. Each one links to its step, its turns and, for people allowed to read traces, the actual error. Before, the errors were a filter thousands of pixels down the page.
  • The Playground’s Traces button opens the conversation on screen instead of the agent’s whole history, and a turn’s activity lists what failed first, with a jump to each failure and a link to that turn in Traces.
  • A new line in the chat prompt: Esc then Enter, or Shift, Option or Cmd+Enter where the terminal passes them on. Before, the prompt had no way to start one. Many terminals keep Cmd+Enter for themselves; the CLI guide has the setting for Ghostty and cmux.
  • CLI chats save what each request sends to the model, so the UI’s Context tab can show them, as Playground turns already did.
  • In Observability, the section bar shows the failure count and a turn picker replaces the box for a root ID. The Trace volume, Verified outcomes, Memory supply and Tool health cards link to the section they summarise, and the Waterfall opens only the turns that failed.
  • A tool’s raw stored-output digest no longer appears as a message in the Playground; the turn’s activity already shows the call.
  • Importance no longer outranks a better match over a small gap. One point on a ten-point rating took the whole importance range, so 0.55 against 0.65 scored as 0 against 1. Ratings under half the scale apart now share only part of that range; wider gaps rank as before.
  • Every missing-package message now shows how to add the extra to this install. About 20 of them, for LLM providers, embeddings, memory stores and fine-tuning, still said pip install, which misses a uv tool.
  • An install hint can’t lose its extras in the terminal. Rich read [mcp,ui] as a style tag and deleted it wherever an error was printed unescaped, and the command left would have removed those extras. These commands now print as memorizz[ mcp,ui]; the space is deliberate and valid. Errors in the chat also keep square brackets now.
  • A CLI chat could fail on retrieve_tool_log_entry: long tool output points the model at that tool, but chat mode removed it, so the model couldn’t read what it had fetched and fetched it again.
  • The Context tab blamed “older turns” for a turn that was simply never saved, including every CLI turn on a new agent.
  • An MCP failure now reads “the MCP server rejected the request” instead of a bare code.
  • memorizz update checks for a newer release and shows how to upgrade, like /update in the chat. It doesn’t install anything.
  • Recall no longer ranks memories by the order they were written. Recency was stretched across the whole 0 to 1 range whatever the gap, so chunks written milliseconds apart scored from 0 to 1, and the best match could drop out of recall. Memories under an hour apart now share only part of that range; an hour or more apart ranks as before.
  • A model rating a memory 1 out of 10 (“purely mundane”) gave it the maximum importance instead of 0.1. Ratings already stored stay as they are, because a stored 1.0 can’t be told apart from a real 10.
  • /update and the startup banner left the extras out of the upgrade command they showed: memorizz[mcp,ui]==X printed as memorizz==X, so following it removed them. The notice shown during a session was right. This affected uv installs pinned to a version with extras. If yours is one, 0.17.17 and older will still show the short command for this upgrade, so add your extras yourself: uv tool install --force --refresh-package memorizz --python 3.12 'memorizz[mcp,ui]==0.17.18'.
  • A uv tool missing an extra was told to run pip install 'memorizz[mcp]', which installs into whichever Python is active, not the tool: the error stayed, and on an older Python pip found a very old MemoRizz. memorizz doctor, the MCP errors and the missing-driver messages now show a reinstall of the tool with the extras it already has plus the new one.
  • Warnings at startup lost anything in square brackets, including the extra in an install hint.
  • The upgrade command failed for a few minutes after each release with “no version of memorizz==X”, because uv’s cached index didn’t have it yet. It now refreshes the package.
  • Grok Bot and ChatGPT dots can use your memory. memorizz mcp apps serve --public-url https://… (or --tunnel for a temporary Cloudflare address) puts the MCP server online with an OAuth sign-in, and you approve each app on its sign-in page with a one-time pairing code from memorizz mcp apps pair or the UI’s Settings → Connected apps. Every app you approve uses the same memory, so what Grok saves, ChatGPT finds. Apps sign in the way they do elsewhere: ChatGPT and Grok with a client metadata document (ChatGPT signs its token requests with its key, which MemoRizz checks), others with dynamic client registration. PKCE is required, tokens are issued only for this server, and codes and tokens are stored as hashes. Before, a remote MCP server took only fixed bearer tokens, which neither app can send. Tested with a real Claude Code sign-in; not yet tried from a live Grok Bot or ChatGPT. Guide: Grok Bot and ChatGPT dots.
  • memorizz mcp apps list and revoke show and disconnect apps; a disconnected app’s tokens stop working at once.
  • search and fetch tools on the remote MCP server, in the shape ChatGPT’s deep research and company knowledge call (and the only kind of tool some ChatGPT plans allow a custom server).
  • memorizz mcp serve --oauth and --tools memory (a server with only the memory tools); memorizz mcp apps serve uses both. A memory saved by an app records which one (created_via), and its change history names it. Grok Bot signs in with Cursor’s client identity; MemoRizz names it Grok Bot (or Grok, from grok.com) from where its sign-in returns to.
  • Apps can share your local agents’ memory. Pair an app with memorizz mcp apps pair --shared (or tick Share with my local agents in Settings → Connected apps) and it uses the same memory as Claude Code, Codex and your other agents on this computer, with nothing to migrate. It finds what they saved in any project, including past sessions. What it saves goes to the memory ID personal, which new Claude Code and Codex sessions list at the start. Sharing is off by default, it’s chosen per app, and a shared app can’t use the agents’ tool logs, caches or run records.
  • Claude Code can sign in to a remote MemoRizz server, with claude mcp add --transport http and claude mcp login. Before, sign-in failed with “Redirect URI not registered”, because Claude Code publishes its local redirects without a port. A local redirect may now use any port; the rest of it still has to match exactly. Steps for Claude are in the guide.
  • /agent new makes an agent from the chat. What follows new is read as a model if it names one, otherwise as the agent’s prompt: /agent new gpt-6-luna, /agent new You are a careful code reviewer., or both. On its own it opens a model picker, then asks for the prompt. The agent gets its own memory and is named after its prompt or model. Before, agents could only be made from the shell or the UI, and /agents only switched between saved ones.
  • Agent harnesses sits right below Agents in the UI’s side navigation.
  • The chat’s startup crest is now just the red M, without the gold shield.
  • memorizz opens on a new conversation in the agent’s memory, instead of resuming the last one; /conversations resumes an earlier one. A launch where you type nothing leaves no empty conversation behind. memorizz run still carries on the last conversation.
  • memorizz opens the agent you used last. Switching with /agents or /agent is remembered, where before the next launch went back to the default agent.
  • An agent keeps its own model across launches. Before, every launch replaced it with the detected default. --model now applies to that launch only, and the unnamed assistant the CLI makes on first run still follows your default. An agent whose model can’t start here (say its key is gone) says so and uses your default for the session; its saved model stays.
  • memorizz agents create --set-default put the new agent in the previous agent’s conversation: it read that agent’s turns and wrote into its thread.
  • The agent memorizz opened had its instruction replaced by the built-in one, and the save after a turn made that permanent, so agents create --instruction … --set-default lost the instruction on first use. Opening an agent in the chat also saved a smaller tool list and the session’s web, coding and browser settings onto it. Only the CLI’s own assistant is updated now, and /browser on|off still saves; an instruction already overwritten can’t be restored and needs setting again.
  • After /agents, each turn saved the new agent’s memory and thread next to the old agent’s id, so the next launch opened the old agent on the other’s conversation. A state file left like that now falls back to the agent’s own memory.
  • /agent left the session half set up: the status bar kept showing a harness picked with /harness while turns ran natively, and the agent had none of the launch’s tool setup, shared MCP servers or --code tools. A picked harness now comes along to the new agent, and a harness that can’t says so.
  • /background-model azure:<deployment> used the default deployment instead of the one named.
  • A remote MCP server bound to 127.0.0.1 behind a proxy or tunnel refused requests for its public address (“Invalid Host header”); it now accepts its --public-url host.
  • The MCP server’s config and the connected-apps store import without the optional MCP SDK.
  • /desktop in the chat (alias /computer-use): /desktop on gives the agent you are talking to the desktop tools at once, with no restart, and saves them with it; /desktop off removes them, /desktop shows the state and what macOS allows, and /desktop doctor --ask shows macOS’s permission prompts. Before, desktop control needed memorizz desktop connect in a shell and a restart.
  • open_url(url, app=None), a desktop tool that opens a link or deep link in an app: app="Notion" opens a Notion page in the Notion app, and notion://, slack:// or mailto: links work too (file: links are refused). Notion’s desktop app shows nothing to Accessibility, so before this the agent could not open a page there at all.
  • Approve in the chat. A turn that reaches an action needing approval now asks Allow desktop__open_url(url="…", app="Notion")? [y/N] and, on yes, runs that exact call and lets the agent carry on, asking again at its next action. No declines it, and Ctrl-C leaves it pending for /approvals. It replaces three /approvals commands per action, for desktop, browser and MCP tools alike.
  • Desktop control is a capability the agent can ask for. A request such as “open it in my Notion desktop app” or “computer use” now leads to /desktop on, where it used to be routed to /browser on (and the model sometimes invented a computer_use tool). It is listed only on a Mac.
  • A page for each harness run at /harnesses/runs/{run_id}, in place of the Evidence dialog, so a run can be linked and bookmarked. Its tabs are Trajectory (live while the run is active), Raw record and Memory evolution, each reachable by #hash. Copy full activity copies every recorded event in full, with the runs it delegated to, from the new /api/harness-runs/{id}/activity. Trajectory details no longer cut outputs at 4,000 characters, “Open its … run” goes to the delegate’s own page, and ?include_events=true returns every event rather than the first 1,000.
  • Browser control works out of the box, about 3.6x faster. Every /browser run and browser_control call failed within 3 seconds with Browser Use 0.13 (ChatOpenAI.__init__() missing 1 required positional argument: 'model'): its chat wrappers have no default model, and MemoRizz passed none unless MEMORIZZ_BROWSER_USE_MODEL was set. With no model set, it now uses gpt-5.4-mini (OpenAI), claude-haiku-5-5 (Anthropic) or gemini-flash-latest (Google). Saved agents keep the model unset, so they follow a better default later. gpt-6 models failed every step ('temperature' does not support 0.2) and now work. Over three tasks the mean went from 31.4 s and 98,100 prompt tokens per task (with a model set by hand) to 8.6 s and 29,400: Browser Use’s judge, an extra LLM call that only logs a verdict, is off, and screenshots go only when the browser agent asks for one (MEMORIZZ_BROWSER_USE_VISION=auto, the new default in the CLI and the UI).
  • Browser Use’s telemetry, on by default, uploaded each task’s text, the visited URLs, its actions and its answer to PostHog. MemoRizz now runs it with ANONYMIZED_TELEMETRY=false unless you set that variable yourself.
  • A browser result reports timings (startup, run, steps), token usage and cost_usd. duration_seconds is the wall time of the whole call (on success it used to be the browser agent’s step time). output is capped at 12,000 characters (max_output_chars, with output_truncated when cut), only the last five errors are kept, and URLs are de-duplicated, so the result handed back to the chat model stays near 1–1.5 KB. A worker that failed to build its model returns a structured error, not a traceback.
  • With Ollama embeddings, every chat turn that called a tool printed Error generating Ollama embedding: the input length exceeds the context length and Workflow stored without an embedding. A workflow memory was embedded with its tools’ full output (a whole Notion page, a list of 65 tools), past nomic-embed-text’s 2,048 tokens. It is now embedded from what it was for: its name, description, the tools it called in order, its outcome and the request, about 165 characters in place of 53,000 for the run in the report. Re-embedding after an embedding-model swap uses the same text.
  • The Ollama embedder embeds the start of a text that is past the model’s context instead of failing: Ollama’s older /api/embeddings endpoint refuses such text, so it falls back to /api/embed, which cuts it to fit. Shorter text is embedded exactly as before. Entity memory now knows Ollama runs nomic-embed-text with 2,048 tokens (not 8,192), so a large entity’s vector still records how much of it it covers.
  • The Codex and Claude Code plugins never started their MCP server on a Mac without MemoRizz installed. With no memorizz to run, the plugin falls back to uvx, and uvx picked macOS’s Python 3.9, so it installed the last release that ran there (0.0.40, which has no MCP server). The fallback now asks for Python 3.12, which uv downloads when missing: from a cold start the server answers in about 13 seconds.
  • A plugin installed from the GitHub marketplace never updated. Claude Code updates a plugin only when its version changes, and both plugin manifests had stayed at 0.14.1. They now carry the package version, and the release test fails when they fall behind, so each release has to bump them.
  • The desktop-control guide covers /desktop, open_url and approving in the chat; the browser-control guide has a speed-and-cost section. The setup steps no longer say to run browser-use doctor: from Browser Use 0.13 it checks Browser Use’s own Chrome daemon, not the browser MemoRizz runs.
  • The coding-agent plugins guide shows the one-step Claude Code install, claude plugin install memorizz --marketplace RichmondAlake/memorizz, and how a marketplace install picks up a new release.
  • MemAgent(multi_tenant=True) for one agent that serves many users, as a server’s shared agent does. Every call names its memory (and user): a run, capture_entity_facts, build_personalization_context, remember and the other host-called methods refuse to run without one instead of falling back. No user’s memory is added to the agent’s memory_ids, and update_memory() and delete_memory() are refused (a user’s data is deleted per user with delete_scope). Saved with the agent; describe_memory() reports it.
  • A shared agent added every user’s memory to its own memory_ids on each run (in memory, and on the agent record when the host called update_memory). memory_ids[0], the first user who ever chatted, then became the fallback for any call without a memory, delete_memory() would have deleted every user’s conversations, and the list grew with every account. A server thread reused for the next request also kept the previous request’s current memory, which host-called methods fell back to. Single-tenant agents keep the old behaviour.
  • run(..., memory_capture=False) (and run_stream, run_stream_events) makes one turn teach memory nothing, for text the user did not write themselves, such as another agent’s request: no entity capture or routing after it, and the model’s entity_memory_upsert and remember calls are refused. (An end-to-end run found the chat model saving “lives in Lisbon” from another agent’s message when only capture was off.)
  • EntityMemory.forget_sources(sources, ...) takes out what particular sources taught (a deleted comment or note), restoring earlier values the way forget_thread does for a conversation.
  • ContextPolicy(always_visible_tools=(...)): host tools every turn offers whatever progressive disclosure selects. Hosts no longer edit the router’s internal set.
  • Workflow records keep the conversation they came from as origin_thread_id (stores strip a bare thread_id from workflows), so a host can forget one conversation’s runs.
  • Memory upkeep runs on up to 4 threads (MEMORIZZ_UPKEEP_WORKERS, 1 to 16) instead of one. A server usually shares one agent across all its users, so every user’s entity capture, compaction and consolidation queued behind each other’s background-model calls. Each user’s and each thread’s own work still runs in order. Upkeep never runs on the turn: the reply returns while it is still working.
  • No background call for messages with nothing to file: an acknowledgement or greeting (“thanks”, “ok, go on”), a single word or a bare link is not sent to capture or routing.
  • No embedding at the start of every turn: a workflow is embedded when it is stored, with its steps, instead of when the turn begins. A turn that calls no tool is never stored, so it no longer pays for an embedding before the model is called, and stored workflows are now found by what they did.
  • Built-in memory tools carried no governance, so they counted as deterministic and without side effects. With a semantic cache, a turn that saved a fact (entity_memory_upsert, remember, update_persona, summarize_conversation) could be cached as read-only and replayed without the write, and answers read from memory (entity_memory_lookup, tool logs, summaries) could be served stale. They now say what they do.
  • Consolidation plans were added and dropped from more than one thread without a lock.
  • One record for the user. EntityPolicy(self_identity_key=..., subjects=...) (MemAgent(entity_policy=...), with_entity_memory(policy=...), the builder) puts facts about the user on one record named by a host-owned identity key, on every write path: the entity_memory_upsert tool, entity capture after a turn, memory routing, remember and the new capture_entity_facts. A write naming “user”, “me” or the record’s own name lands there, whatever name or id the writer gave, and extraction reads the record as “user” so it does not file known facts again. subjects="self" keeps only facts about the user: capture drops the rest, and a tool write about someone else is refused rather than filed on the user (in a live run, “my colleague Ben teaches physics” had become the user’s teaching subject). The policy is saved with the agent.
  • Where each fact came from. Entity attributes keep the conversation that taught them (thread_id) and up to five earlier values in history. EntityMemory.forget_thread(thread_id, ...) takes out what one conversation taught: each of its values goes back to the newest earlier value from elsewhere, or goes away, and an entity left with nothing is deleted. sources=[...] matches older values by their source.
  • Pinned facts. An attribute written with pinned=True (set or confirmed by the user) is never replaced by a write that is not pinned, and consolidation never retires it. upsert_entity_with_report lists such attributes under kept_pinned; retire_attributes(..., include_pinned=True) removes one when the user asks.
  • EntityMemory.forget_attributes(entity_id, names, ...) deletes facts for good, with their history and any retired copy, for a user removing what is known about them. (retire_attributes keeps a copy so consolidation can be undone.)
  • MemAgent.capture_entity_facts(text, ...) files the facts in words the user wrote outside the chat (a comment, an edit), with a source, a thread_id and a description of the text, on the background model or the agent’s own.
  • capabilities() announces background_model, entity_capture, canonical_entity_capture, host_entity_capture, entity_attribute_provenance, pinned_entity_facts, memory_routing and recall_budget, so a host can check for them instead of probing internals.
  • EntityPolicy is exported from memorizz, and describe_memory() reports entity_policy.
  • One fewer embedding call and vector search per turn for an agent whose entity memory holds only its user (EntityPolicy(subjects="self")): the user’s profile is read by its identity key (EntityMemory.get_by_identity_key) for the turn’s context and for build_personalization_context, instead of searching by meaning for a record that is always the same one.
  • An entity write that changes nothing the vector reads (provenance, confidence, pinning, history) keeps the stored vector instead of making an embedding call. forget_thread rewrites do the same when the text is unchanged.
  • The same value said again from the same conversation and source is a no-op, as before; said from another conversation, the earlier provenance joins the history so forgetting either conversation keeps the fact.
  • The connect page lists the Oracle and MongoDB databases on this computer: Docker containers found by the port they publish (1521, 27017), running or stopped, and the addresses in ORACLE_DSN and MONGODB_URI. Click one to fill in its address. A stopped one shows the docker start command, and the current connection is marked. Container environments, which hold passwords, are never read. Each provider’s list shows only under that provider.
  • The update notice told uv users to run uv tool upgrade memorizz, which stays inside the version range the tool was installed with: an install pinned to a version (memorizz[...]==0.17.11) didn’t move. A pinned install now gets a reinstall with the same extras and Python at the new version, read from uv’s receipt. An unpinned one keeps uv tool upgrade memorizz.
  • The UI shows its connection and read-only mode on every page. The header names the provider and a short target with no credentials (Oracle user@host:port/service, MongoDB host/database, a shortened folder) and links to the connect page. With MEMORIZZ_UI_READ_ONLY=true or memorizz ui --read-only, a Read-only badge shows, and buttons and forms that would change data are turned off with a tooltip. A change a page script sends is stopped in the browser with the same note. The server still refuses every change.
  • OracleConfig(read_only=True) makes no schema changes: no tables, columns or indexes, vector indexes included, and the in-database embedding model is never installed. provider.missing_tables lists the tables the schema lacks. A read-only UI connects this way and names any missing tables on the dashboard and the connect page.
  • memorizz ui can connect at startup. It reads --backend and its flags (--dsn, --user, --schema, --path, …; secrets only from environment variables or a prompt), or MEMORIZZ_BACKEND and that provider’s own variables. If connecting fails, the UI starts anyway and the connect page says why. MEMORIZZ_UI_AUTO_CONNECT=false turns it off.
  • memorizz doctor lists the optional extras that are installed and checks the configured backend’s driver. A missing driver now names the extra to install, for example pip install 'memorizz[oracle]'.
  • Embedding check at connect. The UI compares the vector size the store holds with the configured embedder. When the store records an embedder that can run here, the UI searches with it; otherwise the dashboard and connect page warn, naming both. Nothing is re-embedded, and a read-only UI no longer loads Oracle’s in-database embedding model.
  • delete_scope(..., keep_traces=True) deletes a run’s memories, tool logs and agent records but keeps its trace bundles, outcomes and verdicts, so finished evaluation runs stay on Traces. Filesystem, MongoDB and Notion now have delete_scope too. The memory provider docs have a new Scoped cleanup page.
  • Run tags. agent.run(..., trace_tags={"experiment": "lme-v2"}) labels a turn (also on run_stream and the event streams). A delegate agent’s turn and a harness task started during a tagged turn carry its tags too. The Traces page filters by key=value and shows a turn’s tags. agent.trace_url() returns the UI link to the last turn’s trace.
  • Grader verdicts. agent.record_task_outcome(turn_id=..., verdict="fail", grader="llm-judge", reason_code="wrong_answer", score=0.0) attaches a verdict to a turn. It shows on the turn in Traces, and failing turns appear under Needs attention on the Overview, linked to the newest one.
  • Recall budget. RetrievalPolicy(max_chars_per_item=...) sets how much of each recalled item reaches the prompt (600 by default, None for whole items), and max_recall_chars caps all recalled text in a turn, filled in order of relevance. The defaults leave existing agents unchanged.
  • The per-turn tool-call limit is reported. When a turn hits ContextPolicy.max_tool_invocations_per_turn, agent.last_turn_limits says how many calls were refused and for which tools, the turn’s trace records it, and the Overview names the cause. The model is told when its last two calls are left, and why a refused call did not run.
  • Retrieved record ids for evaluation. agent.last_memory_context_evidence(include_ids=True) adds the plain record ids, thread ids and scores behind the fingerprints. They are opt-in and never written to traces.
  • Entity facts are captured without the chat model’s tool calls. With entity memory on and a background model set, the background model files the entity facts each user message states, after the turn, even with memory routing off. Facts the chat model wrote that turn aren’t written again. A long message is read in parts of 4,000 characters, one call each, up to 8 parts. Turn it off with with_entity_memory(True, capture=False).
  • The Trace Timeline explains failures in plain words on the card, not only as a code in Details. A cancelled run says why it stopped: the reply stopped being read (the Stop button, a closed tab or a dropped connection), it ran past its time limit, or a cancel was requested. A failed or cancelled turn also says what it did before it stopped, such as “2 model calls wrote no reply text; it called automation_list_jobs and internet_search”. Each model result says whether it wrote text or asked for tools.
  • This costs an extra call per message: agents with entity memory and their own background model now make one background-model call per user message for entity capture (above).
  • entity_memory_lookup is left out of a turn’s tools and prompt while the user has no entities. It comes back on the turn after the first entity is written. In an evaluation an unneeded lookup roughly doubled a turn’s input tokens.
  • delete_scope deletes more by default: trace records are now matched by the memory, user and agent of the turn they traced, on every provider. On Oracle, a scope given only memory_id or user_id used to leave that scope’s trace bundles behind; it now deletes them unless keep_traces=True.
  • A turn that failed or was stopped left nothing to read: its message and any reply written so far weren’t saved anywhere. The turn result now keeps the user’s message and the partial reply as trace content, shown only through the audited reveal, along with the stop reason and the length of the partial reply. Exception messages are still never saved.
  • An entity past the embedding model’s input limit was stored with no vector, so search by meaning couldn’t find it. It now gets a vector of its name, type and newest facts. metadata.embedding_status says partial or missing, and the memory pages and the playground show it. MEMORIZZ_ENTITY_EMBEDDING_MAX_TOKENS sets the limit.
  • A missing database driver failed with “No module named ‘oracledb’”; it now says which extra to install.

0.17.9 was tagged but never published (a browser test still expected the old Usage page); 0.17.10 is that release.

  • Rate cards (Usage & cost → Rate cards) prices a model the built-in catalog doesn’t cover, such as a local Ollama model. You can mark it free, and the Overview and Usage pages use the price straight away. Cards are saved in ~/.memorizz/rate_cards.json. Only an unscoped admin can change them, and every change is audited. An app given usage_pricing in code keeps its own prices.
  • The Overview and Agents pages offer 90 days and a custom start and end.
  • Monthly budget on the Usage page: known spend this month against a budget, with a month-end projection. The Overview flags it once spend passes the alert percent (80% by default). Only an unscoped admin can set it, and changes are audited.
  • Usage exports as CSV by day, agent, model or run, as well as JSON.
  • The Usage page, now Usage & cost, leads with known spend, tokens, calls, spend per run, latency p95 and prompt-cache reuse. Each figure shows its change from the period before. It opens on 30 days, with the same range picker as the Overview plus All. Next come the budget, usage over time (tokens, spend or calls, with tooltips and click-to-zoom), and sortable by-agent and by-model tables showing agent names. The runs that cost the most come after those, then memory, the prompt cache and the method notes.
    • Agent and model filters are menus. The agent menu also lists agents seen in the window that aren’t saved in this store. The timezone and read limit moved under More.
    • Latencies read as “820 ms”, “5.5 s” or “1m 15s”, and memory types by name.
    • Unpriced calls link to Rate cards. /traces/usage.json keeps covering all recorded usage unless given a window.
  • Each Needs attention item links to where it can be fixed: the failed run’s trace, the agent’s tool, memory, persona or model settings, or Rate cards for a model without a price. Repeated tool calls, retry limits and spent tool budgets are explained in plain words.
  • Bars in Runs over time show their period, runs, failures, tokens and spend on hover or focus. Clicking one opens that period, or its run when it holds a single one.
  • The Usage page took about two minutes to load on a filesystem store of a few thousand records, because trace reads re-read every document for each record. They now take up to 1,000 records per read, so the same store loads in under a second.
  • A rate card whose cached-input price equals its input price now prices calls that don’t report cached tokens, as Ollama’s don’t, instead of leaving them unpriced.
  • The Trace Timeline is one rail instead of chat bubbles. Each event shows its time (local, with the date where the day changes), who acted (user, agent, model, tool, memory or run), a readable title and its badges on one row. Filters narrow it to messages, model calls, tools, memory, run events or errors. Thread and memory IDs appear once above the rail; an event’s other IDs and its metadata JSON, with a copy button, are under Details. Content stays behind an explicit, audited reveal, now offered only on events that have content. Reveal all content reveals every event the filter shows, one audited request each.
  • Revealing a turn that a Codex or Claude Code plugin saved, or an older MemAgent turn, failed with “Invalid trace request”. These turns have no root trace, and the reveal endpoint required one. A reveal now reads such a turn from the trace source and thread whose timeline showed it. Replays still require a root trace and now say so.
  • On Oracle, an entity with more than about 8 KB of attributes could no longer be saved (ORA-03146: invalid buffer length for TTC field), so with entity memory on, a user who sent many facts eventually hit this error. The MERGE that saved entities, and the one that saved vector documents, are now an UPDATE or an INSERT, which python-oracledb thin binds at any size.
  • An Oracle-backed agent could hang for good in pool.acquire(). After a few such errors the server ends the session (ORA-03138). Closing that connection then failed with DPY-4011, which hid the real error, and the pool went on counting the connection as busy. Once pool_max connections were lost this way, every later call waited. A connection whose session breaks now leaves the pool. The pool also waits at most pool_wait_timeout seconds (default 60) for a free connection, then raises DPY-4005.
  • Embeddings from OpenAI-compatible servers (Ollama’s /v1, vLLM, LM Studio): the openai embedding provider takes any model name when it has a base_url that is not OpenAI’s. It asks the server for dimensions only when you set them, cuts the vectors itself when the server refuses or ignores the size, and otherwise learns the size from the first answer. MEMORIZZ_DEFAULT_EMBEDDING_BASE_URL (and MEMORIZZ_DEFAULT_EMBEDDING_API_KEY for a server that takes a key) set it for the default provider, on the UI’s Settings page or with memorizz memory configure. The OpenAI key is never sent to another server.
  • Shorter Ollama embeddings: dimensions on the ollama embedding provider (and MEMORIZZ_DEFAULT_EMBEDDING_DIMENSIONS) asks Ollama for that size, for 256-dimension nomic-embed-text vectors for instance; an older Ollama’s full vectors are cut and rescaled the same way, and a size larger than the model’s is an error that says so.
  • The sidebar shows the running version under the name. Folded, it shows just the logo, and the expand button takes its place on hover.
  • The create page’s templates are compact cards in a panel that folds away while a template is in use, so the form starts on the first screen. Built-in descriptions fit their card, a template you saved without a description shows its persona’s role or the first sentence of its instruction, a missing web search key is a short warning with the detail on hover, and your own templates are marked Yours.
  • Section labels on the agent form say something: 6 types · Routed for Memory, 20 tool rounds for Runtime, Automations on for Automations.
  • The LLM config JSON box moved into a folded Advanced provider settings group under the Model section.
  • The navigation keeps one width across list pages (Agents, Automations, Continual learning, Memory, Harnesses); only the playground and a harness conversation start with it folded.
  • The playground’s Memory tab opens on what the agent remembers (entities, knowledge base, summaries), with the toolbox and tool logs folded at the end, each tool’s parameter schema behind Parameters, and readable times.
  • Route what the user says after each turn showed as ticked while memory routing was off; it now shows only when a router is chosen.
  • An empty model reply (no text and no tool call, as small local models sometimes give) is asked again once, with a note telling the model to answer; the note goes with that request only and is never stored. Both attempts are traced as model calls. A second empty reply is still the empty_response error. Streams now retry an empty reply that began with an empty text delta, and without the back-off wait.
  • An embedding provider’s API key no longer appears in the provider details logged when a memory store starts.
  • Memory routing for an agent’s own writes: memory_routing= on MemAgent, with_memory_routing() on the agent and the builder, and saved with the agent.
    • After each turn, off the reply path, the user’s message is routed: facts about the user or a named person or thing go to entity memory (extracted by the background model, each resting on the user’s words), policies and reference facts to the knowledge base, nothing for small talk. A message that is a request and states a fact is filed for the fact. The chat model is told facts are saved for it, so it stops calling entity_memory_upsert for them.
    • agent.remember(text) files one memory where it belongs and returns a receipt, and the model gets a remember tool for facts it finds.
    • Routers: "openai_decisions" (OpenAI’s Decisions API with gpt-6-luna; no training, about $0.00005 a memory), "llm" (the background model), "finetuned", or "auto" (a fine-tuned router, else Decisions with an OpenAI key, else the background model).
    • A sealed conversation never writes to shared stores; its facts stay in its own entity scope.
  • An agent’s own reranker: reranker= / with_reranker() with Voyage (rerank-2.5, rerank-2.5-lite), Cohere (rerank-v3.5), OpenAI Decisions (gpt-6-luna), a fine-tuned run, or "off". Without one the agent follows the store’s reranker as before. Hosted rerankers were only available in benchmarks.
  • MCP searches and memory_type="auto" writes in a memory an agent owns use that agent’s reranker and router.
  • The agent form’s Model section has a Memory models group: the background model, the reranker and memory routing, with the hosted and fine-tuned options this store has. The Playground’s How this agent remembers, the form’s summary and its Python code show both.
  • Each reranked candidate’s score is in the memory selection trace (rerank_score).
  • Agent templates on the local UI’s create page. Use template fills in the form, which you review before saving; a template’s MCP connections are attached when the agent is saved.
    • Built in: personal productivity assistant, personal finance assistant, research assistant, customer support agent (sealed conversations), writing partner and study coach.
    • Your own: Save as template on the create and edit forms keeps the form’s settings as a template, stored privately in $MEMORIZZ_HOME/agent-templates/. Memory IDs, delegates, file paths and any key or token in the LLM config are left out.
    • In code: memorizz.memagent.templates adds save_user_template(), load_user_templates(), delete_user_template() and AgentTemplate.form_values(); get_template() finds saved templates too.
  • The create and edit forms have an overview beside them: section navigation with what each section sets, a configuration summary, and the agent as Python SDK code to copy.
  • /models in the CLI, with no model named, offers a picker for OpenAI, Anthropic and the other cloud providers too: the same models as the local UI, then any newer ones the provider lists for your key. It listed only installed Ollama models.
  • The agent form is grouped into Identity, Model, Persona, Memory, Learning, Tools & integrations, Runtime & orchestration, and Automations & channels. Save stays in reach at the bottom of the window. LLM configuration is now Model. Field names are unchanged, so scripts that post the form keep working.
  • The UI’s model list and defaults move to memorizz.llms.model_catalog, shared with the CLI; memorizz.ui.helpers still exports them.
  • The model picker lists current models: GPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna, the GPT-5.6 family, and Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1. Deprecated models are gone from the list but still work as a custom model. New agents default to gpt-6.1-sol on OpenAI and claude-opus-5-5 on Anthropic.
  • The CLI’s default models are the same as the UI’s: claude-opus-5-5 with an Anthropic key, gpt-6.1-sol with an OpenAI key, and the gpt-5 deployment on Azure. They were claude-sonnet-4-5-20250929, gpt-4o-mini and gpt-4o. MEMORIZZ_DEFAULT_LLM_MODEL and --model still override them.
  • In-page confirmations (deleting runs and templates) open centred instead of in the top-left corner.
  • Claude Haiku 5.5 usage is priced: $0.10 input, $0.01 cache reads and $0.50 output per million tokens, and five times every rate for a request whose prompt (cache reads and writes included) is over 100,000 tokens. It showed as unpriced in usage, and harness comparisons left it out. Claude Sonnet 5.5 is priced in harness comparisons too.
  • Claude Sonnet 5.5 cache reads cost $0.10 per million tokens (0.05x input); usage priced them at $0.20.
  • The one-hour cache-write rate in harness comparisons now takes a model’s long-prompt multiplier, like the other rates.
  • retrieval_policy="thread" (RetrievalPolicy.from_value("thread")) also turned knowledge-base recall off. It now narrows conversation recall only. Agents saved with "thread" before this fix still have knowledge_base_scope="disabled" in their stored policy; set it to "memory" to recall their knowledge base again.
  • With the learning control plane on, the evidence pack ignored the agent’s RetrievalPolicy: conversation evidence always came from the current thread only, RetrievalPolicy.disabled() did not turn recall off, and knowledge-base namespaces were not applied. The evidence pack now follows the policy, so an agent with the default conversation_scope="memory" recalls every thread of its memory there too, as it does without the control plane.
  • Sealed threads: RetrievalPolicy.sealed() (or "sealed") keeps everything a user said in one conversation out of the others, in both directions.

    • Recall: a sealed thread recalls only its own conversation, summaries and entity facts.
    • What it writes: its conversation rows and summaries are marked retention_state="sealed", so other threads never recall them.
    • Cache and persona: the semantic cache only reuses the thread’s own answers, and the shared persona is read-only there.

    The new entity_scope field (memory, thread, disabled) sets where entity facts live on its own. Restoring a suppressed row now returns it to the state it had before (a sealed row stays sealed).

  • run(), run_stream() and run_stream_events() take retrieval_policy= for one call. The agent’s own policy, and what save() writes, are unchanged, and concurrent calls keep their own.

  • The memory_context trace has semantic_source_counts, splitting semantic_memories into knowledge_base and conversation.

  • agent.describe_memory() lists:

    • the active memory types;
    • whether entity memory is on;
    • the memory tools the model can call;
    • the retrieval policy;
    • the background model;
    • the consolidation schedule.

    The agent logs the same at INFO when it is built.

  • A background model for memory upkeep: background_llm_config= or with_background_model(), on the agent and the builder.

    • What runs on it: summaries, context compaction, reflection, LLM importance ratings, skill distillation and memory consolidation. Replies keep the agent’s model.
    • Saving: the model’s config is saved with the agent, without its API key.
    • Where to set it: the CLI’s /background-model, or the Background model picker under LLM configuration in the local UI’s agent form.
  • Memory consolidation, MemoRizz’s form of sleep-time compute or “dreaming”.

    • What a pass does:
      • merges duplicate entities;
      • hides duplicate summaries, and optionally duplicate knowledge-base chunks;
      • on the background model, retires the older of two facts about the same thing, and merges one person stored under two names when the records share at least two facts;
      • adds facts the user stated in recent conversations but the agent never stored, each quoting the user’s words.
    • How it runs:
      • by hand: agent.plan_memory_consolidation() makes a dry-run plan, apply_memory_consolidation(plan, approved_by=...) applies it, and restore_memory_consolidation(plan_id, ...) undoes it;
      • on a schedule: with_memory_consolidation(every_n_turns=20, every_hours=24), off the turn;
      • from the command line: /consolidate in the CLI, and memorizz learning consolidate / consolidation-restore.
    • Nothing is deleted. See the new Memory consolidation guide.
  • EntityMemory.retire_attributes() and restore_consolidation(). consolidate_duplicate_entities() takes provenance= (the plan id), and a merge records what the surviving record held, so undoing it is exact.

  • Local UI:

    • Learning control plane: a Memory consolidation panel. Plan a pass for one memory and user, review each change with the quote it rests on, apply it with an approver, see applied plans and undo them, and open plans the background schedule left for review.
    • Agent form: a Background model picker under LLM configuration. Conversation privacy and memory upkeep has the seal, where entity facts live, and the consolidation schedule.
    • Playground: the Memory tab has How this agent remembers. A turn’s Memory supplied trace reads as plain counts, with semantic recall split into knowledge base and conversations.
    • Memory evolution: consolidation and forgetting changes are labelled with what they did, name their plan, and have their own Change filter options.
  • /connect [notion|gmail|google-calendar|server] in the CLI chat.

    • Without a name (or as /mcp), it lists what the agent can reach and how to connect the rest.
    • With one, it attaches that connector to the agent and opens the sign-in in the browser. The agent gets the tools as soon as you allow access.
    • When a request needs something the agent isn’t connected to, such as “search my Notion”, the CLI offers to connect it after the answer.

    Gmail and Google Calendar need your own Google OAuth client first; the command explains that step.

  • /name [new name] (or /rename) shows or changes the agent’s name in the CLI. In the local UI, click the name at the top of the playground chat to rename the agent.

  • Delegates show their work while they run.

    • CLI: each delegate gets a line when it starts and when it ends, with how long it took or why it failed. A harness delegate’s commands and output print in between, under its name.
    • Local UI: each delegate has a row in the reply with its name and harness, what it is doing now, how long it has worked, and how it ended. A harness delegate’s row links to its run and has a live log.
    • Stream: a coordinator’s delegates are tool.started and tool.completed steps with a delegate:<task> span_id, and their progress events carry the same span_id. A failed delegate’s step carries a reason_code. MemAgent delegates report their steps too, not only harness delegates.
  • The playground follows CLI turns live. A turn you run in the CLI with the same agent appears in the open playground as it streams: the question (marked “Sent from the CLI”), the tools it uses, and the answer as it is written. A turn in another conversation shows a notice with a button to open it. The CLI writes running turns to ~/.memorizz/live/ and removes them after an hour.

  • The local UI’s connect page lists the FileSystem stores on this computer with their agent counts: the CLI’s store and any other folder under ~/.memorizz that holds agents. When no other backend is configured and the CLI’s store has agents, the page starts on FileSystem with that path filled in.

  • Context compaction that the next turn would need now runs on the background worker after the turn that brought the thread near compact_at, so the next turn no longer waits for it before its first token (it waits only if that compaction is still running).
  • Reflection (MEMORIZZ_REFLECTION_ENABLED) runs after the turn returns, and its trace says Reflection scheduled. agent.wait_for_memory_upkeep() waits for it, and close() drains it (memory_upkeep_close_timeout, 60 s).
  • Continual learning keeps distilling on the agent’s current model when the model is swapped, unless a background model is set. It used to keep the model it was built with.
  • Memory upkeep is shared by every instance of one agent on one provider in a process: the consolidation schedule, plans waiting for review, the reflection counters and the background compaction a turn waits for. This matters for servers that load the agent per request, such as the local UI.
  • retrieval_policy= for one call: a scope string ("sealed", "thread") changes only those scopes and keeps the agent’s scoring, retention and namespaces. A RetrievalPolicy or dict still replaces the policy for the call.
  • An MCP sign-in started from the terminal (memorizz mcp login, /connect) finishes on its own when you allow access. If port 8765 is free, the CLI receives the callback itself; if the local UI is running there, the UI passes the callback back to the terminal. Only a UI older than this release still needs the address pasted into the terminal.
  • When the agent lacks a capability, the prompt now says it can be connected. The model says the capability isn’t set up yet, instead of saying it is impossible.
  • /history in the CLI prints the current conversation in full: every question after the prompt and every answer as Markdown, with the tools an answer used on one line. It printed the last 20 entries cut to 200 characters, with stored tool results as raw JSON.
  • Resuming a conversation with /conversations replays its last 30 messages in the terminal, the same way, before the prompt returns.
  • A tool registered for one user (Toolbox.from_functions(..., user_id=...)) lost its owner when the agent was saved, so every user of the agent could see it. Saving rewrote the agent’s toolbox rows as ownerless <agent_id>:<tool> copies, which the 0.17.1 sharing rule treats as agent-wide. Saving now rewrites only those copies of the agent’s own tools and leaves a tool the agent already has a row for, with its owner, as it is, on every provider. Rows already rewritten by 0.17.1 have lost their owner: register those tools again with their user_id.
  • KnowledgeBase.delete_knowledge(id) returns False when the id matches nothing (it returned True).
  • Reloading an agent built with continual learning no longer logs a warning that its memory types omit workflow_memory: saving leaves out the types continual learning turns on, so every reload turned them on again with a warning. It is an info message now.

0.17.0 was tagged but never published (a release check failed); 0.17.1 is that release, with the fixes below for issues reported on 0.16.6.

  • Desktop control (computer use) on macOS: memorizz desktop connect | doctor | serve, with the new memorizz[desktop] extra. A local MCP server lets an agent open, read and operate Mac apps through Accessibility. list_apps and read_window (a window as a numbered outline of its buttons, fields and text) never ask; open_app, click, type_text, press_keys and scroll wait for approval unless the connection is saved with --no-approval. Buttons are pressed through Accessibility and keys, text and scrolling are posted to the app’s process, so actions reach apps behind other windows and never take the user’s focus. The last read is kept in ~/.memorizz/desktop/last-read.json, and each element is found again and checked before an action runs. doctor names the app macOS asks about and checks Accessibility and Screen Recording (--ask shows macOS’s prompts). See the Desktop Control guide.
  • Desktop runs are kept as workflow (procedural) memory: one record per task, also across approval pauses, with each step’s arguments and the window it read. With Screen Recording allowed, each step also saves a screenshot of the window under ~/.memorizz/desktop/screenshots/, named in the step’s result (--no-screenshots turns this off).
  • MCP tools are stored in toolbox memory: one record per tool, with an embedding of its name, description and argument names, and a catalog record per server holding each tool’s fingerprint. The index is synced in the background whenever a server’s tools are listed. Only changed tools are embedded again, tools a server stops listing are removed, a new embedding model embeds them all again, an empty listing never removes anything, and disconnecting a server removes its tools. Saving the agent keeps them.
  • Tools are routed by meaning: progressive disclosure ranks MCP tools semantically first, and clear keyword matches only fill the slots left. Keyword matches used to push out better picks (gemma4 chose notion-list-page-backlinks over notion-search). A tool’s whole name in the request counts for more than scattered words. CLI agents, which had no toolbox, now search the stored tools too, and the filesystem provider embeds toolbox records on first search and ranks them per agent.
  • An agent connected to MCP servers keeps every tool-calling run as workflow memory, unless it was configured with no memory types. Memory types turned on for a run this way, or by continual learning from the environment, are not saved on the agent.
  • MemAgentBuilder.with_knowledge_base(ids) attaches knowledge bases by the ids ingest_knowledge returns; build_and_save() keeps them.
  • last_memory_context_evidence() counts the evidence pack, where recall happens once continual learning is on: source_counts["evidence_items"], evidence_source_counts (per source), evidence_refs (hashed), and the pack’s candidates and picks in the retrieved counts. It used to show only the older retrieval path, so recall looked empty.
  • A warning, once per agent, when knowledge bases are attached but knowledge_base is not one of the agent’s memory types, so only knowledge_base_lookup could reach them.
  • Oracle migrations 010 (persona goals, version and evolution history), 011 (knowledge-base supersede lifecycle, short-term memory metadata, a cached answer’s last use), 012 (UTC column defaults) and 013 (one-off conversion of older local-time values, run by hand; see Upgrade notes).
  • Every timestamp is stored in UTC, on every provider, and every time is compared in UTC. Values stored without a zone by earlier releases are read the way their writer meant them: conversation, tool-log, knowledge-base, workflow and skill times as local time, entity and filesystem defaults as UTC. Oracle writes SYS_EXTRACT_UTC(SYSTIMESTAMP).
  • One sharing rule across providers: knowledge bases, skills and tools stored without a user are shared by every user of the agent, and anything stored for a user stays that user’s. Conversations, entities, summaries, workflows and cached answers stay strictly per user.
  • delete_memory(), like a cascade delete, keeps memory that another agent still uses.
  • RetrievalPolicy(knowledge_base_scope="namespace") with no namespaces recalls from every namespace of the attached knowledge bases and logs a warning, instead of finding nothing.
  • The per-turn list of recent tool outputs leaves out MemoRizz’s own memory tools (entity, persona, summary and tool-log tools) and still shows up to ten real calls. On one reported workload, entity upserts with their ids and storage flags were 74% of that list’s tokens. Its docstring now says where it goes: the memory block of the final user message, not the system prompt.
  • Recalled entities in the evidence pack read as their facts, Ada (person): role = CTO; cutover = Friday, keeping the most confident value of each attribute, without confidence, source and timestamps. A six-fact entity takes 52 tokens instead of 334.
  • Rebuilding a named agent (build_and_save() with the same name, which gives the same agent id) keeps the knowledge bases attached to the stored agent, unless the builder calls with_knowledge_base(...); with_knowledge_base([]) detaches them. Rebuilds used to detach them silently.
  • Notion and other OAuth sign-ins no longer fail with “Request ‘initialize’ timed out” after consent: the connection now waits up to ten minutes while you sign in, in the CLI and the UI. memorizz mcp add before the first chat gives the new agent the tool listings it cached.
  • Saving and reloading agents:
    • A reloaded agent no longer rewrites its whole record on its first run, so automations, meta-harness settings and unsaved Playground edits survive.
    • Changes to a tool’s description in code now reach saved agents, which kept the description from when they were first stored.
    • A saved tool with no code behind it (a built-in that is now off, a function from another process) is dropped instead of blocking the real tool or failing every call.
    • Persona goals and version, the entity-memory switch, WhatsApp settings and the embedding configuration are saved; refresh() reloads every setting; an agent made stateless reloads stateless.
  • Oracle:
    • Semantic-cache expiry was stored in UTC but compared in the session’s time zone, so short TTLs expired at once; cached answers also keep their real age.
    • Every model setting is kept (base_url, Azure deployments, the Ollama host), as are completion policy and WhatsApp settings. Removed tools stay removed, and listing agents returns their full details.
    • Re-ingesting an unchanged file no longer duplicates its chunks, superseding a knowledge record works, and knowledge metadata reads back on schemas restored from an archive.
    • Session summaries with ISO period times save (ORA-01722).
  • Scope and deletion:
    • RetrievalPolicy(knowledge_base_scope="namespace") found nothing, because knowledge rows carry the knowledge base’s id as their memory id.
    • delete_memory() deletes, and reports a failure as one.
    • /ingest attaches the knowledge base to the agent.
    • Learning evidence finds knowledge-base records and skills.
    • Clearing one user’s semantic cache leaves other users’ entries alone, and skills no longer cross users.
  • Automations: in the hour repeated when clocks go back, a cron job could run twice.
  • On installs without FAISS, toolbox search ignored the agent, so another agent’s identical MCP tool records could push out this agent’s own tools.
  • Docs: tool_top_k and sticky_tool_limit have no effect while every tool schema fits in stable_tool_list_tokens (all tools are sent, by design); workflows are captured only where workflow_memory is active, which the builder’s default assistant mode leaves out until continual learning or an MCP connection adds it; MemAgent.load(agent_id, tools=[...]) restores governed tools with their policies, since tool code is never stored.
  • Oracle: migrations 010–012 are applied at startup (012 needs the application user to be allowed to ALTER the tables; otherwise run the file). Migration 013 converts timestamps written by earlier releases from local time to UTC and never runs on its own: set source_tz in the file and run it once by hand, ideally before this release first writes. Until then, older rows read as off by that machine’s UTC offset.
  • MongoDB Atlas: the knowledge-base, workflow and summary vector indexes gain filter paths, so Atlas rebuilds them once.
  • Workflows that earlier releases stored under the wrong user are left as they are.
  • Memory types lists Workflows (/memory/workflow-memory) and Skillbox (/memory/skillbox): the stored workflow and skill records, browsed like every other memory type. Continual learning keeps its trajectory and learned-skill views. The trajectory view no longer fails on workflows stored with list-shaped steps, tool-name signatures or a {"status": ...} outcome (which counted as a failure).
  • Fine-tuning (memorizz.finetune, memorizz finetune, nine MCP tools, and the UI’s Continual learning → Fine-tuning page): train decision models (the System One contract of Jev, Clef and pplx-decider: a state plus typed choice/noul/score questions, answered with calibrated probabilities), embedding models and rerankers on your memory. Tasks: memory routing (which memory store a piece of state belongs in, or none), relevance (rerank by P(true)), custom decisions, memory retrieval and memory reranking. Datasets, examples and run records are held in the connected memory provider (filesystem, MongoDB, Oracle).
  • Synthetic training data written by a teacher LLM on a balanced plan of labels, case types and hard phenomena, kept only when a blind second check agrees (the teacher, another LLM, or Jev via TYPESAFE_API_KEY, eight items per request); short labels are topped up; retrieval pairs with hard negatives from your memories or a topic. Stored memories import as routing examples labelled by store. Everything is reviewed before training.
  • Training on this machine (Apple GPU in bf16, CUDA or CPU) with LoRA: decision models on an embedding backbone (JevEmbed: EmbeddingGemma 2, Qwen3-Embedding) or a small LM reading option letters (Qwen3-0.6B), embeddings with MultipleNegativesRankingLoss (+ Matryoshka for EmbeddingGemma), rerankers with binary cross-entropy. Every run is scored on held-out examples before and after, calibrated, and streams its loss and validation metrics live. Unsloth trains small-LM decision models on NVIDIA GPUs; elsewhere an Unsloth bundle (typed-decisions data + script) runs on Colab. New extra: memorizz[finetune].
  • Continual training: a run can continue from an earlier run’s model (from_run), replay a share of earlier datasets’ training examples (replay), and generation can target the options a model gets wrong (labels). evaluate scores any version (a run, an untrained base model, or Jev zero-shot) on any dataset’s examples and keeps the result in the memory provider; the UI’s “Across versions” table and memorizz finetune history show what each round gained and kept. A dataset can be marked a test set (update_dataset(test_set=True)): it is then only scored on, never trained on or replayed. Runs are numbered per job (v1, v2, …, with “from v1 + replay”), and can be named (rename_run).
  • Putting fine-tuned models to work: the Fine-tuning page opens on Models in use cards that compare the best fine-tuned version with what is in use now and its untrained base on the same test examples, scored exactly as training scores a run (so a card and the run’s own before/after agree), say whether fine-tuning helped, and swap it in or back with one click (also ft.overview(), ft.compare(), ft.verdict(), ft.swap(), ft.swap_back(), memorizz finetune models | compare | swap | swap-back). When another fine-tuned version is in use, a version is compared with it. Embedding models and rerankers are put to work only by swapping; activate records decision models (routing, relevance).
    • A verdict says “helped” (or “worse”) only when a paired test says the difference is unlikely to be chance (p < 0.05: McNemar’s exact test on right/wrong answers, a sign-flip randomisation test on nDCG per question); otherwise it says the difference could be chance. Every score keeps each example’s result for this. Training and the UI’s comparisons share one scoring module, and the base model’s “before” is calibrated like the trained model’s “after”. A comparison pools every fixed test set both models were scored on (never examples they trained on), so a gain on one set and a loss on another both show.
    • A Model registry page (/fine-tuning/models, ft.registry()) lists every model per job: what runs now, each fine-tuned version as a family tree with its data, training result, fixed-set scores and size, failed runs with their errors, and the base models to start from (and whether they are downloaded). A version in use cannot be deleted.
    • Every finished run shows how it trained: its loss per step (raw and smoothed, log scale, epoch boundaries), its validation score each epoch, its test score before and after, and plain-words convergence notes (still falling, levelled off, validation peaked: may be overfitting) (ft.curves(run_id)). Embedding and reranker runs now score validation each epoch too. The registry overlays versions of one job (loss by % of training, validation by epoch).
    • The data it trained on: each run’s own snapshot by split and label, what was replayed from which dataset, what has changed in the dataset since, filterable and paged (ft.run_data(run_id)).
    • Speed: Measure speed times a version doing what it does in use (route one memory, embed one query, rerank one query’s 10 memories) next to what it would replace, each loaded the way the store loads it, without the result cache, after a warm-up pass: median and p95 per call, kept with the run and shown on its card and in the registry (ft.speed(run_id)). A fine-tuned version is the size of its base, so only what runs changes speed.
    • Routers embed their options once per model instead of on every memory routed (about 3x faster per memory on Qwen3-Embedding-0.6B).
    • Swap in first shows what the swap touches: the memory store, its agents, where the setting is saved, and the other MemoRizz processes on the same store, which must restart (or, for embeddings, use the same model) to stay correct. Processes record their store and models in a temp-folder registry; older ones connected to the same database server are flagged (ft.swap_impact()).
    • Per-agent routers and rerankers: an agent can use its own fine-tuned version, or none, while others follow the store’s choice (ft.set_agent_model(), Model registry → Per-agent choices). Embeddings stay one model per store.
    • The page groups datasets by job and walks each through Data, Train and Results (the card’s verdict with Swap in, a plain-words training report, where the model goes wrong with a button to generate more for those options, and every version on the same sets), with the question and model input format under Advanced.
    • Memory routing: memorizz_store_memory accepts memory_type: "auto" and files the memory where the active router says (or skips it as do_not_store), recording the router’s answer; MEMORIZZ_ROUTING_MIN_CONFIDENCE sets the confidence below which it uses the default store.
    • Embeddings: a swap re-embeds every store beside its live vectors (Oracle shadow columns renamed into place, filesystem sidecar files, a MongoDB staging collection), catches up with memories written or edited meanwhile, then switches at once; a failure before the switch changes nothing. The replaced vectors are kept, so swap back reuses them and re-embeds only what changed. A fixed-size store keeps its size by default (Matryoshka cut for EmbeddingGemma and Qwen3-Embedding); an Oracle store can change to the model’s full size (ft.embedding_plan(), ft.swap(..., dimensions=), memorizz finetune plan, --dimensions, a size choice in the swap dialog). An Oracle vector index is rebuilt on the new vectors before the switch. Cards and Compare score an embedding model at the size the swap would store.
    • Reranking: MEMORIZZ_RERANKER_MODEL (a cross-encoder or a relevance decision model) rescores the candidates an agent’s recall and memorizz_search_memories find.
    • evaluate scores embedding and reranker models too, including the embedding model in use now (in_use=True, --in-use).
  • Chat: a harness picked for one session (/harness codex) was saved on the agent after the first turn, so every later session ran on that harness and /harness off could not undo it. Saves now keep the agent’s own harness settings. /harness off runs the session natively even when the saved agent itself uses a harness (and says how to change the saved agent), and the prompt shows a saved agent’s harness from the start (memorizz·codex>).
  • Fine-tuning: listing datasets read every example on each page load; listings are now cached (cleared by any write of the same kind, and refreshed in the background), so the page stays fast with tens of thousands of examples.
  • Fine-tuning metrics: tied ranking scores were credited to the right answer (they now count at their expected value), queries with no wrong candidate counted as perfect (they are now left out), and a Jev call that returned nothing counted as choosing the first option (it now counts as wrong).
  • Fine-tuning: a small-LM decision model cut long prompts from the end, where the options and the answer slot are; long states are now shortened instead. Examples written together could straddle train and test; they now stay in one split.
  • Oracle: requests could freeze the UI for good (0% CPU, every request waiting). Rows were decoded after their pooled connection was released, and reading a CLOB then waited for that connection while another request held it. Pooled connections now fetch CLOBs as text and BLOBs as bytes with the rows, which also saves a round trip per value.
  • Searches embed the query as a query: asymmetric embedding models (EmbeddingGemma, Qwen3-Embedding, Voyage, fine-tuned models) used their document prompt for queries. Query and document vectors are cached apart.
  • The CLI and MCP server kept only the embedding provider from MEMORIZZ_DEFAULT_EMBEDDING_* and used its default model; they now use the configured model and size.
  • Oracle: deleting a shared-memory row by its id (fine-tuning and learning records) removed nothing.
  • Fine-tuning: examples made from a conversation’s memories all shared one group, so nearly all landed in training; runs now hold out at least a tenth of a dataset.
  • Fine-tuning: start_run(detach=False) trained inside the calling process, where FAISS’s OpenMP crashes PyTorch on macOS; it now waits for the worker process (in_process=True keeps the old behaviour). Deleting a dataset also deletes its evaluations.
  • Oracle: re-embedding skills (update_by_id with an embedding) was silently ignored.
  • macOS: the FileSystem store’s FAISS and PyTorch (local Hugging Face embedding models, fine-tuning) each load an OpenMP runtime, and a process using both aborted. MemoRizz now lets both load (KMP_DUPLICATE_LIB_OK, unless you set it) and keeps FAISS on one thread.
  • Fine-tuning: holding out examples from a dataset marked all “train” could leave fewer than eight to train on; it now falls back to a per-label split.
  • Interactive CLI: Claude Code, DeepSeek, pi and Hermes stream their answer and reasoning into the chat word by word while they write (Claude Code now runs with --include-partial-messages), and a harness’s latest message shows the moment it is complete instead of waiting for its next step. Codex delivers whole messages (codex exec streams nothing in between) and stays on exec for its isolation. The pieces reach the terminal through an in-process channel (memorizz.metaharness.live) and are never stored; the run’s record keeps whole messages as before.
  • Interactive CLI: a command’s output shows its first and last lines (… N more lines between) instead of only the first three, and messages up to 20 lines print whole.
  • Interactive CLI: output of commands a harness runs in parallel printed under whichever command started last; each command’s line is repeated above its output when other lines came between.
  • Interactive CLI: a Claude Code tool result showed its raw record ({"type": "text", "file": ...}) instead of the tool’s output.
  • Interactive CLI: the input sits between two rules, Claude Code style (green while turns run on a harness), with the status bar right under it instead of pinned to the bottom of the terminal and the completion menu opening inside the frame. Sent lines stay in the scrollback as memorizz> <line>; no frame on a dumb terminal.
  • Interactive CLI: colour by kind of command (agents blue, harnesses green, memory amber, models violet, the rest pink) in the status bar, the / completion menu (now dark, the selected command in its colour), /menu and /help; the model in use is coloured by its provider in the status bar, the banner and /menu. Pickers render in true colour when the terminal supports it.
  • Interactive CLI: a turn on a harness shows the harness’s own output as it works (its messages, each command with the first lines of its output and a failing exit code, tool calls with their arguments, file edits) above a status line with a running clock (Codex is working (gpt-6.1-sol) · 4s), instead of “preparing” until the answer arrives. Delegates’ harness runs and the run_harness_task tool show it too, each line naming its harness. memorizz run --harness ... and memorizz harness run print the same feed to stderr (not with --json).
  • Interactive CLI: /compare shows each harness’s own output while the harnesses work, every line naming its harness, and each harness’s answer in full when it finishes (the verdict table clips long answers). memorizz harness compare and memorizz harness plan print the same output to stderr (not with --json).
  • Streams: every harness run inside a streamed reply reports its progress as harness_running and harness_activity status events (kind of work only, no command text or reasoning). In-process consumers can receive the run’s full redacted ledger events through harness_event_listener.
  • Interactive CLI: keys pressed while a turn streams or a command loads (an arrow while /harnesses checks the harnesses, say) no longer echo as ^[[B over the output; they wait for the next prompt or picker.
  • Interactive CLI: /harnesses, /harness <name> and /harness model show a spinner while they check the harness CLIs (2–3 s) instead of a silent pause.
  • Interactive CLI: /conversations list printed nothing useful: it opened the picker searching for the word “list”. It now prints the list, like /agents list and /sessions list, as does /conversations without a terminal or with MEMORIZZ_NO_PICKER=1.
  • Interactive CLI: /compare ... memagent=<agent-id> announced the saved agent it would run but ran the chat’s own agent instead (which could then hand the task to its own Codex delegate, so a “codex vs memagent” comparison was really codex vs codex). The memagent step now runs the agent the comparison names.
  • Delegation: a harness-backed delegate’s run reported nothing to the reply stream while it worked (its worker hides the stream so its text cannot leak into the answer). Its progress now reaches the user through a status-only progress_stream.
  • Interactive CLI: the chat’s model is carried over to a harness when the harness can run it; /harness <name> <model> and /harness model [name] choose the model (with a picker over the harness’s catalogue), the switch message and the status bar show the model that will answer, and /harnesses lists each harness’s default model.
  • Memory history: saving an agent that has a persona logged “Memory history preparation failed … Unable to serialize unknown type: Persona” and skipped the journal entry (it also lost the agent’s previous version, so updates were journalled as creations). The journal now stores the persona as the providers do. It surfaced in the chat after /harnesses, which switches on history recording.
  • Interactive CLI: terminal focus reports (sent when you click back into the window) were read as the Esc key, so pickers closed with “No change.” on their own and the prompt could gain a stray “[I”. They are now ignored.
  • Interactive CLI: /session <run> [N] shows one recorded Codex or Claude Code session inside the chat (header, last N turns, tool activity counted between turns), taking the short run id /sessions prints. The sessions table fits narrow terminals. memorizz harness show and harness events accept a unique run-id prefix.

  • Interactive CLI pickers: /agents, /harnesses, /sessions, /models and /menu open an arrow-key list (type to filter, Enter to choose, Esc to cancel) and act on the choice; list after the command, no terminal, or MEMORIZZ_NO_PICKER=1 prints the plain list.

  • The memory history warning “preparation failed; proceeding with the write” now names the exception.

  • Update notices: the chat re-checks PyPI every ten minutes instead of once a day (a same-day release could go unannounced until the next day), shows a found update in the banner and in the status bar under the prompt until you upgrade, and /update checks right away and prints the upgrade command for your installer.
  • Interactive CLI: /sessions [codex|claude-code] [N] lists the Codex and Claude Code sessions the MemoRizz plugins recorded (agent, project memory, turns, folder, opening prompt, run id), and /memory project [path] switches the chat to a folder’s project memory, the one the plugins write to, so questions about recent coding-agent work retrieve their turns.
  • Interactive CLI look and feel: a crest animation on startup (skipped off a colour terminal or with MEMORIZZ_NO_ANIMATION=1), a status bar under the prompt (provider and model, active memory, active harness, hotkeys), a coloured prompt, arrow-key shortcuts on an empty line (← agents, → harnesses, ↓ quick actions) and a /menu of the most used commands.
  • Filesystem provider: a store written by two embedding models (a plugin’s MCP server and the chat, for example) no longer aborts vector search with “all input arrays must have the same shape”; the FAISS index is kept per embedding size and a query searches the rows embedded at its own size.
  • Memory evolution and historical context: Playground → Memory → Memory evolution shows a scrollable timeline of creations, corrections, deletions and explicit source relationships with the actor, originating source, changed fields, version hashes and run identifiers of each change, filters by memory type, actor or change, and paging that keeps loaded history. It is backed by a provider-neutral memory history journal (opt-in for SDK providers, on for the UI and MCP host) and by context snapshots captured at the model boundary, so the Context tab replays the exact request of a past turn (capture_context_snapshots=True for standalone SDK agents). Forgetting decisions appear on the same timeline. See the Memory evolution guide.
  • Memory archive v1, export and import: a portable .memorizz.json archive ("format": "memorizz.memory", version 1) exports and restores a memory graph through the UI (Memory types → Export & import), the SDK, the CLI, the MCP server and the Codex and Claude Code plugins (/export-memory, /import-memory and the memory-transfer skill). Filesystem, MongoDB, Oracle and Notion implement archive storage; agent exports carry delegates, their private namespaces, owned shared records and evolution/context records. One redaction engine now scrubs credentials across MCP traffic, harness reports, archives, the UI and the observability validator. See the Memory archive format and Export and import memory guides.
  • Benchmark comparisons can rerank with the OpenAI Decisions API through a typed client that never executes actions or tools, using the paired question recipes shared with Jev.
  • Sandbox, internet-access and browser-control providers are built from one name-keyed provider registry.
  • Forgetting mechanism modelled on Generative Agents: retrieval now scores memories by recency since last access, stored importance and relevance (each min-max normalised, equal weights by default), reinforces memories when they are selected into a prompt, and rates importance at store time (heuristic, model-rated or off). A governed retention planner lists primary memories whose retention decayed, applies an approved plan as reversible suppression (never deletion), and can restore any record. Available from the SDK (plan_retention, apply_retention, unsuppress_memory), the CLI (memorizz learning retention-plan|retention-apply|suppressed|unsuppress), the Learning control plane page, a new Forgetting mechanism section on the Settings page and per-agent overrides in the agent form. See the Forgetting mechanism guide.
  • Provider contract: touch_many records recalls, purge_expired_semantic_cache removes expired cache rows; Oracle persists importance, last access, recall counts and retention state.
  • Interactive CLI harness routing: /harnesses lists the external harnesses and their readiness, /harness <codex|claude-code|...|auto|off> runs the following turns on that harness with MemoRizz memory, tracing and approvals (session only; off restores the saved agent), the prompt shows the active harness, and approvals raised by a harness turn are printed inline. memorizz chat --harness and memorizz run --harness set it at launch. /harness delegate keeps the agent’s model in charge with its harness delegates and the run_harness_task tool; /compare <harness> <harness> <task> runs a read-only comparison from the prompt and saves it as a workflow.
  • The interactive CLI now uses /models to show the current model, list installed Ollama models or switch models. Help, Tab completion and model suggestions use the plural command; /model remains a compatibility alias.
  • Reapplying an empty MCP configuration at CLI startup no longer prints “Tool not found for removal” warnings for helpers that were never registered. Repeated cleanup also tolerates MCP tools removed individually.

  • Slash-command help now displays optional arguments such as [name] literally instead of interpreting them as console formatting.

  • Security: the self-aware command tool could run arbitrary host commands through find -exec, git configuration flags or a script whose basename was allow-listed; it now resolves binaries from PATH, denies those flags and requires approval. Cross-origin form posts were accepted on every non-trace UI route; all state-changing routes now reject them (bearer-token clients and the signature-verified Twilio webhook excepted). Connected MCP tools without annotations were treated as read-only unless their name contained a known verb; they are now mutations unless a read verb, the server annotation or the host allowlist says otherwise. Internet-provider API keys are no longer written into agent records.

  • Data integrity: filesystem record ids can no longer escape the memory root; embedding-only updates keep the original timestamp (conversation order was being scrambled by the backfill); several processes on one filesystem root no longer overwrite each other’s index and read paths pick up other processes’ writes without a restart; MCP update_memory no longer persists the redacted view; deleting a knowledge base from one agent no longer deletes it for every agent; Oracle semantic-cache clear/invalidate were silent no-ops and summaries/entities could not be deleted by their exposed ids; MongoDB cascade delete now removes the agent and every memory type and by-id reads accept string ids.

  • Agent loop: provider errors are no longer stored as assistant replies or admitted to the semantic cache; an approval pause inside a multi-tool turn no longer drops sibling calls; the embedding backfill is drained on close; internet tools recover after a cool-down instead of locking out; compaction counts in-session rows; tool-log reads are scoped to the conversation; context-local state is created eagerly to avoid a first-use race.

  • UI and automations: blocking model pulls, Docker and dataset downloads no longer stall the event loop; the Twilio webhook works with UI auth enabled; “Run now” keeps paused automations paused and timed-out runs are neither retried while still running nor delivered twice; uploads are capped at 50 MiB.

  • Semantic cache: expired rows are purged, re-caching upserts by cache key, preload loads vectors on MongoDB and Oracle, hit counts increment.

  • Entity memory: model-supplied identity keys can no longer poison a tenant scope; name-only upserts converge on one record.

  • The capability report derives its MCP tool count from the registry.

  • WhatsApp: one E.164 normaliser is shared by every address handler.

  • Learning control-plane reads no longer scan the shared-memory partition on per-turn paths and use indexed observability queries where providers offer them; fleet pages read one row per conversation and no longer instantiate a full agent per row; Oracle conversation history, tool logs and start-up DDL use SQL limits and a single dictionary read; agent saves skip re-embedding unchanged tools; comparison runs throttle result rewrites.
  • Configurable LLM judging for agent harness answers: evaluate saved outputs or opt in when launching a run or comparison. The default is local Ollama qwen2.5:3b; choose another model or OpenAI/Anthropic, edit the evaluation prompt, supply reference evidence and set an accuracy target. Judgments keep their own cost and timing, survive session imports and become stale when the answer changes. Local evaluation never falls back to a paid provider.
  • Comparisons show judged accuracy, Most accurate (judge) badges and the cheapest/fastest answers meeting the target. Badges require comparable current judgments; scores estimate correctness from the supplied evidence.
  • Codex session cost estimates include current GPT-6 rate cards, cached writes, service tiers and long-context pricing, calculated per unique request rather than from cumulative session tokens.
  • npm-installed harnesses use their installation’s Node runtime for availability probes and execution. Failed probes show a diagnostic instead of a stack trace path as the version.
  • Starting a comparison reveals its approval queue or workflow, including the first comparison after a reload. Approver identity explains that it records the operator’s name or email and remembers it in the browser.
  • Official GPT-6 models use Responses by default for reasoning with function tools. Native MemAgent provider errors mark harness runs as failed and are never cached as successful answers.
  • Consolidated OpenAI Responses request options and harness browser fixtures, removed empty type-checking blocks, and added judge and approval navigation acceptance checks to the release browser gate.
  • Observability shows Codex and Claude Code plugin sessions as Codex sessions and Claude Code sessions instead of “Unregistered runtime traces”. Each thread links to the session’s run on Agent harnesses (/harnesses?run=<id> now opens a run). MemAgent-specific findings, such as “Trace ownership is not durable” and the advice to save the agent, and the usage, lineage and replay panels, no longer appear for them.
  • The Dashboard has a Coding-agent sessions panel, and Usage & cost a matching section by agent and model: sessions, turns, tokens and spend from the agents’ own logs, reported apart from MemoRizz’s agent runs.
  • Coding-agent sessions on the Harnesses page: the Codex and Claude Code plugins record each session as a run, read from the agent’s own session log after every turn. The run has its prompts, commands, tool calls (MemoRizz’s included), file changes, the memory the plugin loaded, tokens and cost, so the UI shows its trajectory and Compare puts a Codex and a Claude Code session side by side. memorizz plugin import-session adds past sessions; MEMORIZZ_PLUGIN_RUNS=false turns it off. Local stores only.
  • examples/coding_agent_plugins: Codex fixes a bug and saves why; Claude Code, in a new session, explains it from MemoRizz memory. Both sessions appear as runs (--ui adds them to your usual UI).
  • HarnessRunStore.replace(run, events) writes a run and all its events in one transaction.
  • Tool call cache: a MemAgent with tool_cache=True (or .with_tool_cache(), memorizz agents create --tool-cache, or Enable tool call cache in the UI) reuses the result of a repeated tool call while it is fresh.

    • What it caches: Python tools that opt in with @governed_tool(cacheable=True, cache_ttl_seconds=...) (only deterministic tools without side effects or approval can), and MCP tools their server marks read-only and idempotent. Failures are never stored.
    • Keys and freshness: the tool, its arguments, a fingerprint of the tool (code and schema, or MCP server), the user and, by default, the agent; 300 s by default, capped by domain freshness (MCP 300 s).
    • Visibility: hits appear on tool trace events, in agent.tool_cache_stats(), in UI trajectories (“from cache”) and in the harness Compare view, which also names each MemAgent lane by agent.
    • Measured: on eight support tickets with local qwen2.5:7b, real API calls fell from 8 to 4 and the queue from 36.6 s to 28.6 s, with 8 of 8 correct answers either way (examples/tool_cache/benchmark.py).
  • MemoRizz plugins for Codex and Claude Code (plugins/codex/memorizz, plugins/claude-code/memorizz):

    • What they add: MemoRizz’s MCP server (memory writes allowed) and skills for recalling, saving, correcting and curating memory and for using saved MemoRizz agents.
    • Episodic memory:
      • SessionStart gives the agent the project’s memory ID, the last session’s summary and its newest facts.
      • UserPromptSubmit keeps each prompt and, with MEMORIZZ_PROMPT_RECALL, adds related memories.
      • Stop saves each turn (request and final answer, secrets removed) to conversation memory. The save runs detached, so claude -p and codex exec exiting don’t cancel it.
      • PreCompact and SessionEnd summarize the session with MemoRizz’s default model, after any turn saves still running.
      • Turns go in thread codex-<session> / claude-code-<session>.
      • Off with MEMORIZZ_SESSION_CAPTURE=off; summaries alone with MEMORIZZ_SESSION_SUMMARY=false.
    • Claude Code extras: /memorizz:remember, /memorizz:recall, /memorizz:forget and /memorizz:memory-status, and a memory-curator subagent (also a skill in both plugins).
    • Shared memory: both agents use the same memory ID for a project (project-<folder>-<hash>), so what one learns the other recalls.
    • Hosted server: memorizz plugin install <agent> --remote URL [--token-env NAME] points the plugin’s tools and hooks at a hosted MemoRizz MCP server, with a per-person API key; --local switches back. deploy/mcp-server/ has a Dockerfile, a Compose file with Caddy for automatic HTTPS, and a guide.
    • Repository marketplaces: the repository is a marketplace for both agents (.agents/plugins/marketplace.json, .claude-plugin/marketplace.json).
    • Install commands: memorizz plugin install|uninstall codex|claude-code with --user, --no-capture, --no-summaries, --prompt-recall, --allow-agents, --allow-harness --harness-root, --allow-traces, --remote/--local (saved as settings memorizz config also sets); memorizz plugin memory-id; and memorizz plugin hook session-start|prompt|stop|summarize.
    • Packaging: the wheel ships both plugins.
  • memorizz.episodic_capture: record_turn() and summarize_thread(), used by the plugin hooks and the MCP server.

  • MCP server: memorizz_ingest chunks local files and folders into the knowledge base.

    • Where it reads: only inside MEMORIZZ_MCP_SERVER_INGEST_ROOTS / --ingest-root (default: home for stdio, none for HTTP).
    • What it skips: hidden, dependency and VCS folders, and files that look like secrets.
    • Cap: 500 files / 20 MB per call.
    • Ingesting again: unchanged files are skipped, and a changed file’s old chunks are superseded.
  • MCP server: memorizz_lookup_entities and memorizz_upsert_entity for entity memory.

  • MCP server: memorizz_update_memory replaces a memory without deleting it.

    • Records: the new record gets supersedes and supersede_reason; the old one gets status="superseded", superseded_by and superseded_at.
    • Duplicates: duplicate_of retires a duplicate in favour of an existing memory.
    • Defaults: list and search hide superseded records unless include_superseded=true.
  • MCP server: memorizz_memory_status reports backend, policy, embedding readiness (one short embed call) and per-type record counts.

  • MCP server: memorizz_record_turn and memorizz_summarize_session save a client’s turns and summarize a session (with the server’s model) for the calling principal.

  • Harness delegates, finished: Cancel now stops a memagent run between its model and tool calls and cancels every delegate harness run it started (one still being prepared starts already canceled; MetaHarness.cancel(..., before_start=True)). Delegates of a run approved for edits may edit too, taking turns in the workspace under the run’s lease, unless their own harness permissions are narrower; the service waives a delegate’s approval only when its parent run is still running and was approved for that access in the same folder (SQLiteHarnessRunStore.workspace_holder()). A coordinator’s ledger row, details and workflow node show its own model calls (planning and combining included, priced at list rates; MemAgent.count_model_call()) plus its delegates’ runs.

  • Harness delegates in the playground: a coordinator whose delegates run on harnesses shows a Harness delegates card in the inspector and a chip by the message box. Each conversation’s delegates get their own fresh folder instead of the folder the UI runs in. Allow gives them a folder of yours, web access or edits. Web access and edits need an approver’s name, and the grant is recorded as an approved metaharness.delegate_access approval that lasts eight hours, so their harness runs start without asking again. An expired grant is reported in the reply. MetaHarness.grant_delegate_access(), delegate_access(); POST /api/agents/{id}/harness-access, GET /api/agents/{id}/harness-access/{grant_id}, POST /api/agents/{id}/harness-workspace; the playground stream takes harness_grant and harness_workspace.

  • Deleting removes the scratch folder MemoRizz made for a blank workspace once no remaining run, workflow or delegate grant uses it (keep_scratch / remove_scratch=False keeps it). A conversation page has Delete conversation (MetaHarness.delete_conversation(), DELETE /api/harness-conversations/{id}).

  • CLI parity with the Agent Harnesses page:

    • memorizz harness: models, continue, conversation, delete-conversation, delete, delete-workflow, rerun-workflow, delegate options|create, events --follow/--limit, and --allow-subagents.
    • compare --harness-model HARNESS=MODEL, plan --stage-model and --stage-agent, plus the user, thread, tool, cost, token and execution-backend options on plan and compare.
    • --harness memagent without --agent-id runs the agent last used with a harness, as the UI does. Unknown IDs end with a message and exit code 1 instead of a traceback. Every command has help text.
    • memorizz agents: update and delete; create --harness-model, --delegate, --delegation/--no-delegation, --delegation-max-workers, --delegation-consolidation and --root-fallback. show includes the harness model, delegates and delegation settings.
    • memorizz eval terminal-bench tasks|status|run (Terminal-Bench 4.0 from the CLI), memorizz eval compare CONFIG.json (Evalground comparisons), and eval run --agent-id (evaluate a saved agent) and --ollama-host.
  • MCP server: memorizz_rerun_harness_workflow, memorizz_delete_harness_runs, memorizz_delete_harness_workflow, memorizz_get_harness_conversation, memorizz_continue_harness_conversation; allow_subagents on runs, plans and comparisons, and harness_models on comparisons. Deleting needs the write scope and touches only the caller’s runs.

  • Shared homes for what the UI, CLI and MCP server all need: memorizz.metaharness.catalog (model choices, saved agents and their harness delegates, the default memagent agent, conversation setup, creating a harness delegate) and memorizz.memagent.delegation_settings (validated delegate choices, refusing loops).

  • Rate cards for Claude Sonnet 5.5 and Claude Mythos 5 / 5.1.

  • Delete harness runs and workflows from the Agent Harnesses page: Delete in a run’s details, Delete on a finished workflow card (with all its runs), and Delete selected for the runs ticked in the ledger, whose header box ticks every run the filter shows. A run goes with its events and the runs its MemAgent delegates made. Runs still working, and workflow steps (delete the workflow instead), are kept, and the page says why. Files and saved memory answers stay. MetaHarness.delete_run(), delete_runs(), delete_orchestration(); SQLiteHarnessRunStore.delete() and delete_orchestration(); DELETE /api/harness-runs/{id}, POST /api/harness-runs/delete, DELETE /api/harness-orchestrations/{id}. Compare still takes two to four ticked runs.

  • Harness workflows run again from the page: Run again repeats a finished plan or comparison with its settings (a fresh scratch folder if it had one, and a saved agent filled in for memagent), and Edit and run loads them into the launch form first. MetaHarness.rerun_orchestration(), MetaHarness.is_scratch_workspace(), POST /api/harness-orchestrations/{id}/rerun.

  • Live trace in each workflow node: its reasoning, model calls, tool calls and subagents as they happen, with a subagent’s steps nested under the call that started it. New HarnessEventType.REASONING. Codex reports reasoning items and collab_tool_call subagents; Claude Code reports thinking blocks (marked hidden when it withholds the text) and which subagent an event came from; a MemAgent run reports model calls, tool calls, reasoning and delegate tasks (MemAgent.set_delegation_event_callback()).

  • Each workflow node, ledger row and run’s details name the model the harness ran on, from its events while it runs (SQLiteHarnessRunStore.event_models()).

  • Workflow cards fold: the chevron or header folds a card to one line with a status dot per harness, and Collapse all folds them all. Choices are remembered per workflow.

  • Subagents on the harness launch form (HarnessPermissions.allow_subagents, harness_task(allow_subagents=True)): Claude Code gets its Task tool alongside its usual tools, and Codex may start sub-agents. It is not a tool list, so it works in comparisons too. Codex sub-agents are followed from their session files under $CODEX_HOME/sessions while the run goes, so each appears in the node’s trace with its own searches, reasoning and answer.

  • Compare runs side by side: Compare traces on a plan or comparison, or tick two to four runs in the ledger and press Compare selected. A table sets out status, model, time, cost, tokens, actions, reasoning and verification (highlighting the fastest, cheapest and leanest run that succeeded, never judging answers); a timeline puts each run in a lane from its own start, with model calls, tool calls, commands and subagents as bars; and each run’s answer and trajectory sit in columns. It updates while runs are active. window.MemorizzCompare.open(runIds).

  • Comparisons take a model per harness (start_compare(..., models=...), harness_models on POST /api/harness-orchestrations); the launch form shows a picker per compared harness with that harness’s own models and default. Run again and Edit and run keep them.

  • pi works with no setup beyond an API key: with no provider or model configured, MemoRizz runs it on the first provider you have a key for (anthropic/claude-sonnet-5-5, then openai/gpt-5.5), and the form suggests pi’s own model list.

  • Model pickers on the harness page are dropdowns: each harness lists up to ten of the newest models from each provider it runs (read from the providers’ own model lists, newest first, cached for six hours; local Ollama models too), its default, and Other model… to type any name. It applies to the quick bar, single runs, plan stages and comparisons. memorizz.llms.model_lists.

  • memagent can run on another model from the harness page. The saved agent loads with that model for the run only (provider/model switches provider too); a save during the run keeps the agent’s own model.

  • OpenHands and Hermes work as harnesses. OpenHands reads the CLI 1.x event format, takes the run’s model through LLM_MODEL, runs only with Network Full behind its isolation wrapper (which mounts the workspace read-only unless edits were approved, via MEMORIZZ_WORKSPACE_WRITABLE), and the form sets the Docker wrapper backend when OpenHands is chosen. Hermes run homes live under ~/.hermes/profiles, which Hermes 0.21.5+ needs to keep its install intact.

  • Harnesses as delegates: a MemAgent’s delegates can be agents that run their turns on a harness (meta-harness runtime mode), so a coordinator splits a request and Codex, Claude Code, pi, Hermes or OpenHands work on the parts in parallel. In a MemAgent harness run each such delegate works in the run’s workspace and may use what the run was approved for (network, MemoRizz MCP, subagents, edits) without another approval; its harness run is tagged Delegate in the ledger and linked from the subagent step (Open its codex run). MemAgent.run_on_harness(parent_run=..., on_start=...); delegation events include task_progress with harness_run_id. The playground lists each delegate as it starts and finishes (Delegate · Codex reviewer (codex)). On the agent form, Add a harness as a delegate creates a harness-backed delegate with its model (POST /api/harness-delegates), harness-backed delegates are marked “runs on …”, and the harness section has a Harness model picker. On the harness launch form, choosing such a coordinator for a memagent run lists the delegates it hands work to and the harness each runs on. The coordinator’s final answer can say which delegate found what: results reach it labelled with each delegate’s name and harness, not only its ID. Two worked examples, a code review crew and a research desk, are in examples/metaharness/multi_harness_delegates/.

  • A Delegates section on the agent form: pick other saved agents as delegates, turn delegation on or off, and choose how results are combined and how many delegates work at once. A memagent harness run of such an agent shows each delegate as a subagent, by name. Choices that would loop are refused, and loading a saved loop skips the repeated agent.

  • Terminal-Bench 4.0 in Evalground: Test a harness runs Codex or Claude Code (installed in each task container by Harbor), a MemAgent (driving the container from the host) or the free reference solutions on chosen tasks, with an optional MemoRizz memory in front of each task and a lesson saved per finished trial (never shown to the same task). Results show pass rate, categories, per-trial time, tokens and cost, and join the run library. New: MemorizzCodexAgent, MemorizzClaudeCodeAgent, python -m memorizz.benchmarks.terminal_bench_runner, and GET /evalground/terminal-bench/status, POST /evalground/terminal-bench/runs. The terminal-bench extra now needs Harbor 0.23. HarnessContextBuilder.build() takes exclude.

  • Harness conversations: Continue on any run opens /harnesses/chat, where each message is a new run with the run’s setup (harness, model, folder, permissions, agent, memory, limits) and earlier turns as prompt context, on every harness. SDK: MetaHarness.continue_conversation(), MetaHarness.conversation(); API: GET/POST /api/harness-conversations/….

  • Harness trajectories and execution graph: a selected run shows its steps live, a Steps column counts actions per run, and plans and comparisons are drawn as connected nodes. SQLiteHarnessRunStore.event_counts().

  • Model suggestions per harness on the quick bar and launch form.

  • Playground conversations can be renamed and deleted from the left pane (POST/DELETE /api/agents/{id}/threads/{memory_id}). Names are saved on the agent as thread_titles; deleting removes the conversation’s messages, summaries and tool logs for that agent only.

  • Playground Settings → Context window for Ollama agents, listing sizes up to the model’s own maximum (GET /api/ollama/context-length). Choosing one replaces any agent-level cap, so it is the window the agent runs with. The context panel names the model and its longest window, and reply footnotes name the model that answered (run.started capabilities include model).

  • Auto-compaction that actually runs: before a request would pass context_policy.compact_at percent of the window (default 80, 30–80, 0 for off), older messages are summarized into summary memory, the newest keep_recent_messages stay word for word, and the summary text goes into the prompt. The playground’s Auto-compact at selector changes the threshold per agent, a note in the chat reports each compaction, and context.compacted stream events carry the counts.

  • The playground offers to enable what an agent can’t do yet. When a request needs web search, email, calendar, notes, code execution or a browser that the agent lacks, a card under the reply lists the ways to enable it, built from the agent’s live configuration: Tavily or Firecrawl (with an inline key field when needed), a Gmail, Calendar or Notion connection, sign-in for a connected server, or a registry search. The agent lists missing capabilities in its instructions and calls the new request_capability tool (capability.requested event); a keyword check also emits capability.suggested so small models still surface the card. Sign-in started from the card returns to the playground.

  • Harnesses reach an agent’s own MCP servers through MemoRizz: memorizz_list_connected_tools, memorizz_read_connected_tool, memorizz_call_connected_tool and memorizz_resume_connected_tool_call. Credentials stay in MemoRizz, calls are audited under the agent, reads are marked read-only so hosts that never prompt (Codex runs) allow them, and changes need write access and a person’s approval.

  • Each MCP tool is exposed to the agent as its own tool (server__tool) with the server’s schema, from a per-agent cache of the last tool listing. The tool router lets clear keyword matches among them share the per-turn slots. mcp_list_tools registers a server’s tools at once.

  • MCP connections shows Add OAuth client and setup steps for Gmail and Google Calendar before sign-in, and opens the client fields when a provider needs one.

  • Find and attach MCP servers from the UI: MCP Connections → Find a server and the playground’s settings list the official connectors and search the official MCP Registry, then attach a hosted or local (npm, PyPI, Docker) server after asking only for the values it needs. Hosted servers are checked for OAuth, token or no sign-in. memorizz mcp search does the same from the CLI, and memorizz.mcp.catalog from code.

  • Gmail preset (--preset gmail, UI and catalog): Google’s Gmail MCP server with gmail.readonly and gmail.compose scopes only.

  • Attach marketplace skills to an agent from the Skills page or the playground. The SKILL.md is saved under ~/.memorizz/skills with its source and hash, and added to the agent’s skill_paths.

  • Personal productivity assistant template (memorizz.memagent.templates, Create agent → Start from a template): instructions, persona and entity memory, with Gmail, Google Calendar and Notion attached and changes gated by approval.

  • Orchestrate harnesses from the UI, the JSON API or the SDK: MetaHarness.start_plan() runs stages in order, each on its own harness (for example plan, implement, review), and start_compare() runs one read-only task on several harnesses at once. Workflows are durable, cancellable and wait for host approval of their edit stage. The harnesses page gains a launch mode switch, a stage editor with presets, a Workflows panel, workflow tags in the run ledger and live refresh.

  • Stage handoffs: each finished stage is reduced to its answer, changed files, commands and verification result. The next stage receives all earlier handoffs fitted to its context budget, instead of raw text truncated at 20,000 characters. With a memory_id, handoffs are saved to conversation memory, where later runs retrieve them and the Memory explorer lists them.

  • deepseek harness: Claude Code’s agent loop on DeepSeek models (deepseek-flash, deepseek-v4-pro) through DeepSeek’s Anthropic-compatible API. Only DEEPSEEK_API_KEY reaches the process, and cost is estimated from DeepSeek’s peak and off-peak prices.

  • Quick launch on the harnesses page: a task, an optional harness and project folder, Web access and Allow edits, and Run, with approval asked inline. Tasks without a project folder run in a fresh scratch folder (MetaHarness.scratch_workspace()).

  • Harness parity across surfaces. CLI: memorizz harness plan, compare, workflows, show-workflow and cancel-workflow, and run --scratch, --allow-tool, --deny-tool and --output-schema. MCP: tools to start plans and comparisons, list, read and cancel them, and retry runs; a start without a workspace uses a scratch folder. UI: Retry, and thread, delegated environment, tool and output-schema fields. SDK: MetaHarness.retry_start().

  • A standalone run with a memory_id saves its answer to conversation memory, like plan and comparison steps.

  • hermes harness for Nous Research’s Hermes Agent (0.21.4 or newer), using hermes chat --format stream-json with a generated per-run home. Only the file toolset (plus web with web access, and the MemoRizz MCP server) is enabled; read-only runs cannot write, and hermes -z is never used.

  • pi harness for the pi coding agent (@earendil-works/pi-coding-agent), with any provider it supports. MemoRizz enables only its file tools, never bash; edit runs require an attested isolation wrapper.

  • MemAgent.run_stream() called directly. Use run_stream_events(); the string API will be removed in 0.14.
  • Redundant code, about 900 lines net:

    • Dead code: shadowed and unused CSS, an unused LongMemEval loader, the dead MemAgent._compress_memories_with_llm and _tool_result_failed, Toolbox._load_import_reference, unused CLI REPL labels, write-only attributes, estimate_terra_cost, the unused Oracle requirements.txt and the unused supports_output_schema adapter flag (probes report schema support).
    • Now shared, UI: the automation create/edit forms, playground thread-memory loading, field reading, request-body and approval parsing, and the JS money and HTML-escape helpers.
    • Now shared, models and providers: skills-marketplace config, local-model prompt building (llms/local_chat.py), provider response metadata (ResponseMetadataMixin), MongoDB/Oracle embedding fallbacks and skill search, and toolbox syncing (MemoryProvider).
    • Now shared, utilities: benchmark JSON and output bounding (benchmarks/measurement.py), stored-JSON reading (memorizz/_json.py), ISO/UTC timestamp parsing (memorizz/_time.py), environment flags (env_bool, env_text), and the optional-provider slot of the sandbox and internet managers.
    • Moved out of the UI routers for the CLI and MCP server to share: memorizz.metaharness.catalog, memorizz.memagent.delegation_settings, memorizz.benchmarks.agent_template.secret_free_agent_template, and terminal_bench_runner.environment_status.
    • Behaviour changes: MCP approve/reject answer 400 to malformed JSON, and the HuggingFace prompt fallback accepts a message without a role.
  • SETUP.md: its local and hosted setup, MEMORIZZ_ORACLE_CONTAINER and the production checklist are now in the Oracle provider guide, which also lists migration 008. Unused code was pruned: nothing in the package, its tests, docs, examples, eval scripts or the OpenSpeech backend called it. Public API that went:

  • create_assistant, create_chatbot and create_task_agent (the last two set application modes that do not exist); use MemAgentBuilder.

  • SummaryComponent and StandaloneSemanticCache.

  • MemAgent.has_meta_harness(), MetaHarness.arun() / astart(), MemAgentBuilder.with_auto_registration().

  • Toolbox.bind_callable(), delete_tool_by_id(), delete_tool_by_name(), update_tool_by_id(); EntityMemory.search_entities(); EntityMemoryManager.lookup_entities() / build_context() (use the *_with_diagnostics methods); PersonaManager.load_persona() / export_persona(); MemoryManager.update_memory_ids() / get_unsummarized_messages(); MongoDBProvider.get_summaries_by_memory_id() / get_summaries_by_time_range().

  • UI endpoints nothing called: POST /traces/feedback, POST /traces/outcomes, GET /api/capabilities, GET /api/agents/{id}/capabilities and POST /agents/{id}/delete (use memorizz agents delete).

  • About 22 KB of CSS rules that matched no page, an unused template, dead page scripts, the shadowed memorizz/memagent.py, the stub memorizz.ui.api package, the unused desktop app shell, stale example notebooks, one-off scripts, and duplicate root install_oracle.sh, deploy.sh and setup_dev.sh.

  • Internal cleanup, no behaviour change: the Tavily and Firecrawl providers share their setting and truncation helpers through InternetAccessProvider; entity attributes and relations use one validation helper; local model providers are listed once (memorizz.llms.llm_factory.LOCAL_LLM_PROVIDERS, used by the harness cost checks and the benchmarks); the semantic cache and the tool cache share their domain freshness defaults; the playground uses the UI’s shared escapeHtml.

  • memorizz_search_memories returns search_mode (semantic, keyword or hybrid) and falls back to keyword matching, with a setup note, when no embedding model works.

  • memorizz_store_memory now embeds what it stores when an embedding model is available, so memories saved over MCP are found by semantic search.

  • KnowledgeBase.ingest_knowledge/ingest_file accept metadata= and embeddings="required"|"optional"|"off"; entity upserts no longer fail when embedding fails.

  • Harness confirmations and error notices are in the page (static/js/page-dialogs.js), not the browser’s blocking confirm() and alert() dialogs.

  • Codex sub-agent tracking tolerates other session-file layouts and record casing, and when Codex reported starting sub-agents whose session files it couldn’t read, the trace says so instead of showing them as if they did nothing.

  • memagent harness runs report cancellation as cooperative and their cost (cost_reporting).

  • Network Full now gives Codex live web search (and network access for commands in editing runs), and a memagent run gets web access only then: its agent’s own internet provider, or MemoRizz’s Tavily/Firecrawl key for the run. With Network off, a memagent’s web tools are hidden for the run.

  • The harness launch form greys out harnesses that can’t honour the chosen Network or tool lists, says why, and explains what each setting gives each harness. The stage editor’s fields use the app’s field style.

  • Codex runs keep sub-agents off unless Subagents is on (features.multi_agent). With it on, the run is not --ephemeral, because Codex sub-agents need a saved parent session; the session lands in the usual ~/.codex/sessions.

  • The launch form warns when Model override names a model that only another harness lists (for example a Codex model on Claude Code).

  • The harness launch form shows only the options that apply to the chosen harness(es): the saved agent only for memagent, tool lists only for harnesses that take them, cost and token limits only where they are reported, the isolation backend only when a harness needs a wrapper, and so on. Hidden options are left out of the launch.

  • Each run’s model is the one its harness reported running; memagent shows its agent’s model instead of a requested one it ignores.

  • Ollama’s default context window is the model’s full length when its attention cache, estimated from the daemon’s model metadata, fits in a quarter of this machine’s RAM; otherwise the largest standard size that fits, at least 16,384 tokens (8,192 when the length is unknown; 16,384 for a daemon on another machine). On a 16 GB Mac, gemma4 gets 131,072 and qwen2.5:7b 32,768, so switching models changes the window. Only windows you set are saved with an agent or its model settings, and a window in llm_config takes precedence over a cap saved by earlier releases. context_window_exceeded now logs the tokens needed and the budget.

  • Skill search uses the skills.sh directory, ranked by installs, and needs no GITHUB_TOKEN; GitHub code search is the fallback. The page is now called Skills.

  • The playground no longer writes MCP servers: its settings list the agent’s servers and attach new ones through MCP Connections, which keeps credentials encrypted. The unused inline server editor is gone.

  • Duplicated code now lives in one place: agents are rebuilt from storage by MemAgentModel.from_document(), the LLM classes share tool-metadata helpers (memorizz.llms.tool_metadata), the worker and the UI’s Run now share one automation job runner, trace metadata fields are defined once (TRACE_METADATA_FIELDS), and UI pages share escapeHtml and their icons.

  • The LongMemEval script and the accuracy probes require an Oracle password instead of defaulting to a published one.

  • A cost or token limit made every saved-MemAgent harness run (alone, in a plan or in a comparison) fail as “not ready: cost_budget_telemetry_unsupported”, with the wrong fix (“Create and save a MemAgent”). The harness reports whole-run tokens, and cost whenever the model can be priced, so limits now apply:

    • a local model (Ollama, MLX, Hugging Face) has no API charges, so a cost limit always holds;
    • a cloud model MemoRizz has no price for is refused when the run starts (cost_budget_unpriced_model), with what to change.
  • “Not ready” errors say why in words, with the code in brackets, and give the fix for that reason. A harness’s own setup advice appears only when setup is what’s missing.

  • Agent harnesses: searching runs by a MemAgent’s name found nothing. Runs are now searchable by it, the Harness column shows it, and the run details and Compare view show it only on MemAgent runs (a comparison copies agent_id onto every lane).

  • Ollama embeddings ignored OLLAMA_HOST and always used http://localhost:11434; they now read it, like the Ollama LLM provider (an explicit base_url still wins).

  • The playground rendered model output as raw HTML, so a reply could run script in the page. The playground and harness chat now share one safe Markdown renderer: raw HTML shows as text, only web, mail and in-app links stay links, and remote images become links instead of loading.

  • The MemoRizz MCP server’s memorizz_list_agents failed with an internal error when an agent had a persona; memorizz_list_connected_tools with no agent attached now returns an empty list and says how to pick one; a harness run’s MCP server opens the memory store the UI is connected to.

  • Workflow graph arrowheads take their edge’s colour instead of white.

  • A comparison’s single model override went to every harness, so a Codex model failed on Claude Code; models are now chosen per harness.

  • Claude Code runs record whole-run token usage across the models it used (usage.models), not only its last model call, so token budgets and comparisons see the real totals.

  • A MemAgent harness run recorded each long tool result dozens of times (once per streamed piece); it records it once, whole.

  • A subagent’s trace step lasts until its last nested step, not until its launching call returned (Claude Code’s showed about 15 ms).

  • Token counts such as thinking_tokens and cache_write_tokens were redacted as if they were secrets.

  • The Oracle provider failed with ORA-00600 [unable to load XDB library] when starting on an existing schema on the Oracle AI Database Free lite image: it read VECTOR dimensions through DBMS_METADATA, which needs XDB. It now reads them from the driver’s column metadata, then VECTOR_INFO, and uses DBMS_METADATA only as a last resort.

  • A Hermes run from the UI could break the Hermes install: its per-run home outside ~/.hermes made Hermes re-point its launcher there before the home was deleted.

  • The harnesses page reloaded itself every few seconds while work ran, which flickered and reset scrolling. It now updates in place; running items show a spinner and a live elapsed time.

  • Codex runs had no cost and showed “Adapter default” as the model: Codex was run on an unnamed default model. MemoRizz now passes the first model in Codex’s local catalog and estimates cost at OpenAI list rates (≈).

  • Comparisons and plans including memagent failed with agent_id_required when no agent was chosen. The agent last used with a harness (else the newest) is filled in, and with none saved the request is refused before it starts.

  • Prompt caching held less than the layout promised. Measured over six turns it rose from 73% to 93% of input tokens read from cache on Claude Sonnet 5 (writes 24.9k → 9.9k tokens) and from 71% to 84% on gpt-4.1-mini:

    • the streamed answer call dropped the tool list, which starts the prompt, so it could not reuse the turn’s cache and re-wrote the whole history every turn. It now sends the same tools; tool calls made while answering are never run;
    • on Anthropic, notes added mid-turn (host notes and completion-policy retries) were merged into the system prompt, changing it and invalidating the cached conversation. They are now appended to the user turn they follow; reviewed skills placed before the turn keep their system block;
    • each newly relevant tool changed the tool list and re-wrote the whole prompt. Agents whose tool schemas fit in ContextPolicy.stable_tool_list_tokens (default 6,000) now send every tool every turn.

    These apply to every SDK entry point (run(), run_stream_events(), arun_stream_events(), the deprecated run_stream()) and the CLI and UI; agent.run() measured 88% (Claude) and 85% (OpenAI) over the same six turns.

  • An agent asked to create a Notion page never saw notion-create-pages: tool matching counted substrings, so filler like “it”, “me” and “can” matched inside long descriptions and outranked the tool the request named. Matching now uses whole words (plurals folded), ignores chat filler, and weighs words in a tool’s name three times those in its description.

  • Calling an undisclosed or misnamed tool now returns something the model can act on: an exact name is disclosed with its schema, and a near miss (notion-create-page) gets the real name (unknown_tool).

  • MCP tools called by name (server__tool) did not ask for approval before changing data; only mcp_call_tool did. The MCP layer then filed a proposal the playground never showed. They now pause the run for approval like the facade, and read-only annotations are read from the cached tool list.

  • MCP arguments are checked against the tool’s input schema before a call or an approval request, with two certain repairs (a documented field moved into its sibling object, wrapped text unwrapped) and otherwise a precise error.

  • The playground never drew the approval card for streamed replies (it was handed the proposal instead of the event), so a paused write had no way to be approved from the chat. The card now appears, loads and shows the exact arguments that will be sent, and the paused tool reads “Waiting for approval” rather than “Failed”.

  • After an approval, the resumed reply no longer receives the streamed run’s instruction to call memorizz_finalize_answer, a tool the continuation does not offer; models wrote about the missing tool instead of answering.

  • A turn failed with “Missing credentials” when no OpenAI key was set, because recording the turn’s workflow embedded it with the default OpenAI provider. The global embedding default now honours MEMORIZZ_DEFAULT_EMBEDDING_PROVIDER, _MODEL and _DIMENSIONS (as the Oracle provider already did, e.g. ollama with nomic-embed-text), and a workflow is stored without an embedding when none is available.

  • The playground’s stop button is red with a stop icon, and the Settings tab’s Save button stays in view with an unsaved-changes note instead of sitting below the whole form. The Memory tab’s cards inset their contents and empty-state text to line up with the card titles.

  • FileSystemProvider.list_tool_logs() and OracleProvider.list_tool_logs() returned nothing when no user_id was given: their own “not supplied” marker reached the shared filter, which treated it as a user to match.

  • The context panel read a stored agent’s legacy, unmarked window cap even where loading the agent would use the window in its LLM configuration.

  • A playground reply could vanish while streaming: a conversation load still in flight (for example right after New chat) redrew the chat over it.

  • Streamed replies no longer fail when a model calls a tool after tools are disabled for the answer (seen with gemma4 on Ollama). The call is never run; text already streamed stands, otherwise the model is asked again (up to twice). A reply with no text and no tool call is re-requested once before failing with empty_response.

  • Playground Toolbox, Workflow, Entity and Summary cards used fixed dark colours that turned grey in the light theme; they use the theme’s surfaces.

  • A conversation’s message count changed with the conversation open, because the open view counted per-turn trace rows and the list did not.

  • “Auto-compacts at 80%” never triggered: the background summarizer watched the measured request size, which history trimming keeps under 80%, and when it ran it summarized every message including the latest. It is replaced by auto-compaction (see Added).

  • The playground’s context panel counted per-turn trace records as conversation history, counted the tools twice (as “Toolbox memory”), and used word counts. It now estimates the next request the way the agent builds it and shows the last request’s measured size.

  • A summary was lost when no embedding provider was available (for example no OpenAI key with a local model); it is now stored without an embedding.

  • The playground’s context panel showed a 128,000-token window for every agent; it now shows the budget the agent really uses. Run stages read in plain words (“Thinking…”) instead of codes such as “provider first delta”.

  • entity_memory_upsert failed with unexpected keyword argument 'identity_key' when a host added a canonical identity (OpenSpeech’s “remember this about me”). The manager now forwards it, and a stale model-supplied entity_id defers to the canonical record.

  • retrieve_tool_log_entry said “not found” for logs from earlier turns: the MongoDB and filesystem providers matched only their record ID, not the tool_log_id the model is shown. New filesystem logs use one ID for both.

  • Agents → Last created did nothing on the filesystem backend: agents had no creation time. They now record one and keep it across saves; older agents use their file’s creation time.

  • A streaming test could fail under parallel runs by checking for a progress update before the client had read it.

  • Authorize on MCP Connections and memorizz mcp login could never start OAuth sign-in: the 401 check ran before the OAuth provider saw the response. Notion sign-in now starts. Servers that list tools anonymously and ask for sign-in only on a call (Gmail, Google Calendar) start it with a read-only call instead of reporting “already authenticated”.

  • OAuth sign-in requests exactly the scopes configured on a connection. The MCP SDK used to widen them to every scope the server advertises, which for Gmail included full mailbox access.

  • Google’s OAuth issuer (https://accounts.google.com against the https://accounts.google.com/ in its resource metadata) no longer fails the SDK’s exact-match check; only this bare-origin slash difference is accepted.

  • A provider that cannot register clients automatically now says to add an OAuth client ID and secret, instead of returning its raw 404 page.

  • Creating an agent with a persona on the filesystem backend failed when the persona could not be stored separately ('dict' object has no attribute 'to_dict').

  • SKILL.md files take their name and description from YAML frontmatter; before, the description was the frontmatter’s --- line.

  • Loading an agent from MongoDB dropped its tool-result, context, completion, delegation, skill-retrieval and semantic-layer settings; the filesystem backend dropped its completion policy. Every stored field now round-trips.

  • Starring an agent in the UI erased its meta-harness mode, default harness, harness configuration, completion policy and application ID; saving agent settings from the edit form or the playground dropped fields too. The UI now updates only the fields a form changes.

  • An automation attempt’s time limit never took effect: the worker waited for the hung call anyway. The worker also now records the run’s answer and disables a job whose schedule can no longer be computed, as Run now did.

  • The playground’s HTML escaping left quotes unescaped.

  • Claude Code runs could never search the web or use Glob and Grep: --bare loads only Bash, Edit and Read. Builds with --restricted now load exactly the policy’s tools (including WebSearch and WebFetch with web access), with a private per-run config directory; older builds keep --bare.

  • A missing or disallowed workspace reports the path problem and the allowed workspace roots instead of a raw [Errno 2].

  • MetaHarness.close() no longer closes the run store under a run that has started but not yet written its final status, or that registered after shutdown began.

  • Read-only stages of run_plan() no longer inherit an approval requirement from an edit-mode base task.

  • Redaction keeps camelCase token counts such as totalTokens and numeric tokens blocks.

  • Rebuilt the local UI as a monitoring console. The overview shows runs, success rate, run time, tokens, prompt-cache reuse and spend over 24 hours, 7 or 30 days, with a runs-over-time chart, recent runs and agent, tool and model breakdowns. “Needs attention” names causes in plain language (failed runs, failing tools, provider stream errors, unpriced models, duplicate agent records) from content-free codes, so it also works in metadata-only mode.
  • Added a fleet monitor for agents (health, runs, success, p95, tokens, cache share, spend, trend, detail pane, quick chat) and monitor pages for memory, workflow trajectories, learned skills, the learning control plane, persona evolution, harnesses, automations, MCP connections, Vercel skills, settings, observability, usage and Evalground: shared filters, sortable grids, keyboard navigation (/, j/k), full-width layouts and phone layouts.
  • Added a chat-style agent playground with an inspector for the context window, prompt cache, memory and settings.
  • Added Evalground comparisons of answer models and rerankers on shared evidence, with quality, latency and API cost, and the optional rerank extra.
  • Added prompt-cache reuse across agents and providers: Anthropic cache breakpoints for stable prefixes (optionally for single-shot prompts), explicit GPT-5.6/GPT-6 cache boundaries and a default routing key for OpenAI, per-run usage via MemAgent.get_last_run_usage() and in run.done, and prompt-cache hit rates in the UI and Evalground.
  • Tools discovered for an agent and user stay disclosed in later turns (ContextPolicy.sticky_tool_limit), keeping the cached prompt prefix stable.
  • A provider stream that drops before any public answer text or tool call is re-sent up to twice; each attempt is traced as its own model call.
  • Added MongoDBProvider.estimate_count(), list_recent() and observability_row_cursor(); UI counts and memory pages read bounded pages.
  • Rejected tool calls report tool_not_disclosed, invalid_arguments or tool_not_callable instead of invalid_tool_invocation; argument errors name the expected parameters.
  • Anthropic stream error events record the provider’s error type.
  • tool.completed stream events carry a safe reason_code for failures.
  • MongoDB observability pages stopped at the boundary between ObjectId and string ids, so usage and event queries skipped immutable trace bundles. Event reads are now batched with exact per-record resume positions.
  • Concurrent MemAgent.save() calls (for example one per web worker) could insert duplicate agent records. Saves are an atomic upsert and MongoDB gets a unique agent_id index (a warning names duplicates that block it).
  • Tools discovered mid-turn were forgotten before the next turn.
  • Streamed playground turns started a new thread each turn, losing history.
  • Added prices for current Claude models and dated model snapshots; unpriced calls report why they could not be priced.
  • The settings sandbox readiness check did not appear, and blank learning control plane scope filters matched nothing.
  • Added provider prompt-cache health panels with measured reads/writes, unknown usage, configuration warnings and scoped cache-drop diagnostics. Prefixes and routing keys are hashed; prompt text is not stored in these fields.
  • Added requested-versus-returned model IDs to model-call traces, inspectors and comparisons, including metadata received before a stream finishes.
  • Added filesystem and Oracle context-engineering notebooks demonstrating persistent note revisions, searchable source history, and context rollover with real GPT-6 Astra calls and OpenAI text-embedding-3-small vectors. Both notebooks are standalone, use the published PyPI package, and keep each code cell to at most 25 lines.
  • Added opt-in ToolResultPolicy.persist_all_results and scoped MemoryManager.search_tool_logs() with bounded source excerpts.
  • Added guided memorizz memory configure, memorizz notion connect and /memory-provider setup with hidden credentials, database URL resolution, read-only schema checks, explicit provisioning confirmation and recovery IDs.
  • Added standalone and REPL config set/get/path/keys, explicit project/custom save targets, override warnings, active/saved provider labels and restart guidance. UI Settings exposes Notion defaults and the real shared save path.
  • Added optional NotionProvider(config, semantic_provider=...): Notion owns memory documents; filesystem, MongoDB or Oracle stores vectors and scoped references without a second copy of memory text. Existing providers and streaming defaults remain unchanged.
  • Added explicit Notion workspace provisioning, per-memory-type and linked agent/conversation/trace/tool views, CLI init/status/sync/repair commands, local UI selection and shared CLI/MCP environment configuration.
  • Added durable write-intent/index repair, bounded native observability queries, verified webhook synchronization and live hydration of semantic results.
  • Added provider-managed embedding and live-read capability contracts, including Notion-aware knowledge/entity/summary ingestion and semantic-cache revocation.
  • Avoided redundant global-model conversation backfills for provider-managed embeddings; vectorless workflow rehydration also no longer re-embeds on read.
  • Added deterministic transport, vector, recovery, CLI/UI/MCP and streaming MemAgent tests, plus opt-in live Notion and local Oracle tests.
  • Release smoke checks now exercise Notion and configuration flows from the built wheel in a clean environment with UI/MCP extras.
  • Guided setup and REPL configuration use Typer’s public prompts and exceptions, so clean CLI installs work without an undeclared external Click dependency.
  • JSON conversion reads text/binary LOBs once and stops following non-text reader results, preventing recursive reader chains from stalling cache fingerprints.
  • OpenAI GPT-5.6/GPT-6 Responses calls now preserve a reusable instruction cache boundary alongside implicit conversation caching. Anthropic text helpers use the same cache policy as chat/streaming; zero read/write counters remain visible.
  • Homebrew release updates remove bottles belonging to the previous version and tolerate a repeated update without publishing a redundant commit.
  • OpenAI GPT-6 Astra context-window detection and legacy output-token translation now match the model configuration used by the context-engineering examples.
  • Filesystem tool-log text queries now include tool arguments and results.
  • Oracle knowledge-base reads by ID preserve namespace and chunk identity; tool-log reads also accept the physical row IDs returned by list/search.
  • /login notion now writes NOTION_TOKEN. Credential/configuration slash commands are excluded from REPL history; hidden input fails closed without a secure prompt, and credentials are not exposed by config reads or UI fields.
  • Shared env writes are atomic, serialized and owner-only on POSIX, preserving unrelated multiline bindings/comments and refusing malformed/symlink targets. Failed saves no longer produce misleading unconditional success messages.
  • Explicit invalid/misconfigured CLI memory backends no longer silently fall back to filesystem. MongoDB/Oracle CLI connections honor configured external embedding defaults; saved provider changes never hot-switch the running agent.
  • Fixed a live Notion date-precision mismatch that rejected freshly saved memories. Precise timestamps now drive ordering and exact time-window checks; minute-level date buckets no longer omit subminute observations. Added live regression coverage and a persistent, explicitly synthetic Notion walkthrough.
  • Ollama now sends its effective context window to the daemon, defaults to 8,192 tokens, and preserves the setting on reload. CLI resume and model switches refresh the history budget instead of retaining a stale 128k limit.
  • Streaming accepts a model’s direct tool-phase answer as a finalization proposal under the existing host evidence checks. Drafts stay private and public generation uses a separate request with tools disabled, preventing repeated finalizer retries on local models.
  • Complete model requests now budget context, tool schemas and accumulated tool evidence on every iteration. Old turns are evicted together; oversized required input stops with context_window_exceeded before a provider call.
  • Provider context limits and supported generation options survive reload. SDK model overrides now replace the actual runtime model and its budget, while normal reloads preserve agent-level context caps.
  • Empty and token-truncated model responses cannot complete or enter the answer cache in either streaming or synchronous runs. Errors retain partial streamed text, expose stable codes and explain recovery in the CLI.
  • Requires Python 3.10+ and Typer 0.27.2+. Python and npm versions are both 0.11.0; the npm package bootstraps the matching Python CLI. No new base dependency is required; package installers update Typer automatically when needed.
  • Explicit invalid or incomplete CLI backend settings now fail with setup guidance instead of silently selecting filesystem memory. Configuration saves take effect on the next launch and do not migrate existing memory.
  • Empty/truncated model output and requests that exceed the context budget now raise explicit errors. Applications using synchronous runs should handle ProviderStreamError; streamed runs expose a terminal error event.
  • Provider-cache telemetry is additive. Missing counters and returned model IDs remain unknown in older traces; cache diagnostics do not imply a price.
  • Notion requires explicit provisioning, access configuration and reconciliation after human edits. Local journal status is not workspace-wide completeness. Live service tests require credentials and remain opt-in.
  • Notion is not an atomic coordination provider: concurrent shared-memory delegation, leases and coordination-dependent automation must use an existing atomic primary provider. The semantic backend remains vector-only.
  • Added usage dashboards, accessible charts and structured tables in Observability, selected traces and Evalground: daily tokens and known charges, agent/model/interaction breakdowns, memory prompt share and retrieval latency.
  • Added public aggregate_usage, query_usage, RateCard, PricingRegistry and MemAgent.last_usage_analytics() APIs. Bounded, tenant-scoped reads and offline decimal pricing avoid network pricing lookups on the agent path.
  • Added versioned OpenAI text rate cards, cache-write and service-tier telemetry, long-context pricing, and durable cost provenance. Other providers and custom billing agreements can supply explicit rate cards.
  • Added request-local PersonaManager.use_snapshot() contexts for account-owned personas, safe persistence of shared agent configuration, versioned persona trace references and a distinct approximate persona-token category.
  • Added a host-adapter Persona Evolution UI for profile inspection, evidence, reviewed proposals, version history and optional reflection/approval/undo/ scheduling controls. Private profiles require authentication and audited unrestricted administrator access; actions are disabled unless enabled by the host.
  • Interactive CLI sessions now announce newer stable PyPI releases with an installer-specific upgrade command. Checks run in the background, cache successful results for 24 hours, tolerate offline use, and can be disabled with MEMORIZZ_NO_UPDATE_CHECK=1.
  • Persona goals are explicitly treated as style preferences, not authority over application instructions, grounding, permissions or the user’s current request.
  • Semantic-cache identity now incorporates rendered persona text, preventing reuse across different goals that happen to share a name and version.
  • Condensed the README around memory management, the agent framework, MetaHarness, and continual learning, positioning Memorizz as the intelligence plane for memory-first agents with links to detailed setup and feature guides.
  • Preserved persona identity/version through persisted trace compaction, not only live callbacks, and kept persona style supply separate from claimed behavioral adoption.
  • Preserved MongoDB conversation agent_id ownership metadata, including bulk writes. Existing rows are not silently backfilled or broadened across tenants.
  • Scoped trace views now distinguish uninspected agent registration from a genuinely missing registration.
  • Rejected oversized and malformed persona actions before invoking host hooks, including non-boolean settings and invalid revision/proposal identifiers.
  • Added the IANA timezone dependency on Windows for timezone-aware analytics.
  • Token charges are calculated from dated rates, not reconciled invoices. Missing usage/prices remain unknown; memory token attribution is approximate. Bounded recorded windows are not complete historical account billing.
  • Persona persistence, scheduling, approval policy and account authorization remain host responsibilities. This release does not bundle an application scheduler or automatically apply persona changes.
  • Streaming remains enabled by default. No provider data migration is required for the new scalar telemetry; an uninitialized native trace index still needs the existing explicit migration before index-mode reads are enabled.
  • Added synthetic browser release gates for usage analytics, Persona Evolution and existing trace inspection. Audit reports and local data stay excluded from release archives.
  • Delegation now validates complete pending plans before work, propagates runtime failures and approval waits, and never reruns the root after child effects. Empty automatic plans require explicit root-fallback opt-in.
  • Child conversation threads are isolated by default, with copied request and cancellation contexts, bounded worker supervision, runtime receipt/lifecycle callbacks and host completion-policy gates. Shared cached agents retain their memory-ID configuration unless participant persistence is explicitly enabled.
  • Shared coordination writes use conditional atomic updates on filesystem, MongoDB and Oracle providers. Reports and sessions agree on outcome/counts; recording errors remain distinct from successful execution.
  • Added public-API artifact/tenant/cancellation regressions, cross-process and live database concurrency tests, and a developer delegation guide. Local audit inputs under docs/reports/ are excluded from source packages and documentation.
  • Delegation now defaults to task-scoped child threads and disables automatic root fallback. Set allow_root_fallback=True explicitly when that behavior is appropriate; participant configuration persistence is also opt-in.
  • Hosts must supply a completion policy to verify their own artifact receipts and business outcomes. Cancellation remains cooperative for third-party blocking calls, which stay supervised until they settle.
  • Streaming remains enabled by default. This release changes Memorizz only; consuming applications still need their own integration acceptance tests.
  • Added ordered, bounded StreamEvent delivery through run_stream_events() and arun_stream_events(), including answer digests, cancellation, explicit terminal status, provider usage, and separate answer/persistence completion.
  • Added default incremental answer delivery to the CLI, REPL, Playground and its desktop webview, plus MCP progress with an opt-in versioned answer-event extension. Added flushed CLI text/JSONL output and --no-stream compatibility.
  • Added concrete provider streaming adapters, including native OpenAI Responses and Azure Chat streaming, with interruption, backpressure and incomplete-stream checks across supported providers.
  • Added typed host observability events, trace propagation, memory-selection ledgers, artifact lineage, output contracts, browser-acknowledgement evidence, coverage profiles, and conservative outcome diagnostics.
  • Added native SQLite, MongoDB and Oracle observability indexes, explicit migrations, scoped pagination, retention, backfill/parity checks, and operator tooling. Added an isolated local Oracle setup and live database test fixtures.
  • Added Incident Finder, causal waterfall, memory/artifact/contract inspectors, selected-event navigation, structural comparison, health views and responsive mobile layouts, with synthetic browser and native WebKit regression fixtures.
  • Historical bundled traces now retain child events, tool names, timestamps and model metadata. Health and insights share authorized selection/count semantics.
  • Read completeness no longer implies end-to-end instrumentation or verified outcomes. Missing host hooks are shown as unavailable instead of usable actions.
  • Search and cross-view links retain trace selection. Legacy JSON-string replay source lists no longer become individual-character resource identifiers.
  • Streaming failures and cancellation preserve partial text without adding exception prose to answers; dumb-terminal REPL output now flushes incrementally.
  • Oracle observability initialization now handles its first-install dynamic SQL correctly. Audit reports are kept outside the repository and release archives.
  • Added tenant-scoped, fail-closed operator access, audited explicit reveals, transient account/artifact resolver hooks, immutable event envelopes and inert replay drafts. MCP observability queries remain opt-in and read-scoped.
  • MemAgent.run() still returns a complete string. Whole-answer validators continue to buffer until acceptance; streaming does not expose private tool drafts or rejected answers. Third-party cancellation remains cooperative.
  • Host instrumentation, production migration/backfill and signed desktop distribution require separate deployment acceptance. This release does not change OpenSpeech or invent missing historical evidence.
  • Added provider-neutral structured tool outcomes across the SDK, CLI, MCP server, UI, observability, and continual-learning evidence. Tool executions now distinguish clean success, empty results, degraded capability, usable fallback, provider errors, and other failures without changing the payload exposed to the model.
  • Added explicit ToolResult/ToolOutcome SDK types, per-turn MemAgent.last_tool_outcomes, provider/fallback trace metadata, outcome-aware cache admission, and Oracle tool-log persistence with a forward migration.
  • Added provider-neutral PersonalizationContext SDK/MCP abstractions with opt-in, tenant-scoped cross-thread recall, natural-use prompt rules, bounded writing/profile inputs, and content-free per-turn memory supply evidence.
  • Added memory-first observability across the SDK and UI, separating candidates retrieved, context supplied, and sources explicitly referenced while marking behavioral style attribution as not measurable.
  • Added deterministic canonical entity identities and dry-run-first duplicate consolidation with conflict reporting and reversible soft supersession.
  • Internet-provider failures and offline placeholders no longer appear as successful green tool completions. The CLI and UI now report states such as Completed via fallback and Provider error.
  • Source distributions now exclude downloaded benchmark corpora under eval/datasets/, preventing local evaluation data from inflating or leaking into release artifacts.
  • Automatic memory recall now rechecks exact memory_id and user_id ownership after every provider query, preventing an overly broad third-party provider from supplying cross-tenant prompt context.
  • Canonical entity identity_key binding remains trusted host/application authority and is deliberately absent from the model-visible entity tool.
  • Personalization authority rules are rendered before memory-derived content, so a large or adversarial excerpt cannot truncate away the instruction boundary. Reference attribution also ignores ambiguous single-token overlap.
  • The npm postinstall bootstrap and on-demand launcher fallback now explicitly request uv-managed Python 3.12. The npm CLI therefore works on hosts whose default system Python is older than MemoRizz’s supported Python range.
  • npm launcher tests now cover both the pinned bootstrap and recovery paths, including their managed-Python requirement.
  • Source distributions now explicitly exclude local-only plans, credentials, research output, dependency trees, and generated desktop artifacts even when built from a developer checkout. This is the canonical production package for the 0.6.1 runtime fixes; 0.6.1 is superseded because its manually uploaded source archive contained ignored development files.
  • Entity-memory tools now publish an explicit nested name/value schema, canonicalize common model-generated attribute aliases such as attribute and attribute_name, and reject unknown model-facing fields. This prevents a valid user-profile fact from failing Pydantic validation before persistence.
  • Callable tool schemas now inline annotation-local Pydantic definitions, so nested input models do not emit broken root-level $ref pointers when sent to OpenAI-, Anthropic-, or MCP-compatible providers.
  • Release artifacts explicitly target Core Metadata 2.4 so current stable Twine and PyPI validation remain compatible with newer Hatchling defaults.
  • The npm launcher now rejects stale or self-resolving memorizz executables, prefers the exact uv-managed release, and falls back to the version-pinned package specification instead of silently running an older installation.

Evaluation, MetaHarness, and memory-platform additions

Section titled “Evaluation, MetaHarness, and memory-platform additions”
  • Added an explicitly unofficial Terminal-Bench 2.1 forecast command with the canonical 89-task/445-trial protocol, a dated leaderboard context snapshot, nominal spend/headroom scenarios, pilot latency extrapolation, Wilson uncertainty, and fail-closed rank reporting until at least ten distinct pilot tasks exist.

  • LongMemEval-V2 official-adapter runs now verify upstream checksums before spend, forecast embedding/reader/synthesis/judge cost with a configurable preflight limit, batch-persist thousands of chunks, pin question order, fingerprint the actual scorer/dependencies, and report MemoRizz-owned model usage separately from the downstream reader.

  • Added sanitized release evidence for a passing 1/1 LongMemEval-V2 official- adapter smoke and a zero-cost, ten-ability BEAM 128K diagnostic, with exact paper-comparability exclusions.

  • Evalground now distinguishes a normalized memory-retrieval diagnostic from Full MemAgent execution. The latter loads a secret-free selected-agent template onto isolated benchmark memory, calls MemAgent.run(), disables side-effecting integrations, and reports actual automatic-retrieval/context- assembly evidence. The SDK and memorizz eval run expose the same mode, template, query-expansion, rerank, and reader-repair controls.

  • Memory diagnostics now use grouped semantic-query RRF, label-blind capacity/boundary expansion, source-linked causal and multi-turn event memories, widest-provenance representative selection, parent-source deduplication, timestamp preservation, relative-date annotations, and unambiguous date normalization. One bounded formatting-only repair handles malformed JSON-like local-reader output.

  • Multi-source diagnostic evidence now renders an explicit JSON source-ID list and requires one citation per array element. This closes an ambiguity where a grounded reader could copy two comma-separated IDs as one invalid citation. A bounded GPT-5.5 rerun achieved 1.0 answer, Recall@6, and grounding on both LoCoMo-Plus diagnostic and full-MemAgent lanes; the sanitized artifact keeps the one-sample/non-paper-comparable boundary and full spend accounting.

  • Added a four-task, task-native MetaHarness regression pinned to GPT-5.6 Luna and Claude Opus 5 at medium effort. It compares Codex-only, Opus-only, always-on, and preregistered risk-routed MemAgent strategies with fresh Filesystem scopes, durable write approvals, host verification, 32 held-out checks, complete cost/usage evidence, and no LLM judge.

  • Notebook 06 now opens with a model-aware example result table and reconstructs the same table from the sanitized evaluation artifact at the end, exposing reusable table rows plus an artifact SHA-256 and protocol fingerprint.

  • Claude Code harness tasks can pin claude_effort to low, medium, high, xhigh, or max; invalid values fail before launch. Secret-value redaction now requires a credential-prefix boundary, avoiding false positives such as task_native while continuing to redact real provider keys.

  • Added the paid, paired MetaHarness factorial evaluation across direct Codex, direct Claude Code, MemAgent wrappers, mandatory panels, adaptive panels, Filesystem, and Oracle AI Database, with a sanitized educational artifact and Notebook 06 analysis.

  • Hardened evaluation reporting with layered dotenv loading, publishable path redaction, safe numeric token telemetry, explicit judge scale normalization, construct-irrelevant rationale rejection, bounded retries, and durable cost evidence for failed judge calls.

  • Made deterministic required-criterion recall, grounding, schema validity, and host verification the primary fixture-quality gates; LLM scalar scores are explicitly secondary diagnostics.

  • Terminal-Bench cost accounting now prices the selected registered OpenAI model and rejects unknown or variant pricing instead of silently applying GPT-5.6 Terra rates to every model.

  • Dataset verification now treats GitHub remotes with and without .git as equivalent, detects source checkouts that also contain benchmark data, and reports BEAM conversation coverage without presenting a partial smoke corpus as the full variant.

  • Fixed the memory benchmark path that left LoCoMo-Plus cognitive cues outside top-k while unrelated MetaHarness security work correctly had no score effect. On the same one-sample local diagnostic, gold Recall@6 moved from 0.0 to 1.0; Qwen answer quality remains reported separately rather than being misrepresented as retrieval success.

  • Exact duplicates returned through multiple automatic-retrieval query variants now retain their strongest provider score, and grouped records retain complete linked-source provenance. Full MemAgent reports no longer claim diagnostic fusion or semantic-cache decisions that did not run.

  • Oracle knowledge-base rows now persist source, parent, linked-source, and structured metadata provenance through additive migration 006. The same evidence shape already survives Filesystem and MongoDB storage.

  • Invalid non-list retrieval and tool-log values from third-party providers now degrade to empty evidence instead of leaking sentinel attributes into prompt provenance or preventing an otherwise healthy model turn.

  • Coordinated MetaHarness panels now retrieve one ranked, tenant-scoped evidence snapshot for the original request and reuse it across role-specific workers. Dependency outputs reach later stages through bounded allowlisted context, while synthesis is grounded in root memory and instructed to preserve only supported evidence. The root reuses an identical delegate evidence snapshot when it fits the coordinator budget, removing a duplicate provider read while closing the earlier ungrounded-consolidation failure mode. The optimization is provider-neutral and now has explicit filesystem, MongoDB, and live local Oracle coverage. MongoDB knowledge-base evidence preserves memory_id and degrades to a bounded, exactly scoped lexical retrieval when Atlas vector search is unavailable; Oracle’s legacy store(data=..., memory_id=...) path now persists that scope instead of silently generating an unrelated one. Shared context-cache keys include the effective evidence owner, while coordinated panels explicitly use the root owner for procedural retrieval.

  • Deterministic, host-verified, read-only delegation can now reuse a semantic cache entry only when the caller supplies a data version and the complete plan, delegate, model, harness, and policy fingerprint still matches. Successful coordinated root responses are recorded in conversation memory and their workflow is captured by the learning control plane.

  • Multi-agent result consolidation now treats an intentionally model-less root as a supported deterministic aggregation mode instead of logging a false provider error. Configured synthesis failures remain visible as structured partial-workflow evidence, while successful model synthesis records provider, model, latency, and available usage. Model-based consolidation now also honors the root coordinator’s configured instruction.

  • MetaHarness action budgets now count one vendor command/tool lifecycle once across in_progress and completed events, and runtime-backed MemAgents propagate their configured harness model pin into the executed HarnessTask.

  • Filesystem lexical fallback now ranks sufficiently overlapping scoped records when delegation adds a role-specific query suffix, instead of requiring the complete extended query to occur verbatim. Multi-agent orchestration now treats a failed runtime-backed harness result as a failed subtask rather than successful serialized text.

  • Meta-harness authentication readiness now has one secret-free error_code/message/remediation contract across the SDK, CLI, local UI, and first-party MCP server. Claude Code reports its required bare-mode credentials before launch, Codex verifies either an environment key or its cached CLI login, and runtime 401/login failures are normalized without exposing vendor output or credential values.

  • Persisted harness-backed agents can be created on developer, CI, or deployment hosts before a vendor CLI is installed. Construction still validates adapter registration and native recursion, while executable and authentication readiness remain fail-closed at execution with the same structured remediation across SDK, CLI, UI, and MCP.

  • Real Codex + Claude Code notebook execution now preserves numeric token-usage telemetry through redaction, falls back to tenant/thread-scoped lexical retrieval when filesystem records have no vectors, and uses a realistic bounded multi-turn output budget in the two-harness review example.

  • A sixth educational MetaHarness notebook and versioned factorial evaluator separate direct-MetaHarness versus MemAgent wrapper overhead, mandatory Codex-plus-Claude coordination, adaptive fallback, and Filesystem-versus- Oracle effects. The 12-arm protocol uses exact call-policy validation, provider-neutral evidence fingerprints, deterministic model-less union, independently blinded per-candidate judging, reverse-order balancing, and an explicit one-fixture inference boundary. It reinterprets the earlier one-call adaptive artifact instead of presenting it as a two-harness result, makes no external call by default, and keeps paid execution behind an environment opt-in. A dedicated notebooks package extra provides a consistent Jupyter kernel and execution toolchain.
  • Memory evaluation now has fail-closed versioned protocol manifests, smoke/regression/paper profiles, pinned official-source synchronization and checksum verification, calibrated reciprocal-rank fusion, conservative source-linked constraint memory, persistent corpus embeddings, grounded citation scoring, an oracle-reader ceiling, confidence intervals, and phase/cost accounting. The CLI and Evalground expose the same profile and Filesystem/Oracle controls; diagnostic runs cannot claim paper comparability.
  • The memory-provider contract now includes portable bulk storage, scoped normalized search, and declared capabilities, with matching Filesystem, MongoDB, and Oracle behavior.
  • Multi-agent orchestration now offers model, deterministic, and primary consolidation strategies plus explicit dependency/synthesis context bounds. Capability reports expose ranked evidence, workflow snapshot reuse, dependency propagation, and verified delegation-cache support.
  • A fifth MetaHarness notebook compares Codex-only, Claude-only, and a MemAgent-coordinated Codex + Claude panel using a blinded LLM judge, gold findings, host verification, memory grounding, latency, tokens, normalized actions, reported/estimated cost, and cost per quality point. Provider-aware enforceable budgets and a fail-closed validity gate prevent failed baselines from being ranked as wins; invalid attempts retain diagnostic JSON evidence without a judge ranking or winner. Filesystem remains the default evaluation provider; an opt-in Oracle mode runs preflight before spend, records provider capabilities, and deletes the synthetic scopes during cleanup.
  • A memory-first MetaHarness for running Codex, Claude Code, OpenHands, and native MemAgent workers behind one durable contract. It includes deterministic routing, exact-envelope host approval, workspace policy and leases, cancellation, bounded budgets, normalized events and results, host-side verification, tenant-scoped memory context, and verified continual-learning evidence.
  • MetaHarness parity across the Python SDK, persisted MemAgent configuration, memorizz harness CLI, local operator UI, and six first-party MCP tools plus a run resource. OpenHands is fail-closed until an operator-supplied isolated wrapper is configured.
  • A developer-oriented documentation information architecture with a single installation path, core runtime/scoping model, tools and durable approval guide, model-provider and scheduled-automation guides, configuration/secrets reference, capability/preflight guide, curated Python API, troubleshooting playbook, and static documentation quality gates.
  • The first-party MCP server now exposes a 23-tool operational surface with local agent update/deletion, combined agent/cache/learning/observability inspection, scoped learning compilation, conversation compaction, and governed harness execution. Tool schemas reject undeclared arguments, while credentials, local-path ingestion, approval decisions, and outbound MCP configuration remain host-only.
  • A stable headless-runtime capability report and subprocess coverage confirm that the SDK, CLI, and stdio MCP server run without a display server or an import of the optional UI application.
  • Developer examples now use the real public entity, episodic, semantic-cache, Toolbox, shared-memory, and agent-mode APIs; supported Python versions and local UI authentication/read-only guidance now match the package.
  • Persisted agent updates retain continual-learning workflow and skill memory types when application-mode defaults are recalculated.
  • Explicit SDK model overrides no longer initialize the persisted provider as a side effect, and tool_access now survives construction, save/load, and MCP agent updates.
  • Harness diagnostics no longer crash when an optional configured memory provider is unavailable, source checkouts report the source package version, and Codex project configuration cannot re-enable hooks, web search, egress, extra writable roots, or non-MemoRizz MCP servers for a governed run.
  • Explicit persisted-agent creation parity across the SDK, CLI (memorizz agents create/list/show), local UI, and first-party MCP server. MCP creation is a local-stdio-only write that resumes through durable host approval; remote HTTP creation remains disabled until agent ownership is durably tenant-scoped.

  • Privacy-safe observability_context on MemAgent.run and run_stream, with allowlisted page/thread/grounding lineage, request-context fingerprints, cache hit/miss/bypass events, timeline metadata, and deterministic Trace Insights for wrong-page and missing-grounding failures.

  • A provider-neutral memory-first learning control plane with immutable, idempotent run/tool/cache/workflow/outcome/skill events; deterministic incremental compilation; bounded and explainable EvidencePack retrieval; host-verified outcome evidence; and reversible, single-use, operator-approved forgetting plans. It reuses private shared memory on filesystem, MongoDB, and Oracle rather than adding a service or schema.

  • SDK (with_learning_control_plane, reports, retrieval explanations, compiler, durable forgetting), memorizz learning CLI commands, and a local UI Learning Control Plane page with agent configuration support.

  • Memory-first adapters and revision manifests for the official LongMemEval-V2 harness, SWE-bench Lite Docker grader, and all four MemBench memory tracks, plus optional benchmark dependency groups and local result documentation.

  • CompletionPolicy, CompletionCandidate, CompletionDecision, and CompletionRejectedError for host-enforced, auditable final-answer gates with bounded same-loop retries and builder/persistence support.

  • Batch embedding support in EmbeddingManager and the OpenAI embedding provider for high-volume benchmark ingestion.

  • The LongMemEval-V2 adapter now isolates the official base memory registry from unrelated optional backends, avoiding incompatible eager dependencies.

  • Two arXiv-compatible companion systems-paper drafts with a shared bibliography: one covering the memory-first agent harness, taxonomy, unit shapes, context tokenomics, providers, and runtime components; the other covering the agent-memory and continual-learning platform. The latter explicitly attributes its recency/importance/relevance inspiration to Generative Agents. Both include reproducibility statements and the sanitized filesystem/Oracle benchmark comparison.

  • The local control-plane UI now uses a restrained, high-density visual system with matte surfaces, metric-first overview cards, compact navigation, and semantic observability states for provenance, ownership, grounding, cache, and trace identity. Trace Insights group related signals into six operational summaries instead of presenting every counter at equal weight.
  • Continual-learning skill candidate, promotion, demotion, and deprecation transitions now emit control-plane evidence; per-turn context assembly can delegate multi-source recall to one tenant-scoped token budget.
  • LongMemEval-V2, SWE-bench Lite, MemBench, and Terminal-Bench adapters now exercise and report the control plane; benchmark memory can run on filesystem or Oracle, with Oracle vector-dimension preflight before paid model calls.
  • LongMemEval-V2 retrieval combines tenant-scoped lexical and vector lanes, diversifies results across trajectory sources, and preserves both ends of bounded accessibility trees so exact late-menu UI labels are not silently discarded.
  • Terminal-Bench and SWE-bench agents require a successful substantive terminal_verify call before the host accepts a final response.
  • The filesystem provider loads FAISS lazily per provider and supports use_faiss=False exact cosine search for small stores or incompatible native runtime combinations.
  • Reloaded agents now retain their secret-free LLM provider/model metadata in llm_config, keeping SDK, CLI, MCP, and UI introspection consistent with the hydrated runtime provider.

  • Entity-memory reads are strictly scoped by both memory_id and user_id; authenticated requests no longer inherit anonymous legacy rows. A separate operator-only EntityMemory.migrate_legacy_scope() API provides deliberate provider-managed adoption for filesystem, MongoDB, and Oracle.

  • Learning-control-plane EvidencePack retrieval now uses entity memory’s bounded exact fallback and carries retrieval mode/degradation metadata when vector search is unavailable or fails.

  • MongoDB entity vector failures propagate typed evidence to the fallback layer; lazy missing indexes remain eligible for creation, failed filter-index reconciliation remains retryable, and stale status entries are invalidated after successful creation or update.

  • Oracle entity upserts lock and verify the existing memory/user owner before updating a globally unique entity_id, preventing direct SDK calls from moving another tenant’s entity row.

  • The model-visible entity_memory_upsert schema no longer contains memory_id; active scope is supplied only by the host. Repeated identical entity relations are deduplicated and no longer trigger redundant embedding and storage writes.

  • Oracle list_all(shared_memory) now returns its typed relational projection, allowing immutable learning events and compiled artifacts to survive and be enumerated after agent reload.

  • Completion-gated streaming buffers candidates until host acceptance, cached completions are revalidated by the current policy, and tool-evidence policies cannot be bypassed by a cached string.

  • Exact semantic-cache repeats use their deterministic scoped key before vector search, avoiding false misses caused by floating-point score rounding at a strict 1.0 threshold.

  • SWE-bench completion retries now have a bounded reservation beyond the normal work-loop tool budget, so the mandatory final verification cannot be blocked by an exhausted exploration budget.

  • Optional Harbor/Terminal-Bench adapter with native ATIF v1.7 trajectories, isolated per-trial memory, bounded terminal execution, token/cost reporting, spend guards, and deadline-aware finalization.
  • RetrievalPolicy separates automatic episodic/knowledge recall from memory storage and tool availability, with exact thread and KB-namespace scopes.
  • Capability flags for thread-scoped summaries, retrieval policy, shared-agent concurrency safety, logical tool trace names, and session-safe cache defaults.
  • Durable observability timelines that expand streamed trace bundles and tool execution logs by their real memory/thread scope.
  • Read-only Trace Insights for agent/thread windows, with JSON export and evidence-ranked recommendations for tool, prompt, retrieval, context, and continual-learning improvements.
  • Canonical v2 trace envelopes with application, agent, run, turn, root trace, span, memory, thread, and user identity. Named/application-scoped agents use stable IDs and automatically upsert themselves and new memory associations.
  • Provider-neutral cursor-paginated observability queries, with a native indexed MongoDB implementation and query latency, scan, truncation, and freshness metadata.
  • Durable recommendation reviews, versioned draft Evalground experiments, and trace-linked verified feedback/task outcome records.
  • Optional local UI token authentication, signed expiring sessions, read-only provider inspection, field-level trace redaction, and trace-view audit logs.
  • Oracle migration 005_scoped_retrieval_052.sql for summary thread markers, knowledge-base namespaces, safe legacy backfill, and exact-scope indexes.
  • A bare MemAgent() now uses the filesystem memory provider at ~/.memorizz/memory by default. MEMORIZZ_MEMORY_ROOT relocates it and memory_provider=False remains the explicit stateless opt-out.
  • OpenAI’s provider supports a Responses API tool loop and current GPT-5.6 completion limits, reasoning, context-window, usage, and prompt-cache rules.
  • Summary registries, expansion, source-message reconstruction, MongoDB vector lookup, and Oracle summary storage now preserve exact thread_id scope.
  • Shared MemAgent, progressive router, stream callback, and semantic-cache execution state is context-local for concurrent web requests.
  • Routed stream traces report both logical_tool_name and model_tool_name; tool_name is the application-level logical name.
  • Persisted tool-result traces retain success/error status and monotonic duration so the observability UI can calculate failure and latency signals.
  • Model and tool spans are captured for synchronous and streaming execution; model spans include provider/model identity, duration, and available token usage, while all spans retain parent/root correlation.
  • Trace bundles now live in private observability records instead of hidden conversation rows, so telemetry cannot enter chat recall or inflate raw conversation history. Legacy conversation bundles remain readable.
  • The traces dashboard uses bounded provider queries instead of collection-wide reads and exposes a cursor JSON endpoint at /traces/events.json.
  • Semantic cache is session-scoped by default and fingerprints request context to prevent stale reuse when page or grounding context changes.
  • MCP client/server dependencies moved to memorizz[mcp]; importing and using non-MCP Memorizz features no longer requires MCP, Uvicorn, or cryptography. The npm bridge installs this extra so its complete CLI surface remains intact.
  • The continual-learning guide now makes experimental-arm isolation, outcome grading, and developer-versus-user skill authority explicit.
  • Automatic recall can no longer silently broaden a requested thread or namespace when a third-party provider ignores those query parameters.
  • In-memory semantic cache entries cannot cross memory scopes when one agent is shared by multiple concurrent requests.
  • Filesystem and Oracle retrieval apply thread/namespace boundaries before top-k ranking, avoiding false misses caused by out-of-scope candidates.
  • Per-call stream callbacks and resolved execution IDs survive the UI worker boundary, and UI edits preserve persisted retrieval/governance settings.
  • Non-progressive tool routing can invoke every schema it disclosed instead of incorrectly requiring the hidden discovery handle.
  • Structured ApprovalResumeResult evidence with the exact consumed proposal, exact tool result, optional assistant continuation, and deterministic continue_model=False operation.
  • MemAgentBuilder.with_oracle_from_env() and .with_e2b_from_env() presets, including local-runtime readiness, Oracle preflight, and secret-free reports.
  • Response-free semantic-cache inspection, tenant-scoped agent.observability_summary(...), and agent lifecycle/context-manager APIs with optional exact-scope cleanup.
  • Summary generation accepts explicit memory, tenant, and thread scopes and no longer inherits the most recently executed user’s identity.
  • Streaming provider/API failures carry typed terminal event fields and may be re-raised with raise_on_provider_error=True.
  • Deterministic delegation plans normalize SubTask instances into JSON-safe records and round-trip status/results through SubTask.from_dict().
  • Optional provider tenant filters consistently distinguish omitted/unscoped reads from explicit None anonymous reads.
  • Oracle preflight now reports the database Release Update in version_full instead of exposing only the compatibility version.
  • Oracle preflight now fails closed on configured-embedder/schema dimension mismatches before a later write can raise ORA-51803.
  • First-class MCP client connectivity over stdio, Streamable HTTP, and legacy SSE, including Notion and Google Calendar OAuth presets, encrypted credentials, SSRF controls, mutation approval, and CLI/UI management.
  • A first-party MemoRizz MCP server with 11 memory, conversation, and agent tools; resources and a prompt; local stdio; authenticated Streamable HTTP; per-principal tenant isolation; scoped bearer grants; and explicit remote write, execution, and agent-exposure policy.
  • Durable, generic human approval proposals with exact argument hashes, serialized checkpoints, expiry, approver audit fields, atomic single-use consumption, Python/UI decision surfaces, MCP-specific CLI controls, and exact resume semantics. Model-visible approved and confirm arguments have been removed.
  • First-class progressive tool disclosure through SemanticToolRouter, with scoped top-k retrieval, stable discovery/invocation handles, allowlisted dispatch, strict JSON Schema/signature binding, aliases, deprecated-argument migration, and duplicate/retry budgets.
  • Size-aware ToolResultPolicy: small responses remain inline, large responses are persisted exactly once behind digest-bearing pointers, and expansion tools are never re-offloaded.
  • Semantic-cache governance with tenant-complete keys, admission/bypass rules, model/prompt/tool/data fingerprints, freshness and provenance, operational counters, and domain/tag/version invalidation APIs.
  • A governed semantic layer with versioned entities, measures, dimensions, relationships, policies, synonyms, lineage, and validated query plans.
  • Oracle local-runtime bootstrap, structured preflight, configurable vector index policies, exact-search fallback, sizing diagnostics, and transactional delete_scope(...) cleanup.
  • memorizz.capabilities(), agent.capability_report(), memorizz capabilities, and memorizz oracle preflight for feature-level deployment checks.
  • Provider-neutral browser control with an isolated Browser Use provider, bounded natural-language tasks, domain policy, direct-IP blocking, private fixed-worker execution through the isolated tool interpreter, structured results, process-group timeouts, deterministic browser cleanup, builder and persistence support, and CLI/UI configuration. Every model-initiated browser call uses generic durable HITL.
  • Generic /approvals and browser-specific /browser REPL commands, plus --browser-control/--no-browser-control on chat and run.
  • E2B uses the current Sandbox.create(...) lifecycle with an older-SDK compatibility path, one bounded stateful session, normalized result shapes, fail-fast API-key validation, explicit egress/compute metadata, and reliable context-manager termination.
  • GraalPy subprocess mode is now explicitly a bounded execution provider—not a strong sandbox—with private-path confinement, environment allowlisting, resource limits, and fail-closed network policy. The packaged Java wrapper is mandatory for UNTRUSTED mode. The UI now keeps mode selection independent from egress and defaults trusted subprocess execution to network denied.
  • Multi-agent orchestration and decomposition use the configured LLMProvider and model, support deterministic plans, make delegates operational, propagate tenant/request/tool/trace context, scope shared memory by workflow, and expose dependency-aware partial failures.
  • MemAgentBuilder now covers sandbox, Toolbox, Skillbox/authored skills, skills marketplaces, tool/context policies, approval stores, delegation, the semantic layer, validation, and persistence.
  • Deterministic Toolbox registration no longer constructs an LLM or embedding client. Trusted callables can be rebound after restart only through explicit registries or import references.
  • Authored Skillbox retrieval is independent of continual learning and applies agent/user isolation before vector top-k selection.
  • Browser Use is deliberately invoked through the isolated Python interpreter of a separately installed tool environment because its current package dependency line is incompatible with MemoRizz’s MCP 2.x requirement; model-provided code is never executed.
  • Oracle setup and teardown no longer contain, infer, return, or print default database passwords. Non-interactive setup requires explicit credentials and interactive setup uses hidden input. UI-created Docker containers pass credentials through a private short-lived env file rather than process argv.
  • Oracle now persists complete Toolbox JSON Schemas and restores required, default, enum, nested-type, alias, policy, and import-reference metadata.
  • Oracle summaries now retain canonical source-message IDs, period boundaries, unit counts, summary-by-ID lookup, normalized message links, atomic original marking, and lossless expansion parity with other providers.
  • Oracle knowledge-base and short-term writes return their physical record IDs, restoring reliable write/read round trips through the first-party MCP server.
  • MCP mutation classification now honors tool annotations and configured metadata before conservative name inference.
  • Tool-log listing now preserves exact anonymous/user scope and cannot leak a tenant’s records through an omitted optional argument.
  • Opt-in passive SHADOW-traffic evaluation now observes only new, post-distillation workflows in a bounded background queue. It performs deterministic, tenant-scoped canonical-trajectory and business-outcome comparisons without prompt injection, LLM calls, tool re-execution, a second action-taking agent, or automatic activation.
  • Workflow records persist versioned, idempotent shadow_evaluations; skill records expose a bounded derived stats["shadow"] aggregate and the advisory get_shadow_readiness(skill_id) API.
  • Filesystem, MongoDB, and Oracle apply SHADOW lifecycle and tenant filters before final top-k retrieval. MongoDB reconciles Skillbox vector-index filter fields, and Oracle migration 003_add_shadow_evaluations.sql adds a JSON-constrained workflow CLOB.
  • The Local UI exposes passive evaluation and displays observation count, trajectory-match rate, matched-trajectory success rate, last evaluation, and readiness reasons while preserving explicit activation.
  • Active attribution and drift monitoring now accept only ACTIVE skills. SHADOW evidence never enters skills_activated, activation counters, or rolling demotion statistics.
  • Parts 5 and 6 of the continual-learning notebook are split into shorter narrated stages while retaining case-level and aggregate DataFrames.
  • Release recovery verifies wheel bytes exactly and compares normalized sdist contents, avoiding false failures caused only by cross-platform gzip/tar metadata.
  • Learned skills now persist a trust-aware injection_role (user or developer) across filesystem, MongoDB, and Oracle. user remains the backward-compatible default; developer-authority promotion is rejected unless shadow review is required, and reviewers can choose the role programmatically at activation.
  • MemAgent prompt assembly emits reviewed developer skills as a separate developer message. Official OpenAI requests preserve that native role; Anthropic maps it to the top-level system parameter; Ollama, OpenAI-compatible endpoints, Hugging Face, and MLX use their system-equivalent compatibility path.
  • The agent form exposes learned-skill authority and shadow review, and the skill lifecycle page displays each stored role and the activation authority.
  • Oracle schemas now include skillbox.injection_role, with additive migration 002_add_skill_injection_role.sql for existing deployments.
  • The continual-learning notebook now compares raw workflow replay, the same reviewed skill at user authority, and that skill at developer authority in case-level and aggregate DataFrames covering accuracy, provider tokens, latency, role placement, and raw-workflow isolation.
  • Continual-learning documentation now defines the workflow-to-skill use case, instruction hierarchy, provider mappings, Oracle-backed order ingestion, role safety boundary, and the invariant that skill agents capture workflows as evidence without automatically retrieving them into prompts.
  • Oracle lazy vector-index creation now passes the live cursor to _table_has_column(cursor, table_name, column_name). Previously skill retrieval logged a missing-argument warning and returned no matches even though earlier promotion writes could succeed.
  • The interactive CLI banner now shows the installed Memorizz version and the live continual-learning state. memorizz config and /config also report the selected memory backend, embedding mode, and learning state.
  • The Local UI now gives workflow trajectories and learned skills a dedicated Continual Learning navigation group, and its Oracle settings expose an explicit in-database ONNX versus external-provider embedding mode.
  • The automations worker now uses the configured filesystem, MongoDB, or Oracle memory backend instead of constructing an Oracle provider unconditionally, and closes the provider cleanly when the worker exits.
  • The CLI guide now documents persistent and one-session continual-learning activation, the requirement for tool-calling workflows, and external-vector Oracle configuration.
  • First-party CLI and UI Oracle clients now preserve existing external-vector schemas when an external embedding provider is configured, while retaining in-database embeddings as the default for new setups.
  • Oracle vector-index creation now skips legacy or non-vector tables that do not contain an embedding column instead of issuing an invalid database operation.
  • Anthropic prompt caching no longer mutates MemAgent’s reusable conversation history or accumulates stale cache_control fields across tool-loop iterations. Streaming and non-streaming calls now share one request builder that owns deep copies of message/tool data, preserves caller-supplied breakpoints, and enforces Anthropic’s four-breakpoint request-wide limit before any API call.
  • Release automation now verifies and accepts an existing byte-identical PyPI upload before requesting Trusted Publishing credentials, allowing a project-token fallback release to continue to GitHub/npm/Homebrew jobs. It also supports resuming an existing immutable tag through manual dispatch and skips npm publication cleanly when its repository token is not configured.
  • Removed MemAgent.switch_thread, CWM, ConfigBuilder, and WorkflowManager. These surfaces were unreferenced by the maintained docs, examples, and test suite; applications importing them must migrate before upgrading.
  • Removed ~5,000 lines of verified-dead code. An abandoned half-refactor in memagent/ (handlers/, utils/{formatters,helpers,validators}.py, builders/config_builder.py, the never-called WorkflowManager), the legacy pre-Toolbox database/ package, the dead memory_unit layer (MemoryUnit was never constructed; summary_component.py was byte-identical to the episodic copy), ~650 lines of orphaned provider methods, unused Workflow/EntityMemory/KnowledgeBase/semantic-cache methods, the unused CWM working-memory class, dead embeddings-provider info methods, and repo orphans (scenario/, superseded eval scripts, drifted Homebrew formula, obsolete Oracle thick-client installers).
  • pytest configuration was silently inert and is now active. pytest.ini used the [tool:pytest] header (only valid in setup.cfg), so strict markers, timeouts, and warning filters never applied. Fixed the header and registered the three markers tests actually use.
  • Streaming and non-streaming tool loops now share one body (_execute_and_record_tool_call): ~190 near-verbatim duplicated lines (argument parsing, execution, tool-log offload, placeholder persistence, workflow capture) existed twice and had already drifted once.
  • MongoDB provider dispatch consolidated: three identical collection-mapping dicts and five if/elif chains replaced by a single _collection() resolver (−520 lines), pinned by a new mongomock dispatch test suite covering every memory type.
  • MongoDB agents are now addressable by their custom agent_id. store_memagent previously stripped the custom id and every lookup resolved only ObjectId _ids — agents saved under string ids (the SDK default is a uuid4) were unretrievable, repeated save() calls inserted duplicates, and toolbox syncing was scoped to the wrong id. The id is now persisted, all agent operations resolve either identifier, and store_memagent upserts (matching the filesystem provider’s semantics).
  • ui/app.py fully decomposed: 9,052 → 1,910 lines. Eight route groups extracted into ui/routers/ (traces, memory pages, vercel-skills, knowledge-base, whatsapp webhook, evalground, agents CRUD, playground) with shared helpers in ui/helpers.py; all 35 routes byte-identical in path/method/response class, gated by a new whole-app smoke suite plus functional tests for the agent-CRUD/playground/evalground flows.
  • memagent/core.py decomposed: 6,612 → 5,367 lines. Tool-log placeholder helpers → memagent/utils/tool_log.py; save/load/refresh and memory download/update → memagent/persistence.py (thin delegates keep every public signature); summary generation → MemoryManager.
  • clear_semantic_cache now works on every provider via a generic base-class implementation (previously MongoDB-only; filesystem/Oracle calls raised and were silently swallowed).
  • Agent persistence bug fixed: the filesystem and MongoDB retrieve_memagent/list_memagents reconstruction whitelists dropped continual_learning/continual_learning_config on load.
  • Packaging/CI: the wheel no longer ships an unowned top-level eval/ directory into site-packages (moved under memorizz/eval/); removed the unused platformdirs base dependency; the release gate now runs the same test set as CI (performance suite excluded); the Homebrew tap job’s token gate moved into a step (the job-level secrets condition never evaluated); make lint now fails on real errors (F-class/E9) instead of || true-ing everything; fixed the broken setup_oracle import in the remote-oracle notebook; UI whole-app smoke tests added (44 routes/pages).
  • Release hardening: UI template rendering now supports both legacy and current Starlette signatures without pinning users to an old FastAPI; package/UI/npm metadata is synchronized at 0.2.0; agent edits preserve WhatsApp configuration; dashboard automation counts work on every supported backend; release CI installs the UI and optional-provider test dependencies instead of silently skipping those suites; and docs use the canonical CLI commands and valid links.
  • Trajectory-class view (/memory/workflows): workflow runs are now grouped by canonical hash into classes with per-class executions, success rate, query diversity, recency, and a pass/fail chip per promotion gate; expandable run lists mark skill-suppressed rows.
  • Promotion controls: a per-agent Run promotion cycle button and a per-class Distill now button (backed by the new PromotionEngine.promote_class / ContinualLearningManager.promote_class) — both still enforce the full eligibility and validation gates; the resulting promotion report renders on the page.
  • Skill lifecycle page (/memory/skills): status badges, versions, activation stats, baselines, preconditions, and the distilled SKILL.md, with Activate (shadow → active + stamp backfill) and Demote (new ContinualLearningManager.demote_skill; releases suppressed workflows) actions.
  • Trajectory canonicalization (long_term/procedural/workflow/canonicalization.py): every stored workflow now carries a canonical_hash — the sha256 of its (tool, argument-shape, error-class) unit sequence with retries collapsed — so runs that are “the same procedure” count together regardless of argument values. Computed inside Workflow.store_workflow, shared by both the streaming and non-streaming capture paths. Backfill existing rows with scripts/backfill_canonical_hashes.py (aggregation also hashes legacy rows on the fly).
  • Skillbox memory store (MemoryType.SKILLBOX, long_term/procedural/skillbox/): learned skills are SKILL.md documents in the database with a lifecycle (candidate | shadow | active | deprecated | demoted), applicability-only embeddings (name + description + preconditions + trigger queries — never the tool sequence), and per-skill stats. Supported by all three providers (MongoDB, filesystem, Oracle — including new Oracle table DDL + migrations).
  • Promotion engine (PromotionEngine / PromotionConfig): trajectory classes clear explicit gates (min_executions, min_success_rate, min_distinct_queries, recency) before LLM distillation; distilled skills must pass a machine validation gate (tool resolution, no hallucinated tools, intent-not-mechanism description, size cap, no literal-value leaks, LLM judge) before gaining any context authority. require_shadow=True stores new skills as non-injecting SHADOW for human review.
  • Cache-safe injection: a static learned-skills contract in the system prompt (priors-not-mandates, precondition checking) plus per-turn rendering of matching skills at the top of the volatile context block — the prompt-cache stable prefix is never touched. Retrieval threshold 0.70, stricter than any other memory retrieval.
  • Lifecycle monitoring (SkillMonitor): every run records skills_activated; skills track successes/failures/deviations and a rolling success window, are demoted on drift below their promotion-time baseline, deprecated when a referenced tool disappears, and release their suppressed workflows back to retrieval on any exit from ACTIVE. Re-qualification (post-demotion runs only) produces a v2 skill informed by the old demotion reason.
  • Retrieval suppression: Workflow.retrieve_workflows_by_query now excludes trajectories covered by an ACTIVE skill by default (exclude_promoted=False opts out); runs are always still written — they are the drift-evidence stream.
  • Agent surface: MemAgent(continual_learning=True, continual_learning_config={...}), MemAgentBuilder.with_continual_learning(...), persisted on MemAgentModel, MEMORIZZ_CONTINUAL_LEARNING=1 env default; learned skills appear in list_skills / read_skill tagged source: "learned". Promotion cycles run off the hot path (daemon thread, every promotion_every_n_runs stored runs; 0 = manual).
  • Educational notebook + live A/B evaluation (examples/continual_learning/continual_learning_guide.ipynb): walks the full loop programmatically, then benchmarks two real MemAgents — workflow memory only vs. a promoted learned skill — with paired trials, τ-bench-style pass^2, trajectory-graded accuracy, token accounting across the whole tool loop, and a McNemar-style exact binomial test on the paired flips (the same convention as eval/longmemeval/compare_runs.py). On gpt-4.1-mini the skill arm scored 100% vs 55% accuracy (p = 0.0039) for a ~33% prompt-token tax.
  • Fixes surfaced by the loop: MongoDB now preserves workflow_id and agent_id on workflow documents (previously stripped at store time, which broke per-agent trajectory aggregation); Workflow.from_dict and user_id round-trip stored embeddings/user scope instead of re-embedding on every load; Oracle gained a proper retrieve_by_id branch for workflow rows.
  • Prompt-cache-friendly context assembly. Requests are now ordered stable-prefix → volatile-tail: the system prompt is frozen for the session (tool-log digest, entity facts, and per-call request context moved out of it), conversation history is append-only with chunked eviction (window start only moves at 20-message boundaries), and all per-turn content is rendered into a <memorizz:context> block at the start of the final user message. Tool definitions are serialized in deterministic (sorted) order.
  • Anthropic prompt caching. The Anthropic provider attaches cache_control breakpoints automatically (system prompt + last two messages) — in live testing ~99% of the prompt is served from cache from turn 2 onward. Opt out with enable_prompt_caching=False.
  • OpenAI cache routing. The OpenAI provider pins a per-thread prompt_cache_key and supports prompt_cache_retention="24h"; streaming requests now request the final usage chunk (stream_options) so cache metrics are reported on streams too.
  • Cache observability. get_last_usage() now includes cached_tokens (plus cache_read_input_tokens / cache_creation_input_tokens on Anthropic). Anthropic prompt_tokens now reports the true prompt size (uncached + cached), fixing under-counted context-window telemetry.
  • Assembly-time dedup pipeline (memagent/utils/context_dedup.py): retrieved memories are exact-hash deduplicated across sources, dropped if already present in the in-window conversation history, near-dup filtered via stored-embedding cosine similarity (>= 0.95), MMR-selected (relevance blended with recency), and rendered in deterministic chronological order.
  • Write-path guards. Identical consecutive (query, response) pairs (semantic-cache hits, retries) are no longer double-written to conversation memory; entity upserts that add no new information skip the re-embed and re-store (NOOP).
  • Pre-inference retrieval is now actually used. Previously every turn ran 3 vector searches + 3 embedding calls whose results were silently discarded; retrieval is now gated on the agent’s active memory types, returns stored embeddings for dedup (include_embedding), and the deduped selection is injected into the prompt. Toolbox pre-retrieval was dropped (tool schemas already ride in the tools parameter).
  • Episodic semantic recall works. Conversation rows (previously stored with embedding=None, making vector recall structurally empty) are now embedded by a background worker after each turn — the hot path never blocks on the embedding API. Oracle gained the missing conversation-memory string-query vector-search branch. Disable via MEMORIZZ_DISABLE_CONVERSATION_EMBEDDINGS=1.
  • Shared embedding memo. EmbeddingManager caches text → vector (LRU), collapsing the up-to-5 identical query embeddings per turn into one API call.
  • Indexed summaries query. load_summaries_for_thread uses a native scoped MongoDB query (list_summaries) instead of scanning the whole summaries collection every turn; other providers keep the shared fallback.
  • Background summarization. Automatic context summarization now runs on a daemon thread with an in-flight guard instead of blocking the turn.
  • Filesystem provider write race fixed. Document/index writes are now serialized per store and use unique tmp names (concurrent writers could previously fail with ENOENT on the shared index.tmp).
  • Oracle conversation rows are now individually addressable. store() returned the conversation’s grouping memory_id instead of the row id, and update_by_id used memory_id as its WHERE key — so any per-row update (embedding backfill, summary marking) silently rewrote EVERY row in the conversation (all rows ended up sharing the last message’s embedding, degrading episodic recall to noise), and retrieve_by_id fell into a generic fallback that always returned None. Store now returns the RAW(16) row id, updates/reads address rows by it, and episodic vector recall on Oracle returns correctly-ranked matches (verified: planted-fact recall score 0.77 vs 0.02 before).
  • LongMemEval harness upgrades (eval/longmemeval/): benchmark-correct --ingest_mode direct (stores the dataset’s user+assistant turns verbatim with embeddings; the legacy replay mode regenerated assistant replies and lost the evidence for single-session-assistant questions), --context_window_tokens to force genuine long-horizon memory dependence, --config_label/--judge_model, deterministic evenly-spaced sampling for paired A/B runs, per-sample token/cache metrics, and a compare_runs.py paired-comparison report (per-category deltas, question flips, McNemar).
  • Mechanism probes (scripts/memory_accuracy_probes.py): live Oracle-backed checks for eviction-boundary recall, dedup false-positives, knowledge updates, prompt-cache neutrality, and the repeat-turn write guard.
  • Automations on every backend. Scheduled agent.run() automations now work on the default FileSystem store and on MongoDB, not just Oracle (FileSystemAutomationStore + MongoDBAutomationStore).
  • /automation REPL command — list and run the automations attached to the current agent (/automation, /automation run <id>).
  • Automations can search the web. A scheduled agent restores its internet provider (Tavily / Firecrawl) on load and can call internet_search / open_web_page during a run.
  • One-line installers. npm i -g memorizz and curl -fsSL https://raw.githubusercontent.com/RichmondAlake/memorizz/main/install.sh | sh (both bootstrap uv), alongside pip install memorizz / uvx memorizz.
  • Ollama Cloud models. An explicit :cloud model (e.g. glm-5.2:cloud) is now honored by the CLI instead of being substituted with a local model. Authenticate with /login ollama (runs ollama signin), then /model glm-5.2:cloud.
  • Default local stack works on a lean install. Ollama embeddings required langchain_ollama (an optional extra) and the ollama client wasn’t a base dependency, so a plain pip install memorizz + memorizz crashed with “langchain_ollama is required for Ollama embeddings”. Embeddings now use the native ollama client, and ollama is a base dependency (still no langchain, no torch).
  • Agents executing a scheduled automation no longer wander into managing automations — automation-management tools are suppressed for the run (fixes off-task / empty outputs from smaller models).
  • FileSystemAutomationStore is now multi-worker-safe (POSIX file lock around job claiming).
  • New interactive CLI — memorizz is now a Claude-Code-style local agent. Running memorizz with no arguments launches an interactive REPL that streams the agent’s replies live, with / slash commands (/help, /model, /provider, /ollama, /code, /memory, /history, /agents, /agent, /new, /persona, /persona-reset, /tools, /ingest, /forget, /ui, /login, /config, /docs, /clear (wipe all memory, with confirmation), /cls, /exit). Also adds memorizz chat, one-shot memorizz run "<prompt>", memorizz init, memorizz config, and memorizz --version. python -m memorizz now works.
  • Zero-config local stack. With no API key set and an Ollama daemon running, the CLI defaults to Ollama (LLM + nomic-embed-text embeddings) + an on-disk FileSystem memory store under ~/.memorizz/memory — a 100%-local agent with no keys. Cloud keys (Anthropic / OpenAI / Azure) are auto-detected when present.
  • /code coding mode. memorizz --code (or /code in the REPL) enables the agent’s self-aware file read/write + bounded command tools, scoped to the working directory (writes on, deletes off).
  • Internet access. Set TAVILY_API_KEY or FIRECRAWL_API_KEY (or /login tavily) and the agent gains web search + page reading (internet_search / open_web_page); toggle at runtime with /web on|off|tavily|firecrawl. No extra install — the providers call the REST APIs directly. Tavily runs at advanced search depth for ~5x richer results.
  • Canonical config at ~/.memorizz/. Keys/settings live in ~/.memorizz/.env (override via MEMORIZZ_HOME / MEMORIZZ_ENV_FILE), shared by the CLI and the local web UI. $CWD/.env is still honored for back-compat.
  • One persistent agent + memory across launches. Each memorizz session loads (or creates once) a single default MemAgent and reuses its rolling memory id, persisted to ~/.memorizz/state.json, so facts learned in one session are recalled in the next instead of starting fresh every launch.
  • Distribution. Installable via uv tool install memorizz / pipx install memorizz, a Homebrew tap, and an npm shim (npm i -g memorizz, bootstraps uv).
  • Local UI wrote .env to an unreadable path. The Settings page computed the env file as <package>/../../../.env, which under a pip/uv install landed in site-packages where nothing read it. Env handling is now centralized in memorizz._env_io, and the UI reads/writes the same ~/.memorizz/.env as the CLI.
  • Ollama reasoning models returned truncated/empty output. OllamaLLM now auto-enables think for reasoning families (qwen3 / deepseek-r1 / qwq / magistral), so their thinking is surfaced (shown dimmed in the REPL) and the full answer streams through instead of being cut off.
  • FileSystem semantic recall could crash with “only length-1 arrays can be converted to Python scalars” when a stored embedding had an unexpected shape; cosine similarity now flattens and shape-checks operands, skipping mismatches rather than aborting retrieval.
  • Persona / knowledge-base embeddings failed on a keyless local stack. Components using the module-level get_embedding() defaulted to OpenAI; the CLI now points the global embedding manager at the active provider (e.g. Ollama nomic-embed-text), so /persona and /ingest work fully offline.
  • Small local models looped on tool calls during plain chat, hitting the 20-step cap on even simple questions. The default memory-assistant no longer exposes the auto-registered lookup/utility tools (knowledge_base_lookup, entity/summary/tool-log helpers) that small models compulsively call — memory is still injected via context, so recall is unaffected. /code keeps its tools.
  • The heavy local-ML stack is no longer installed by default. transformers, sentence-transformers, accelerate, and huggingface-hub moved out of the base dependencies into the existing huggingface extra, so a default pip install memorizz (and uv tool install memorizz) no longer pulls a multi-GB PyTorch stack. If you use local HuggingFace models or HF embeddings, install pip install "memorizz[huggingface]".
  • Minimum Python is now 3.10 (the old >=3.7 never matched the actual dependency floors).
  • Oracle provider: workflows were stored without embeddings, so retrieve_workflows_by_query never matched. The workflow_memory table has an embedding VECTOR column and retrieve_by_query runs a VECTOR_DISTANCE search over it, but _store_workflow_memory skipped embedding entirely — leaving every workflow unsearchable by intent. It now embeds the workflow’s stable identity (name + description) via _generate_embedding_if_needed, so Workflow.retrieve_workflows_by_query(...) returns semantically relevant runbooks. Steps/outcome are still excluded from the embedding (they carry volatile, arbitrary tool output).
  • Oracle provider: Toolbox.register_tool failed with DPY-3002. _store_toolbox bound the tool id straight from the caller, but Toolbox hands it a uuid.UUID object, which python-oracledb cannot bind (“Python value of type UUID is not supported”). The id is now coerced to text (str(tool_id)) before binding, so registering tools into a Toolbox (and the procedural-memory notebook flow) works against Oracle. Complements the 0.0.50 VECTOR-binding fix.
  • Oracle provider: ORA-01484 on VECTOR writes in thin mode. Several store paths bound the embedding as a raw Python list, which python-oracledb’s thin mode rejects (“arrays can only be bound to PL/SQL statements”) — breaking agent.save() (toolbox + persona rows), entity-memory upserts, and the multi-agent / shared-memory writes behind MultiAgentOrchestrator. Every embedding bind now flows through the existing _prepare_vector_value helper (list → array.array("f", …)): _generate_embedding_if_needed normalizes both the provided- and freshly-generated-embedding branches (covering all _store_* impls), and the agent / persona / toolbox upsert sites use the same helper. Verified end-to-end against Oracle Database 23ai Free.
  • Concurrent provider init no longer crashes with CollectionInvalid. MongoDBProvider._create_memory_store checks list_collection_names() and then create_collection() for each memory store. Under concurrent initialisation — e.g. multiple gunicorn workers each building the provider on their first request after a deploy, before the collections exist — two workers could both pass the existence check and the loser’s create_collection() then raised pymongo.errors.CollectionInvalid: collection <name> already exists, aborting provider construction (and taking down the agent for that worker). Creation is now idempotent: CollectionInvalid and OperationFailure code 48 (NamespaceExists) are swallowed, since the collection exists either way. Any other OperationFailure still propagates.
  • tool_log queries are now native-indexed. MemoryManager.list_tool_logs previously did a full list_all(MemoryType.TOOL_LOG) and filtered + sorted + sliced in Python — O(n) in the user’s lifetime tool-call count. The MongoDB provider now ships a native list_tool_logs(memory_id, user_id, limit) that pushes filter + sort + limit to the server, backed by two new compound btree indexes (tool_log_memory_timestamp, tool_log_user_timestamp) plus a unique tool_log_id index. The manager uses the native helper via duck-typing (hasattr) so other providers continue to use the in-memory fallback unchanged.
  • Hot-path btree indexes added for CONVERSATION_MEMORY (memory_id + thread_id + timestamp, user_id + timestamp), ENTITY_MEMORY (user_id + updated_at), and SUMMARIES (memory_id + period_end). Created idempotently at provider init via a new _ensure_btree_indexes helper. Failures (duplicate spec from an earlier migration, etc.) are logged at DEBUG so a single provisioning hiccup never breaks agent boot.
  • reset_tool_context() token argument is now optional. The 0.0.43 signature change required callers to pass the token returned by set_tool_context, breaking the 0.0.42-era no-arg pattern downstream code still uses. The argument is back to optional with a documented fallback (“clear unconditionally”) for cleanup contexts that no longer have the token in scope.
  • Vector-index creation noise softened. Atlas free / shared tiers cap the number of search indexes per cluster (M0/M2 = 3). Before this release the MongoDB provider raised RuntimeError from _ensure_semantic_cache_vector_index and printed a stderr stack trace at every agent boot. Now we classify quota / unsupported errors (code=20 IllegalOperation, “Atlas Search not enabled”, etc.) and:
    • Track the affected collection in a _vector_indexes_unavailable set on the provider so downstream find_similar_* / _knowledge_base_vector_search helpers short-circuit to [] instead of issuing aggregations that can’t succeed.
    • Skip store_semantic_cache_entry writes when the cache index is unavailable (silent writes would mask a misconfigured deployment).
    • Emit one structured WARNING per unique root cause, not one per collection — typical M0 boot now logs a single line instead of twelve stack traces. Filesystem and Oracle providers already had analogous graceful degradation paths (_vector_search_disabled_for, FAISS fallback); the MongoDB fix brings parity.
  • Mixed inclusion/exclusion projection in vector pipelines. Six $vectorSearch consumers (retrieve_persona_by_query, retrieve_toolbox_item, retrieve_entity_memory_records, retrieve_workflow_by_query, retrieve_summaries_by_query, find_similar_cache_entries) built a $project stage that mixed inclusion ("field": 1) with exclusion ("embedding": 0) — Mongo rejects that combination outside of _id. Centralized into one _build_vector_search_pipeline helper that uses the $vectorSearch → $project: {embedding: 0} → $addFields: {score: $meta} shape across every consumer, so the rule can’t be re-violated by future copies.
  • MemAgent.llm_config / llm_provider / llm_model are now exposed. The constructor accepts an llm_config dict but never stored it back as an attribute, making introspection awkward for status pages and debug endpoints. Now agent.llm_config returns the resolved dict and the two @property accessors return the string fields callers actually want.
  • MongoDB KB dict-query path with {"embedding": [...]} now uses vector search. Previously, a dict carrying a pre-computed embedding fell through to .find({"embedding": [...], "limit": 5}) which literally filtered for that vector — almost always returning zero rows. Routed through the new _knowledge_base_vector_search helper instead.
  • MongoDB provider: retrieve_by_query with a string query on CONVERSATION_MEMORY, KNOWLEDGE_BASE, or SHORT_TERM_MEMORY no longer crashes with filter must be an instance of dict. Two new helpers — find_similar_conversation_entries and find_similar_knowledge_base_entries — implement proper Atlas $vectorSearch over per-turn embeddings (mirroring the existing find_similar_cache_entries). SHORT_TERM_MEMORY string queries degrade to [] for now (no semantic index yet).
  • MemAgent runtime: MemoryManager.retrieve_relevant_memories now normalises provider return values — None → [], PyMongo cursors are materialised — so the len(results) debug log can no longer raise 'NoneType' has no len() and mask the real error. Every branch in the MongoDB provider’s retrieve_by_query now returns a list rather than None.
  • MongoDB TOOL_LOG persistence: store() no longer strips thread_id, memory_id, and agent_id when writing tool-log rows, so per-thread and per-agent audit views work end-to-end. Existing rows that were written without these fields are unchanged; new rows carry the full context.
  • MemAgent prompt building: _prepare_history_messages now drops role: "tool" entries pulled back from conversation_memory. The OpenAI Chat Completions API rejects any tool message that isn’t immediately preceded by an assistant message carrying matching tool_calls metadata — which stored history doesn’t preserve. The tool placeholder text is already embedded in the persisted assistant turn, so no information is lost.

These changes ship the fixes verified end-to-end against the Speechlyze MemAgent integration (analyses, docs, content generation, TalkThrough).