Skip to content

v0.21.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Nov 03:12
· 71 commits to main since this release
82218a8

Added

  • Slow & locked keeps a week, by code. What db_activity records (slow queries, lock waits) stays for DATABASE_ACTIVITY_RETENTION_SECONDS (a week by default) on one capped list, each record carrying its container's host and the service or component that owns its code. Overseer > Database > Slow & locked filters it by kind, by the Services picker Logs and Errors share, and by text; groups it by code site (count, time held in all and at most, last seen, processes); then lists the newest 200 rows, live. The database health check carries the last hour's eight costliest code sites, and the Flet tab shows the same groups.
Screenshot 2026-11-21 at 10 00 05 PM
  • Editable approval cards, and what an approval does after it lands. A change type can let the reader correct a card before approving it (ChangeExecutor.editable, narrowed by edits, with choices drawing a select): the card offers Edit, the one dialog prefilled with what was proposed, and change_queue.revise revalidates the payload against the type's contract (also POST /changes/{id}/revise, and the agents' revise tool for "it is X, not Y" across every waiting card). after_commit runs a type's follow-up once the approval's transaction commits, over exactly the rows that action landed; scan names the stored pictures a card shows (/partials/changes/{id}/scan); expire_naming sets aside the waiting cards aimed at something about to be removed, saying why.
  • Memory writes are approval cards. save_memory and replace_memory, and the new update_memory and forget_memory (a saved fact named by a quote of it), file a card on the change queue; nothing is remembered or forgotten until the user approves it. A batch card folds rows that say the same thing under one "Skip all"; a decided card folds to its outcome and says why; a card no longer in the queue says so instead of failing its load; pending redraws cards only when asked (draw=True).
  • Agents that extend another, and a guarded sandbox. An agent row's extends names its parent, one level deep: the child's prompt goes first, then the parent's, and the tools, context modules and knowledge bases it leaves empty come from the parent; model, sampling and code mode stay its own. Code mode's scripts are held to AI_CODE_MODE_MAX_SECONDS (10 s) and AI_CODE_MODE_MAX_MEMORY_BYTES (64 MiB), one per user at a time, and a script that calls a write tool is told to call it directly. Every *_cents integer a tool or a script returns reaches the model with its *_usd beside it.
  • A chat that keeps its place. Turns that fall out of the history window are folded on the worker into a running summary that rides ahead of the history; it moves only when the window's cut does, so a local engine's prompt cache holds between turns. Each replayed answer carries its steps (tool calls, scripts, card ids), so "try again" does not re-query; a day line marks where each day starts in place of a per-answer date. A conversation keeps the agent it was talking to: a follow-up that names none, or a call's look, answers as that agent.
  • Pastes and PDFs out of the thread. Text over 2,000 characters and an attached PDF (read by the documents service, on the worker) become a one-line marker with a chip that opens them; pasted reads them back, for their owner only. The composer's accepted types, size and count come from the server. While the model is quiet the answer shows why and for how long ("loading - 12s"), read from the inference engine.
  • What a call costs, as it runs. An engine priced by the minute is billed by the second; the call bar shows the running cost, voice and thinking, to an operator. Overseer AI > Costs gains Models (each model by what it was used for) and Calls (each call with the answers it handed off), and ai costs prints both.
  • What is inside a service, on a card. Asked how a service is built, the assistant draws a path card with inside: the map's own zoom into that service, each piece in its lane. A service's wiring card now stops at its own lines and what its sub-services reach outside it, instead of every line its sub-services draw inside. A queue opens up into its tasks only on a wiring that holds it (Redis, the queue itself), and tasks calling a part are drawn from their queue: the AI service's wiring went from 125 lines to 25.
  • Papers and a desk. A voice's working sound can be papers shuffled (papers) or keys and papers mixed (desk), beside key taps, in the chat, on calls and from the meetings bot; it starts only once a wait is long enough to notice.
  • A stage for a live call. Beside the chat's phone, a full-screen page (<chat mount>/stage) holds the call on the same socket: the assistant's figure in the middle shows her listening, speaking and pulling data up. Once she draws a card she steps aside as a speaker tile (her name and the sentence she is on) and the card takes the stage, one at a time: a tab strip below names every card she drew, the one up underlined, and a click puts another up. A map shows at full strength there, and the part she names lights with what it joins, only the unrelated dimming (in the chat too). It carries on the conversation the chat had open, so the thread stays the record.
