Skip to content

Releases

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 14:21

Added

  • The dashboard now fills the webhook URL with the address you opened it on, when it is a public one, instead of YOUR_HOST, and says what to do when it cannot.
  • Who can train a connection: the default option now says only what applies to the chosen mode.
  • The Plugins page now shows a "Configure in Integrations" button on channel plugins, which are set up there.
  • The Google Workspace plugin (0.2.2) can work a whole inbox. On top of searching and sending, an agent can read a message or conversation in full, reply in the same thread, mark read or unread, archive, apply or remove labels, move to spam (only as malicious or unrelated advertising) or to the trash, and take a temporary lease on an email so two runs do not work on it at once. A reply is refused when the email was already answered. Each action is its own tool, so spam and trash can be left waiting for a person. There is no permanent delete.
  • Mail and calendar text is now treated as written by a stranger. After reading it, a run asks again before using pre-approved tools. An agent that acts on incoming mail without a person present needs trust_untrusted_content.
  • A subscription connection now shows its sign-in status on the Models page. A new "Sign-in" line says until when the current token is valid and that Pepe renews it on its own. When the provider refuses the renewal (the subscription lapsed or the access was revoked), the line turns red and asks you to sign in again with Reconnect, instead of leaving you to find out from a failed conversation.

Fixed

  • Chatwoot plugin: incoming webhooks are now verified with the signature Chatwoot actually sends, and the webhook secret can be filled from the dashboard. It is required: unsigned requests are refused outside development.
  • Google Workspace plugin: the access token field and GOOGLE_ACCESS_TOKEN are gone. It connects with the client ID, client secret and refresh token only, so an expired token left in the form can no longer break the connection.
  • Google Workspace plugin: searching mail and replying in a thread failed before reaching Gmail, because of how the requested headers were put in the address.

What's Changed

  • Show a subscription connection's sign-in status on the Models page by @jhonathas in #39
  • Work a whole Gmail inbox and verify Chatwoot webhooks by @jhonathas in #40

Full Changelog: v0.22.0...v0.23.0

edge

edge Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Sep 20:28
cf7fdc4

Rolling build from master (e154169) - not a numbered release, may include unreleased changes. See CHANGELOG.md's [Unreleased] section for what's in it.

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:42

Added

  • A "Test" button on every model connection (Models page). It sends one tiny ping through the connection and shows right on the card whether it works (with the round-trip time) or why it failed, using the provider's own message (for example "HTTP 401: Incorrect API key provided"). It runs outside the agent loop, so a test never puts a connection on cooldown. Decision-only connections have no button, since they can't chat.
  • An agent can now route a specific channel to an agent without knowing the routing key. manage_channel has new list_channels (which connections and channels exist, and where each is routed), bind_channel and unbind_channel actions that take the connection and the channel (id or name) and build the full key themselves, so setting up "this Slack channel goes to that agent" works from any conversation (before, the agent had to hand-edit config.json with the right key and often got it wrong). bind_topic now says which conversation it bound.
  • The trace of a task now shows the channel, the conversation, the model and provider used, the fallbacks and how many tools the agent had.

