Skip to content

v0.21.2

Choose a tag to compare

@github-actions github-actions released this 22 Oct 17:13
· 14 commits to master since this release

Security

  • The Docker image no longer trusts the root behind the eMudhra CA key compromise (RHSB-2026-012). Pepe checks other servers' certificates against the system trust store, and a store from before the fix would let anyone able to intercept the network between Pepe and a provider (a model API, Telegram, a page fetched by fetch_url) impersonate that server. The image build now fails if the store still carries it. Rebuild and redeploy to pick it up (0.21.2 also forces the update, so a cached build layer cannot keep the old store); running from source, update your operating system's ca-certificates instead.

Added

  • Who can approve risky actions is now its own list on a chat connection, separate from who can train. Teaching the agent and approving a command are different powers, but approving used to follow the trainers list. Set it in the connection form on the Channels page, with mix pepe gateway approvers SLUG --set none|*|id1,id2|default or --approvers on gateway whatsapp add and gateway discord add. It accepts * for everyone in the conversation, said on purpose. A connection with no approvers of its own keeps using its trainers, so nothing changes until you set it; an explicit empty list turns typed approval off even where trainers are set.

Fixed

  • Screens and hints now say pepe ..., never mix pepe ... or bin/pepe rpc '...'. The Docker image ships a pepe command that talks to the node that is already running, so docker exec <container> pepe agent list works like it does on any other install, and the Integrations page, the dashboard password hint and the approval and setup messages show that short form. mix pepe stays only for someone running from source.
  • On the Channels page, people and channels that showed only as an id now get their name once the platform lets the bot read it. Pepe looked a name up once, the first time someone was heard; if that try failed (a Slack app still missing the read scopes, say), the id stayed forever. It now tries again on a later message while the name is missing, at most once every half hour for each person and channel. The scopes the Slack app needs are users:read, channels:read and groups:read.
  • A message on Slack, Teams, WhatsApp, Discord or Google Chat now always gets an answer, even when the run failed or had nothing to say. The platform showed the message as seen (the eyes on Slack) and then nothing came back, so you could not tell a failed run from a slow one and had to ask whether something went wrong. A failed run now says so in the chat (without the internal reason, which stays in the log and the trace), and a run that finished with an empty reply says that it finished.
  • When a risky action cannot be approved in a chat, the agent says why and where to fix it, instead of just "waiting for approval". A connection with nobody named to approve has nobody to ask, so the action is parked; the agent now explains that and points to Channels, the connection, "Who can approve risky actions".
  • Traces now show a run while it is still going, with a status of in progress, finished or interrupted. Until now a run only appeared once it ended, so a run that was stuck or had died left no trace at all and you could not tell whether an answer was missing because of an error. A run is listed the moment it starts and its steps appear as it works; one that stopped before recording its result shows as interrupted. The Traces page refreshes by itself while something is running, and the outcome filter has in-progress and interrupted options.
  • memory_search finds a note when you ask for it in other words. It used to look for the whole question as one literal phrase, so "where is the leads database" found nothing in a note saying "leads Postgres", and conexao never matched conexão. It now compares words with case and accents ignored, ranks entries by how many words match, and also reads the agent's other knowledge notes (not only MEMORY.md, USER.md and people.md).

Changed

  • Agents now start every conversation already knowing what worked before, so existing agents' system prompts change. A new TOOLS.md in the agent's workspace (how things get done here: where data and systems live, which tool does which job, the recipe behind a result that worked) is loaded into every conversation, and in a private conversation that may feed what the agent keeps (dashboard, API, terminal, editor, a one-to-one Telegram chat with someone the bot learns from) so are MEMORY.md and USER.md. In a group, in any other chat app, and for an anonymous widget visitor or a client of a customer-facing bot, only TOOLS.md is loaded, because the other two describe a person; those conversations are also never told to write notes, and the 👍/👎 reaction notes are not offered to them, so a stranger cannot put a line into what every later conversation starts with. A session built before its first message said it may not learn has its prompt rebuilt without them. Each file is clipped at 20,000 characters and the three together at 40,000, with a note in the prompt when something was cut; the prompt is still built once per conversation, so provider caching keeps working. The agent is told to write what worked into TOOLS.md in the same turn instead of waiting for the background review, and the review that runs when a conversation goes quiet (and the 👍/👎 reactions on Telegram) now write there too, never a secret's value. That review has the recipe as a job of its own, is told when the last exchange ran several steps without writing one, and is told to carry on with its own file when a read outside its workspace is refused: before this it answered "nothing" after one such refusal, and a conversation that had just found a working command was never written down. mix pepe agent footprint shows what the notes cost.
  • Agents now keep a daily log and tidy their own notes without being asked. After a conversation goes quiet, the background review appends one to three lines to memory/YYYY-MM-DD.md (what was done, decided, left open, with the names and paths involved); today's and yesterday's logs open the next private conversation, and memory_search reads every day. When TOOLS.md, MEMORY.md or USER.md pass 10,000 characters, or more than three older daily logs pile up, the consolidation pass now runs by itself after a review (at most once a day, nothing to switch on); it also covers TOOLS.md (one entry per kind of task, failed attempts dropped) and folds old daily logs into the standing notes. Before this the pass was opt-in, did not know TOOLS.md, and the notes that now open every conversation would have filled with duplicates until they were clipped. Measured with a real model: a TOOLS.md of 60 repeated entries (16.6 thousand characters) came back as one entry of 273 bytes with the working command kept; folding the older daily logs into MEMORY.md was weaker with the smaller model, and the logs stay on disk and searchable either way.
  • An agent that worked something out is now reminded to write the recipe down before it answers, and one that is stuck is reminded not to give up. When a turn had a tool call fail and a later one succeed, or took at least two successful tool calls, and nothing in it touched TOOLS.md (and the conversation may feed what the agent keeps, and took in no outside content), the model call gets one short reminder to record the recipe there (read first, edited in place, never a secret's value). When the last tool call of the turn failed and nobody refused it, the reminder is to read the error and the tool's own help and try the next variation before telling the user it cannot be done, and to correct a note that has gone stale. Each is a single note on that model call only, never saved in the conversation or the system prompt, so it adds no model call and the prompt stays cacheable. Measured against real models: a large one over the API wrote the note, reused it in other words in one call instead of five, and kept a standing rule; smaller ones follow it less often, so the review that runs when a conversation goes quiet is the backstop for those.
  • Every agent with tools now looks at its own past work before saying it cannot do something, so existing agents' system prompts change. The operating rules gain a paragraph (behavior_contract/0) telling the agent that when it is asked for something it may already have done (the same database, report or login) it checks its memory, its past conversations and its earlier scripts, re-runs what worked and fixes only what moved, instead of starting over or asking the user to repeat where the data lives. The system prompt also lists, by name, the scripts the agent wrote into its own workspace (newest first, at most 30), so a fresh conversation can see them. mix pepe agent prompt NAME shows the effect on any one agent.

Full Changelog: v0.21.1...v0.21.2