Screenshot 2026-11-21 at 10 04 24 PM
  • MCP tokens without auth. With MCP and a database, the webserver serves /mcp and tokens can be made, listed and revoked (Overseer's MCP page, mcp-tokens, the token API) without the auth service. Such a token is the operator's: its calls act for MCP_OWNER_USER_ID and reach the admin reads, as stdio's do, and it is made on the CLI anywhere or on the local dev build. With auth nothing changes; a token made before auth was added is refused once it is.
Screenshot 2026-11-21 at 10 09 49 PM
  • aegis init from a checkout you name. With AEGIS_TEMPLATE_PATH set to a clone of the repo, an installed aegis init renders that template and does not clone it from GitHub, as aegis update already did.
  • Voice that runs in the app. ai[voice] can speak with Kokoro (TTS_PROVIDER=kokoro) and hear with NVIDIA Parakeet v3 (STT_PROVIDER=parakeet) in its own process, on the CPU, with no key and no server. Their packages are opt-in (uv add kokoro-onnx, uv add "onnx-asr[cpu,hub]" av) and each fetches its int8 model on first use. Kokoro's 28 English voices are in the catalog, the voice designer and the Overseer's voice models, and usage is recorded at no cost.
Screenshot 2026-11-21 at 8 31 12 PM
  • A speech server you run. inference[kokoro_fastapi] tracks Kokoro-FastAPI on the host, or as a compose service with inference[docker,kokoro_fastapi], at SPEECH_BASE_URL, and the inference health check carries it. ai[voice] speaks through it as the local_server provider, with every voice it lists and no cost. Overseer > Inference > Speech shows the server whole: its version, model state, device, requests, memory and voices; Unload and Reload; each voice played from the server, with or without ai[voice]; and charts of its memory, its requests and how long each line took. my-app inference speech, speak and speech-model, and /api/v1/inference/speech, do the same.

  • A run says which agent ran it. A runner says which agent it runs when it claims (the program its command starts, claude), the run keeps it (runner_run.agent), and Overseer > Runner marks each run, and each fold whose runs share one, with that agent's icon; the drawer names it beside its runner. claude, gemini, opencode and cline have an icon of their own (Claude Code's mark, the rest from the icons the web frontend ships); any other program, and a run answered in the app, get a plain mark. Runs a runner took before this recorded no agent: the update marks them claude, what the command a runner is given by default runs.

  • The runner is in Overseer. Overseer > Runner lists the newest runs, each by what was asked: how long it took, what it cost and how it went (Waiting, Running with what its agent is doing, Answered, No answer, Done, Failed), under how the queue stands and what the last 7 days cost. Runs asked in one place of one action fold into a row that holds them (a meeting's questions; data_table rows that unfold can sit beside flat ones that do not). A run opens in a drawer with what came back, the worktree and session to pick it up with, and the prompt it was sent. Whatever asks a run says what a reader calls it (runs.ask(title=..., source=...), two new columns on runner_run); meetings passes the question and its meeting, and the runner's revision names the runs meetings asked before, so an updated stack lists them by question too. data_table's status cell takes a sub line, as a link does (status_cell(sub=)), and rendering.chips builds a filter's chip row. The component has a health check (runs waiting, runs a runner has, whether a runner is listening; a warning when a run waits and no runner that takes its owner's runs is listening) and the dashboard card and modal that go with it.

  • A run says what it is doing. While a run of the runner component is going, the app keeps the agent's last step on it (activity, activity_at): the tool about to run and what it is on, or that the agent waits on someone; nothing once the agent ends its turn. Claude Code's hooks post each step to POST /api/v1/runner/runs/activity, signed with the runner's token, and the app finds the run by the agent's session, which every claimed run now has. The runner fills the hooks in where its command says {hooks} (the dev runner's defaults do), and runner hooks prints them for a session picked up in a terminal.

  • Runner tokens are an operator's to make on a stack without auth. Making or revoking one over the API is let through only where an operator's change is (the local dev build), as MCP's tokens already were; both routes take the one rule (get_token_holder). The CLI is unchanged, and with auth a token is still its maker's own.

  • A run that is work: a worktree that stays, a session to pick up, and what it cost. A run of the runner component can be asked on a branch and in a session (runs.ask(..., branch=, session_id=runs.new_session())). Its runner keeps the worktree on that branch (<repo>-worktrees/<branch>, or --worktrees), and the run says where from the moment it is claimed; the app knows the agent's session before the agent answers, so the work can be taken over from a terminal (claude --resume <session>); and a later run of the same session continues it (--resume-command). A command that answers with Claude Code's JSON result says what its session has cost, and each run keeps what it added (cost on the run). A command is given --timeout seconds (15 minutes by default) and is then stopped with everything it started; a claimed run is waited for twice that. The dev runner's default command names the session and asks for that result, so every answer has a cost; it still only reads (--permission-mode plan), and RUNNER_COMMAND with RUNNER_RESUME_COMMAND give a runner whose runs change code. What the runner and the app say to each other is declared once (app/components/runner/protocol.py).

  • A runner component: work the app sends out to a coding agent. The queue of runs, the runner that answers them and its tokens were part of the meetings service; they are a component of their own (aegis add runner), so any service can ask a run of a coding agent, about something of its own (runs.ask(..., kind=, subject_id=)), without the meeting bot. Meetings requires it and asks its questions of it, as before. The commands and routes moved with it: meetings runner is runner run, meetings runner-token is runner token, and /api/v1/meetings/runs and /runner-tokens are /api/v1/runner/runs and /runner/tokens. A stack updated across the change keeps its runs and tokens (the migration carries them into runner_run and runner_token), and its dev service (now runner) still reads .env.meetings-runner and the MEETINGS_RUNNER_* names until they are moved to .env.runner. The dev service's container and logs moved from the Meetings page to Overseer > Runner.

Screenshot 2026-11-21 at 10 06 11 PM

Fixed

  • aegis deploy keeps a server's own files. The deploy ships the tracked tree with rsync --delete, so an untracked secrets/ on the server was wiped on every deploy. secrets/ is now kept, as .env is; server.keep in .aegis/deploy.yml names any other server-only paths; and the deploy and aegis deploy rollback list whatever --delete removed. A rollback spares the same server-only paths (it still restores .env and data/). Deploy output streams as rsync runs. secrets/ is in the generated .dockerignore. (#2124)

  • aegis remove and remove-service refuse a part an installed one still requires, naming it (aegis remove runner with meetings installed, or a service a plugin requires); --force removes it with a warning. Components, services and plugins share one check. The worker still takes its redis. (#2104)

  • aegis add, remove and update read a project's answers the same way. An add on a project older than a question no longer saves the template's default as its answer (a pre-split meetings project kept include_runner: false); update --dry-run previews the answers the update will use; and every one of them turns on what an installed part requires, options included (ai[sqlite] brings the database; htmx turns deploy on, which adds the socket proxy), saying so. (#2106)

  • Switching a component's option on an older project brings its files. aegis add inference[llamacpp] on a project generated before the engine files existed took them for deletions and brought none; it now lists the template at the project's own commit (from GitHub when aegis is installed from PyPI). An add no longer deletes an empty app/main.py (or any empty file it did not render). (#2127)

  • A model that points at the user table loads it. Every process loads the app's full model metadata on its first ORM use, so runner token create, the change queue and MCP tokens no longer fail with NoReferencedTableError when the command imported only their own models. The runner's paths have one home in protocol.py for the router, the client and its hooks. (#2136)

  • Insights retries a passing ClickHouse 5xx, three tries 5 and 10 seconds apart; the PyPI collector's own copy of the query is gone, so it retries too. (#2125)

  • Postgres gets 256 MB of shared memory (shm_size), so parallel vacuum and parallel queries no longer fail on Docker's 64 MB. The next deploy recreates the Postgres container once. (#2020)

  • A route that hands its work to its component's own module is thin. route.thin counted only a service as somewhere to hand work to, so a route calling app.components.runner.tokens (where the CLI shares the work) was flagged. A component's module outside the API now counts; the map's Service step still counts services only. (#2108)

  • An Overseer drawer opened on an item that is gone stays closed instead of reopening empty. (#2110)

  • Illiana's known debt survives a template rename, and writes are not reads. A finding on a renamed function's def line matches its known entry, so a template update no longer flags it as new; reads-in-queries leaves out delete, update and insert. (#2019)

  • A link in a model's answer leads to a page or a mailbox, or nowhere. Markdown a model wrote (a chat reply, a meeting answer, what a run came back with) kept a link's address whatever it was, so a javascript: or data: address would run as whoever clicked it. Those now render with no address; http, https, mailto and the site's own paths are kept.

  • The app keeps a page's worth of what a run came back with, whoever posts it: the runner cut a long result before posting, but the app stored whatever it was sent.

  • A failed run reads as it was said in the dashboard's meetings pane. It was rendered as markdown, which ate an error's stars and underscores; the web already showed it plain. (#2111)

  • Models. A model that refuses temperature is retried once without it and never sent one again, on every provider; a local engine gets a 600-second timeout and no retries (a retry re-reads the whole prompt); lab icons are fetched through safe_fetch; the catalog's lab lookups are batched. CLI hints name the project's own command, not {{ project_slug }} or aidb.

  • A map card in the chat no longer stalls the first open. Drawing the Server opened up asked which services open up by reading every import between their pieces, and the parts report under it parsed every module on first use: seconds after each start or reload, with the page's loader creeping. Which services open up now reads their pieces alone, and the startup warm-up reads the parts report right after the model, off the loop, from what the model already parsed; two first asks wait on one build (concurrency.once) instead of each parsing it.

  • A killed dev webserver comes back. With reload on, uvicorn's supervisor restarted the process serving requests only on a change: one killed (out of memory) left it holding the port with nothing serving it, every request hanging, and the container, its main process alive, never restarted. It now starts a new one at once and logs an error, which Overseer's Errors page shows; one that exited itself (code that fails to import) still waits for the change that fixes it. A live call dropped that way says so instead of hanging up in silence.

  • A killed dev scheduler or worker comes back. The scheduler and the arq and taskiq workers reloaded under watchfiles' CLI, which restarts only on a change: one killed left the container up with nothing running. They now run under app/entrypoints/reloading.py, which restarts on a change, starts a new process at once when one was killed, and logs the error, as the webserver's supervisor does.

  • A container that runs out of memory is an error in Overseer. The kernel's kill writes no log line, and the container's memory flag is inspect's, which the socket proxy refuses. The proxy now also answers GET /events, and the error collector records each of the project's containers' oom events on Overseer's Errors page, in dev and production, for every container (webserver, worker, scheduler).

  • No InvalidStateError when the webserver stops. A followed log (or any Docker read through the socket proxy) cancelled as data arrived had uvloop settle anyio's cancelled socket wait, and the loop logged InvalidStateError on shutdown and hot reload. The deploy component guards anyio's wait so it settles only a future still waiting. aegis update brings it to an existing project.

  • A TaskIQ queue no longer fills Redis with finished jobs. TaskIQ acks a finished job and leaves it in its stream, which has no TTL, so every job ever run stayed until Redis refused the next enqueue. Each worker now trims its streams once a minute to the oldest job still held; nothing waiting or running is dropped. A job that hung would hold that floor for good, so a TaskIQ job now ends at its queue's timeout_seconds (WORKER_QUEUES, 300s by default, 60s on load_test) unless its task names its own timeout; before, it had none. arq reads its job_timeout from the same setting, and a Dramatiq actor with no time_limit takes it in place of ten minutes. The Redis page no longer counts a job queue's last minute and hour from what it holds. aegis update brings it to an existing project.

  • A project's CI no longer counts as its clones. GitHub counts every checkout as a clone, and a generated project's CI checked out in each of its five or six jobs on every push. One job fetches now and hands the rest a copy; CodeQL is a CI job, so security.yml is gone; and a new push to a pull request cancels the run it replaces. aegis update brings it to an existing project.

  • Local Whisper is no longer offered when it cannot run. Whisper (Local) and faster-whisper were listed and accepted with their packages absent, then failed on the first transcription. Their packages stay opt-in; until added, the provider shows its install line in place of a Use, and the voice settings and the provider refuse it with that line.

  • A voice profile's hearing model brings its provider. The profile form offered only OpenAI's models and kept the provider as it was, so saving a profile hearing through Groq or a local model asked that provider for an OpenAI model. It offers every hearing model now, each with its own provider.

  • A memory AI can move to a database. aegis add-service "ai[sqlite]" (or ai[postgres]) on a project made with the memory backend refused it as a conflict, and there was no other way off the default. It is an upgrade now: the database comes with it, and every table, read, page and command the memory backend leaves out arrives, because those files are the AI spec's ai_persistence group rather than a hand-kept list in init's cleanup. The project keeps its framework and providers: an upgrade no longer writes a fresh install's defaults over what the request does not name. Asking for ai[memory] once persisted is satisfied; sqlite and postgres stay a conflict, since each holds data.

  • The scheduler's persistence follows the same gate. Its memory-backend cleanup was a second hand-kept list that had lost two test files; init, add and remove now read the scheduler spec's scheduler_persistence group, and the backend_variant special case in get_component_files is gone. Init removes every selected part's off extras group in one loop, so rag's inline list went too.

Installation

pip install aegis-stack==0.21.0

Or run directly:

uvx aegis-stack init my-project

Links

What's Changed

  • Generated images keep dependencies cached across README and code edits by @lbedner in #2043
  • add-service: move a memory AI to a database, gated by the manifest by @lbedner in #2051
  • ai[voice]: voice that runs in the app (Kokoro, Parakeet), local providers refused until installed by @lbedner in #2060
  • Inference engines, part one: a cache-friendly chat prompt, and Ollama behind one engine interface by @lbedner in #2069
  • inference[kokoro_fastapi]: a local speech server, its TTS provider, and an Overseer > Inference > Speech page by @lbedner in #2070
  • Stack Matrix: fetch the repo once per run, not once per job by @lbedner in #2073
  • CI: fetch the repo once per run; a new PR push cancels the old run by @lbedner in #2074
  • CI: one clone per run, here and in every generated project by @lbedner in #2076
  • finance: recurring-detection tests no longer read the real date by @lbedner in #2077
  • The deploy-agent image's install is reported to PyPI as automation by @lbedner in #2078
  • TaskIQ: trim finished jobs from the queue streams; every queue has a job timeout by @lbedner in #2079
  • deps(deps): bump typer from 0.27.3 to 0.29.1 by @dependabot[bot] in #2080
  • ai[evals]: add a case without YAML, and an agent that reads and proposes by @lbedner in #2082
  • llama.cpp beside Ollama: llama-server as the second inference engine (#2066) by @lbedner in #2083
  • mcp: tokens and HTTP /mcp with a database, auth no longer required by @lbedner in #2084
  • Switch an installed inference engine in place, and name the engine where Ollama was hard-coded by @lbedner in #2085
  • deploy: no InvalidStateError when the webserver stops by @lbedner in #2086
  • Switch an engine only when asked, and finish naming the engine by @lbedner in #2087
  • ai[voice]: a stage for a live call, and a killed process that comes back by @lbedner in #2089
  • One chat: the template takes Steward's best (#2088) by @lbedner in #2090
  • Change queue: editable cards, follow-ups, pictures, expiry (#2091) by @lbedner in #2094
  • Change queue: what Steward's switch-over needed by @lbedner in #2095
  • RN-01: runner component: the run queue, the runner and its tokens, out of meetings by @lbedner in #2107
  • The Flet chat draws the cards a reply drew (#2092) by @lbedner in #2096
  • Runner: a run that is work, what it is doing, tokens without auth, and its place in Overseer (RN-02 to RN-05) by @lbedner in #2109
  • RN-10: a run says which agent ran it, and the list marks it with its icon by @lbedner in #2121
  • Slow & locked keeps a week, by code, filtered and live by @lbedner in #2126
  • Local chat turns think within a budget and answer short (#2122) by @lbedner in #2123
  • Steward backports: light mode, scheduler options, macro kit, mail import by @lbedner in #2133
  • Stage follow-ups: GPT-Live hears the thread, a card strip, working sounds, and a service's insides by @lbedner in #2134
  • Mail hooks are found on disk (mail_hooks.py) by @lbedner in #2135
  • inference[speech]: an installed inference takes a speech server later by @lbedner in #2146
  • inference: make kokoro, and docs for make llama and a speech server added in place by @lbedner in #2147
  • inference: make kokoro serves Kokoro-FastAPI from its checkout by @lbedner in #2148
  • A live call runs on a local model (cascade) by @lbedner in #2150
  • Release fixes for 0.21.0 by @lbedner in #2151
  • Release 0.21.0rc1 by @lbedner in #2160
  • A live call's setup shows what hears, thinks and speaks by @lbedner in #2161
  • Release 0.21.0 by @lbedner in #2163

Full Changelog: v0.20.0...v0.21.0