Fixed

  • An agent can no longer restart Pepe from inside its own task by calling the pepe binary with its full path (for example /app/bin/pepe restart), which killed the running conversation and left it as "interrupted". The shell guard also stops mistaking --no-halt for a host shutdown.
  • Files the agent generates in the dashboard chat now appear in the conversation, right after the reply that produced them. They used to pile up under the whole transcript, so after a few files you could no longer see any text. Each file now scrolls up with the conversation like any other message, and it is still there when you reopen the conversation. The file is kept as a copy for that conversation, and deleting the conversation, /new or "Clear conversation" deletes it too (the agent's original is never touched). Download links no longer expire after 24 hours.
  • A task no longer ends as "interrupted" when a tool's output was cut in the middle of an accented character. Searching past conversations clipped long prompts by bytes, so a prompt with "ã" or "é" near the cut produced invalid text that broke the model request and the trace save. Every cut of tool output (session_search, bash, fetch_url, run_script, db_query, trace events) now stops on a character boundary, and anything invalid that still gets through is cleaned before it reaches the model.
  • The chat sidebar no longer crashes while a task is running. A run in progress was being listed as if it were a conversation, which broke the conversation list every few seconds and also inflated the live session count on the overview. (#37, by LG, @latesh)
  • Searching past conversations reads traces in small batches instead of loading every trace of the project at once.

What's Changed

New Contributors

Full Changelog: v0.21.2...v0.22.0

v0.21.2

Choose a tag to compare

@github-actions github-actions released this 22 Oct 17:13

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

v0.21.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 16:47

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; 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.0...v0.21.1

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 07:19

Added

  • Every agent's system prompt is now shorter where less applies, so existing agents' prompts change. The operating rules and conventions are no longer sent whole to every conversation: the paragraph about telling people apart in a group chat and the one about reactions are left out of dashboard, API, widget, editor and terminal sessions (reactions only matter on Telegram and Slack), and an agent whose tool list has no bash, no send_file or no tools at all no longer carries the paragraphs about env vars, sharing an image, or advancing with tools. Nothing in the text changed and anything that cannot be decided keeps its paragraph; mix pepe agent prompt NAME still shows the full prompt, mix pepe agent footprint measures it, and a test now holds the contract under a size ceiling. A typical dashboard session is about 13% smaller, an API agent with few tools about 23%.
  • /learn now says when the review is over. It answered "Reviewing what I learned..." and then went silent, so there was no way to know it had finished. On Telegram and in the terminal it now follows up with what was saved, that there was nothing new, that the conversation had text from outside and nothing safe to learn, or that the review could not finish.
  • Every agent's built-in operating rules gain two paragraphs, so every existing agent's system prompt changes. The documented way beats what you remember: before saying it cannot reach a system, database or credential, the agent reads how access is documented (knowledge files, skills, the docs tool) and uses that route, and the documented source wins over a remembered note. Fix what you find stale: when a remembered reference turns out to be out of date, the agent corrects the note in the same turn and says so in one line, and never writes a secret's value into a note. This is code (behavior_contract/0 in lib/pepe/agent/workspace.ex), not per-agent config; mix pepe agent prompt NAME shows the effect on any one agent.
  • A restart no longer loses the messages that arrive while Pepe shuts down. The moment a shutdown starts, Pepe stops taking new work (Pepe.Drain): an API request gets a 503 with a retry hint, a webhook message gets a 5xx that Slack, Discord, WhatsApp and the others retry after the restart, the Telegram poller stops asking for updates so they are redelivered to the next instance, and cron stops firing. Conversation turns already running are now waited for (up to 25 seconds) instead of being killed with the VM.
  • Connections, channels and people can be given a label, shown everywhere instead of the id. A Slack workspace titled A0C5LM7LHS8 or a row titled D0C5LMVCHEY reads nothing; the pencil next to a connection's title (or the Label field in its form), next to a channel's title in its row, and next to a person in the people lists sets a name of up to 60 characters, shown with the id small beside it wherever the dashboard names that connection, channel or person (cards, rows, pickers, confirmations, scheduled-task and watch targets). The platform's own name is the fallback, the id the last resort, and a label is kept apart from the platform's name so a refresh never overwrites it; a person's label follows them across the connection's channels. Labels are display text only, never used to match or authorize anything; a /trainers reply shows them after the <@id> tag. Telegram bots take a label too, from their card or their form.
  • Every dashboard field that names people is now picked from the people who have written. Besides who can train a connection or a channel, Who may message this connection (allowed_numbers) and a Telegram bot's Who can train this bot (trainers, in the bot's form) use the same picker: a mode first (anyone or the default, everyone, no one, only these people), then the people heard, those with a name first in alphabetical order, then the ones known only by id with the most recent first, each shown by name with the id beside it, plus a field for an id that has not written yet; a list with nobody recorded yet says so. A channel row lists only the people heard in that channel, and a direct message no longer shows a mention setting (it always answers). What is stored keeps its shape (Telegram ids stay integers).
  • Who can train is now picked from the people who have written, not typed as ids. Pepe remembers who writes in each channel of a connection (their id, and their display name when the platform gives one; on Slack that needs the users:read scope), and the "Who can train" controls on the Channels page offer them: a mode first (the default, everyone, no one, only these people), then checkboxes for the people heard on any channel of the connection, or in that one channel for a channel's own list, with a small field to add an id that has not written yet. An id already stored that nobody has heard from still shows and stays checked. Bots and the bot's own messages are never recorded, and deleting the connection or bot forgets its people along with its channels. What is stored does not change, so /trainers and the CLI work as before.
  • A connection can answer every channel without an @mention, and a channel can go the other way. Slack, Discord, Teams and Google Chat connections have a new default, Answer without being mentioned (mention_optional, off by default), set in the connection form or with mix pepe gateway mention SLUG --set optional|required. A channel's own setting now goes in either direction and wins for that channel only: /mention off always opens a channel of a connection that requires mentions, /mention on always closes a channel of one that answers everything (--channel C --set optional|required, or --default to drop it). What applies, strongest first: the conversation's own /mention on|off until /new, the channel's setting, the connection's default, then a mention is required. /mention and every reply now say which level the answer comes from. A message written to someone else is still skipped when the openness comes from the connection. Earlier /mention off always settings keep working; the model cannot change any of this.
  • Each connection on the Channels page now lists the channels it has heard from. A Slack, Discord, Teams, Google Chat or WhatsApp connection, and a Telegram bot, shows how many channels, groups and direct messages have sent it a message ("12 channels") and opens into the list: name or id, group or direct message, last activity. Each row carries that channel's settings, changed in place: the bound agent, whether it answers without a mention, and who can train it. Each one is tagged own or from the connection, since the connection holds the default and the channel's own value wins for that channel only, and Use the connection's removes only the channel's own value; a direct message is a channel too. A channel is recorded from the first message, answered or not, with at most one write a minute per channel, and a failed write never touches the message. Slack names need the channels:read scope; without it the id is shown. The former "channels with their own trainers" list is part of this one.
  • A channel can have its own trainers, stronger than the connection's. /trainers (also *, none, @person ..., default) sets who may train, change /agent, /model ... global and /mention in that one channel; only someone who can train it now may change it, it survives /new and restarts, and the model cannot touch it. The connection's trainers stays the default, now editable in the dashboard (Who can train this connection, which also lists the channels with their own list and resets them) and with pepe gateway trainers SLUG [--channel C] --set .... Slack messages now say who wrote them, so a list of people works there; a list that named the channel id keeps working.
  • A Slack channel that answers without a mention stays out of messages written to someone else. With /mention off, a message that tags a person, a user group or the whole channel (@here, @channel) and does not tag the bot is no longer answered; tagging the bot, alone or with others, still is. A message from another app and a direct message are exempt. Providers can opt in with the new optional directed_elsewhere?/2 callback; Slack, Discord, Microsoft Teams and Google Chat implement it.
  • An app listed in accept_bots is answered without a mention, while people in the same channel still have to mention the bot. Until now a channel fed by another system (a help desk) needed /mention off always, which also opened it to everyone typing there.
  • A plugin tool can say that what it returns was written by somebody else. A plugin that reads tickets, a wiki or a mailbox can declare outside_content?/0 (optional) on its tool; once a run has taken in such a result, auto_approve stops applying to it, exactly as after fetch_url. Until now only the built-in tools and MCP servers did that, so a plugin could hand a stranger's text to the model without withdrawing pre-approval. A plugin that declares nothing behaves as before.
  • A channel can answer messages written by another app, such as a help desk posting each new ticket. Slack messages from bots and integrations are still ignored by default, but a connection can now list the bot or app ids it should answer (accept_bots, "Answer these bots and apps"). Each ignored one is logged with its ids so the right one can be copied. The bot's own messages are never answered, whatever the list says.
  • Slack messages whose content is in an attachment (the coloured bar) are now read. Integrations such as Zoho Desk put the title, body and fields there instead of in the text, so the message used to arrive empty and be dropped.
  • A webhook channel can ask for permission in the chat itself. When a risky tool is not pre-approved and the connection names its trainers (an explicit list, o...
Read more

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 21:16

Added

  • The Pepe logo now comes as one image with the name and the words agent runtime under it, in a dark and a light version (SVG with the text outlined, plus PNG), in assets/brand/ and the website. Set in Inter (SIL Open Font License, included); assets/brand/build-logo.py rebuilds them.
  • A new chart tool lets an agent send a chart as an image. It draws a bar, line or pie chart from numbers the agent already has, in the dashboard's dark palette, and delivers it to the conversation like any attachment (an inline photo on Telegram). Pepe draws the SVG itself and converts it to PNG with rsvg-convert or ImageMagick, whichever the machine has (ImageMagick is in the -full Docker image); with neither, the SVG is sent and the agent is told so. Nothing leaves your machine. Enable it on an agent like any tool (mix pepe agent tools NAME --add chart). The dashboard chat now also shows any picture an agent sends inline, not only as a download link.
  • The help text under dashboard fields is shorter and plainer, and every one starts with a capital letter. About a hundred hints (agent editor, channels, models, projects, tokens, privacy hooks, MCP and more) went from long, technical sentences to one short sentence each, in English, pt-BR, pt-PT and es. The replies the bot sends in chat are unchanged.
  • The Configuration page (formerly "Config file") is split into tabs: General (language, updates), Voice, History and Settings file. Each saves on its own. The Usage page now shows input, output and cache tokens (and what the cache saved), and every clickable element shows the hand cursor.
  • The dashboard overview now has charts and week/month comparisons. A new Trends section sets this week (or month) against the same point of the previous one for spend, tokens, runs and errors, each with its percentage move, and two charts show the last eight weeks of spend and of runs with errors. The 14-day activity bars became a line chart. Charts are drawn by a trimmed build of Apache ECharts (line and bar only, Apache-2.0, bundled locally, no CDN) in a closed, low-contrast palette that matches the dashboard. A run is one agent turn, an error is a run that did not end ok. A second block, How it's going, shows the good news: success rate, typical reply time (the median), and what the provider's prompt cache saved, with weekly charts of success and cache share, the busiest hours of the day and which channels conversations come from.
  • Every confirmation in the dashboard is now a dialog of its own instead of the browser's. Delete, revoke, reset, restart and the like used the browser's native confirm box, which ignored the dashboard's look and read differently in every browser. One handler now covers all 27 of them: a dark card with the question, a Cancel button and a Confirm button that is red when the question is about deleting, clearing or resetting and gold otherwise. Escape and a click outside cancel, and focus starts on Cancel for the destructive ones.
  • The dashboard agent editor is split into tabs and keeps your changes as a draft. Persona, Model, Capabilities, Access and Limits are tabs instead of one long stack of collapsible sections, and every change is saved as a draft as you make it: leaving the page loses nothing, and nothing reaches the running agent until you press Save, which publishes it and clears the draft (the next change starts a new one). The agents list marks an agent that has an unpublished draft, a sticky bar shows the draft's state with a Discard draft button, and if the agent was changed some other way after the draft began, the editor warns before Save overwrites that. Drafts live in a new drafts table in the operational database, keyed by screen and record, ready for the other edit screens.
  • The dashboard has a new look, taken measure for measure from a design reference. Cool blue-black surfaces with a soft teal glow at the top, a gold accent (dark text on gold, never white), the Manrope and JetBrains Mono fonts (self-hosted, so it renders the same offline), and a smaller, tighter type scale (UI at 13 to 14px, reading text at 14.5px). Every page now opens with a slim top bar (breadcrumb and the page's actions) over a title block: the sidebar group in gold monospace caps, a light 38px title, one plain sentence. The sidebar uses line icons in place of emoji, 11px-radius items with a gold outline when active and monospace group labels; borders and raised surfaces are white at 8 to 14 percent, so hairlines read the same on every background. Figures are monospace, status is an outlined monospace tag (teal, gold, red) instead of a filled badge, warnings are a gold outline, and the chat draws you as a bordered block under a small label and the agent as plain text. The palette, type scale and radii are defined once in assets/css/app.css, so every screen picks them up together. Page actions ("+ New agent") sit on the title row and every page shares one reading column capped at 75rem, so on a wide screen the main button stays next to its title. The facts under a card's title (agent, token, URL, model) are an aligned label and value list instead of loose gray lines. Every screen follows the same pattern: create and edit forms are boxed at one width, empty states are one dashed box, table headers are monospace caps, warnings use the notice box, and the emoji used as status icons (learning, traces, plugin scans, task results, plan and goal in the chat) are line icons. Fields, selects and buttons share one size taken from the reference (38px tall, 9px corners, 13px text), so a field and the button beside it always line up, and number fields no longer stretch across the whole box. Text is one step larger throughout (UI text 14 to 15px), fields and buttons are 44px tall with 12px corners so a field and its button always line up, and no screen, message, doc or page title uses the middle dot as a separator any more. A new chat can start with any agent you pick (a select above the list), the agents list shows conversations and memory on separate rows, model connections show the cached-input price, and the monthly tokens card splits new tokens from cached ones.
  • The goal and plan panel in the dashboard chat can now be folded. Its header row (the goal, its status badge and a 3/4 plan progress count) is a button that hides or shows the criterion, the reviewer's verdict and the checklist. The panel is open while a goal is still being worked and folds itself once the goal is complete, so a finished goal no longer takes the top of the conversation; a click overrides that either way and holds until you open another conversation.
  • Usage totals now show how much of the input came from the provider's prompt cache. mix pepe usage prints (66% of input cached) beside each period and the total, and the dashboard's "Tokens this month" reads in + out, 66% of input cached, in all four languages. Cached input was already priced at the cache rate in cost and bill; what read as a large, frightening token count was mostly re-reads the provider charges far less for. Underneath, the aggregated totals and buckets gain a cached field (a subset of in), and total is unchanged.
  • A new mix pepe agent footprint NAME command shows how many tokens every model call carries before the user says anything: the system prompt by section (persona, behavior contract, skills index, ...) and each tool spec, heaviest first, as a ~tokens estimate (bytes / 4). Each turn of the tool loop re-sends all of it, so it is the floor under every message; an agent with no tools list gets all built-in tools, which alone is roughly 19k tokens.
  • A -full variant of the Docker image (edge-full, X.Y.Z-full, X.Y-full, latest-full), built from the same Dockerfile's new full stage on top of the default runtime one: OCR/PDF/image tools (tesseract-ocr, poppler-utils, imagemagick), ffmpeg, run_script's other interpreters (python3, nodejs, ruby - elixir is always available, it's the release itself), general CLI (jq, ripgrep, rsync, openssh-client, dnsutils, netcat-openbsd, ...), a Postgres client (psql), and the 1Password CLI (op). Nothing here is Pepe-required - it's the same PEPE_IMAGE_APT_PACKAGES build-arg escape hatch the default Dockerfile already documents, pre-picked and pre-built so it doesn't need a rebuild of your own. The default image is unchanged and stays thin.
  • A new mix pepe agent tools NAME command edits an already-created agent's tools from the CLI, the one surface that was missing it (the dashboard's agent edit page and the manage_agent tool's add_tool/remove_tool actions already could). No flag lists its current tools next to every tool that exists; --set replaces the whole list (--set "*" grants everything); --add/--remove adjust it incrementally, rejecting an unknown tool name outright. mix pepe agent add still only ever creates, matching Config.put_new_agent/2's own refusal to overwrite.
  • A new mix pepe acp command speaks the Agent Client Protocol on stdin/stdout, so a code editor can drive a Pepe agent the way it drives a language server. ACP is an open, editor-neutral protocol (JSON-RPC 2.0, one message per line, specification): the editor starts the agent as a child process, opens a session, sends prompts, and renders what comes back. This is a deliberate implementation of the protocol's core subset, not all of it, and the handshake says exactly which parts, so a client never has to guess: initialize reports loadSession: false, no auth methods, and all three prompt capabilities (image, audio, embeddedContext) false, which leaves session/new, session/prompt, the session/update stream, session/request_permission and session/cancel as what is actually implemented. Absent on purpose: resuming or forking an earlier session (an ACP ses...
Read more

v0.19.1

Choose a tag to compare

@github-actions github-actions released this 18 Sep 21:31

Fixed

  • There is a Windows binary again, and Pepe.Insight works on it - every task type, on its smaller algorithm families. The whole Windows build had been failing, on two separate dependencies that each need a native artifact their upstream publishes for Linux and macOS and not for native Windows: EXLA (which JIT-compiles the neural tier) has no XLA archive for x86_64-windows-cpu, and EXGBoost (gradient-boosted trees) has no precompiled NIF for x86_64-windows-msvc, falling back to a from-source XGBoost build its Makefile cannot do there. Nothing on our side to fix, nothing upstream to wait for. That one build now leaves all three out (PEPE_SKIP_GBM=1 and PEPE_SKIP_NEURAL=1, set for the Windows target alone in CI and kept as separate flags so either can come back on its own; every other build - source installs, Docker, the Linux/macOS binaries - is exactly what it always was). All four things Insight does still work there: classification, regression, forecasting and clustering, fit with logistic/linear regression and k-means. What's missing is the two larger algorithm families, on the largest datasets, and Pepe knows it rather than finding out mid-fit: the automatic choice steps down to the biggest family actually present in the build, and naming a missing one explicitly (family: "gbm" or "neural") comes back with a plain "isn't available in this build" message instead of a crash.

Full Changelog: v0.19.0...v0.19.1

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 18:11

Added

  • A new Pepe.Insight subsystem: an agent trains and keeps small local models over an operator's own data, so a specific, repeated question ("will this patient deteriorate", "will this lead convert", "how many admissions next week") gets answered instantly, for free, once there's enough verified history - instead of a full model call every time. Four task_types: "classification"/"regression" (a target_column to predict), "forecast" (a target_column predicted over a time_column, engineered into elapsed-time plus cyclical day-of-week/month features and fit as an ordinary regression underneath), and "clustering" (no target at all - groups similar rows on their own via k-means, auto-picking cluster count by silhouette score, and doubles as anomaly detection for free: a row far from its group's usual spread comes back flagged, using the same fitted model). The algorithm is never a required choice - picked automatically by how much verified data actually exists: a few hundred to ~2,000 rows gets Scholar logistic/linear regression (fast, no overfitting risk on small data); ~2,000 to 50,000 rows gets gradient-boosted trees via EXGBoost/XGBoost, the strongest general default for tabular business data at the scale most real operators have; 50,000 rows and up gets a small fixed-architecture neural net via Axon, JIT-compiled via EXLA (a required dependency that ships a precompiled binary for Linux/macOS only - a native Windows build, not through WSL, does not compile), reserved for operators with genuinely large history. An operator who already knows which family they want can name it explicitly (family: "linear"/"gbm"/"neural" on define) instead of leaving it automatic. A model this large never trains on every row of a huge table - training draws a representative random sample (Postgres TABLESAMPLE combined with ORDER BY random() on the sampled subset, not "the first N rows", which would bias toward table order), capped at 200,000 rows (1,500 for clustering, since silhouette scoring is O(n²)). Every feature column is standardized (zero mean, unit variance, fit on the training split and reused unchanged for scoring and every later predict) before any algorithm sees it, so a column's raw units never silently dominate distance or gradient-descent computations. Rows come from either a registered db_query/manage_db connection (the exact same tenant-scoped Pepe.DB.Query.run/3 path, so Row-Level Security is inherited, never bypassed) or insight import_rows - the generic ingestion path for anything Pepe has no native connector for (a different database engine reached via bash + its own CLI, a file, an API), so "structured DB" and "ad hoc import" feed the exact same training pipeline rather than needing two. Not sure what to predict yet? insight propose_targets (a "db" connection, optional table) samples real rows and heuristically scores candidate target columns (low cardinality → classify, real numeric spread → regress on, a name like status/risk/churn boosts the score, an id-looking column is never a candidate) - a heuristic, not a guarantee, and it defines nothing on its own. Defining/importing/training/deleting a spec is the risky insight tool (gated like manage_db); querying an already-trained spec (predict/list/describe) is the separate, independently-grantable insight_predict tool instead - the same split as db_query/manage_db - so an operator can let an unattended surface (a cron job, a webhook) answer cheap repeated predictions on its own without also handing it the power to redefine or retrain what it's predicting from. retrain_interval_s + min_new_rows on a spec let Pepe.Insight.Scheduler (mirrors Pepe.Watch.Scheduler's shape) retrain it on its own once enough new rows have arrived, with no one re-running anything by hand. Documented in all four website languages plus priv/docs/insight.md for the agent itself.
  • A new Pepe.Graph subsystem: named workflows of nodes and edges, with shared state that survives across separate model calls and a verifier node that can send the flow back to an earlier node for a real revise loop, filling the gap between Pepe.Flow (an exact, already-proven sequence with no branching), delegate (parallel fan-out with no shared state between workers), and run_code (real branching, but confined to one execution). Five node types cover the pattern without a new DSL - a definition is plain JSON, authorable by hand, by CLI, or conversationally: agent (calls a model, its reply becomes {{id}}), verifier (same call, but the reply must end on a line matching exactly one word from a fixed verdicts map, whose target can be an earlier node - the loop-back), human (no model call - the run parks as waiting_human and resumes later on a real answer), parallel (fans tasks out to delegate's existing read-only workers), and tool (a direct, gated call to one existing tool). Templating is a single {{key}} substitution family ({{input}}, {{key}} which fails the run on a miss, {{key?}} which falls back to a placeholder, {{key|default:"..."}} which falls back to a literal) - no conditionals or loops, on purpose. Every node calls the exact same Pepe.Agent.Runtime.converse/3 (or the same gate/Tools.execute/2 pair Pepe.Flow already uses for a tool step) that a normal turn does, so a graph adds no new permission surface: taint is tracked per state key rather than as one run-wide flag, so a node only starts untrusted if it actually references a key that came from outside content, and only that call's own auto_approve is withdrawn - the one deliberate exception being a run_graph call made from an already-tainted conversation, which seeds the whole new run untrusted rather than laundering the taint away, and whose own result counts as outside content back in the caller, the same as delegate/fetch_url. A node's authorization (the tools it may call, the agents it may address) is checked again at run time, not only when the graph was saved, so revoking either afterward takes effect on the next run instead of leaving a stale grant live. A human node's pause/resume reuses Pepe.Permissions.PendingApprovals' event-driven, exactly-once-resolved shape rather than a time poll, and hands the eventual result back into the owning conversation only when it finishes on a later, separate resume - never twice. A safety cap (25 steps by default, up to 100) fails a never-converging revise loop cleanly instead of spinning forever. Exposed four ways: mix pepe graph list|import|show|remove|run|resume|runs|inspect|schedule, the conversational manage_graph/run_graph/inspect_graph_run tools (scoped to an agent's own graphs; run_graph refuses to run from inside another graph run, the same "workers cannot delegate" rule delegate enforces for its own fan-out), a graph-kind cron job for running one on a schedule, and a dedicated docs page in all four languages.
  • A risky tool call on an unattended surface (a cron, a webhook, the HTTP API) is now parked as a durable pending approval instead of failing closed forever. Before, a surface with no human attached could only refuse a non-pre-approved call outright, permanently, for that call; now the same decision an attended prompt would have put in front of a human is stored (tool + exact arguments, owning session, 30-minute expiry) and the refusal the model receives names the record's id and the literal commands that resolve it. mix pepe approvals list shows what is waiting; mix pepe approvals approve ID runs the exact stored call and delivers its real result back into the owning conversation as a new turn (no model retry needed), with --always also persisting the same risk-scoped auto_approve grant an attended "always" answer writes; mix pepe approvals deny ID [--reason TEXT] refuses it, relaying the human's reason to the agent. Nothing executes before a human says so - the trust boundary is unchanged, only the answer's timing moved - and an expired request reads as expired rather than silently vanishing. Resolving is atomically once-only: of any number of concurrent approve/deny attempts on the same id, exactly one wins the record's pending state and runs or delivers anything, and every other attempt is told what beat it. approvals list prints each request's stored arguments in full, never a truncated preview, since approving runs the full stored call and a benign-looking prefix must not be able to hide a dangerous tail. And approving a request whose agent has since been deleted or renamed refuses with nothing run (the record stays pending, and can still be denied), instead of replaying the call outside any agent's workspace. Approval never confers more privilege than the original attempt had: a record parked from a tainted run replays with that taint re-imposed (so a replayed run_code script's in-sandbox calls still see auto_approve withdrawn), and an approved call whose result is outside content (fetch_url, web_search, db_query, delegate, MCP tools) resumes the owning session as an untrusted turn, exactly as the rest of an attended run would have been tainted had the call run inline. Alongside this, the model-facing refusal texts now distinguish three things that are not a human's "no": a call parked for later approval, a call never shown to anyone (unattended, with no store available - including a run_code script's in-sandbox refusals, which deliberately never park), and an attended prompt that timed out unanswered (silence is not consent, but it is not a refusal either).
  • A new run_code builtin tool: the agent writes one Lua script that calls many tools in a single turn, instead of paying a full model round-trip (re-sending the whole history) per tool call. The script runs in a pure-BEAM Lua 5.3 sandbox (Luerl - no NIF, no external binary) with every filesystem/shell/env escape hatch stripped;...
Read more

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 14:19

Added

  • mix pepe plugin install/skill install, and their conversational equivalents (manage_plugin, and the new manage_skill tool), now accept a PepeHub reference: the short @handle/name form, or the package's own page URL copied straight from the site, either works. PepeHub packages both plugins and skills under the same namespace; pointing plugin install at a name that turns out to be a skill (or skill install at one that turns out to be a plugin) fails with a message naming the right command instead. A skill installed this way is placed under its bare package slug, not the @handle/name it was resolved from, and carries "official" trust when PepeHub itself has manually marked the package official, and "community" otherwise: the same distinction the bundled registry and taps already made.
  • manage_skill: a new tool giving an agent conversational access to the same registry-aware skill install/search/update/remove/audit mix pepe skill already has, mirroring manage_plugin's shape (same static Sentinel scan, no --force escape hatch from chat). The existing install-skill skill now defers to it for anything the marketplace or PepeHub can resolve, keeping its own manual fetch_url procedure only for a source with no registry entry at all.
  • Pepe.Sourcing (the shared download/stage logic behind plugin and skill installs) now also extracts .zip archives, identified by their actual bytes rather than a file extension: a registry download endpoint (PepeHub's included) has no extension in its URL at all, so content is the only reliable signal.
  • Langfuse trace export now sends the channel a run came from, a per-run user id, the running Pepe version, an observation level, and per-model-call cost. Every finished trace already carried the prompt/reply and per-tool-call input/output; it now also sets langfuse.trace.metadata.channel (Telegram, the API, ...), langfuse.user.id/user.id (the session key, the same value already sent as session.id, honestly labeled as chat-level rather than per-sender on a shared channel like a Telegram group), langfuse.release (the running version), langfuse.observation.level (DEFAULT/WARNING/ERROR, derived from how the run actually finished), and gen_ai.usage.cost on each generation span (computed at export time through the exact same pricing path the usage/billing pages use, and left off entirely rather than sent as a misleading 0 when the model has no known price).

Full Changelog: v0.17.1...v0.18.0