Skip to content
This repository was archived by the owner on Nov 2, 2026. It is now read-only.

agent-substrate: v0.4.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 13:46
0f8abe2

0.4.0 (2026-10-18)

⚠ BREAKING CHANGES

  • two coupled changes to the same files, done together since splitting them would mean touching pipeline.py/client.py/routes.py's core logic twice.

Features

  • Add branch renaming functionality and update related schemas and endpoints (f3d69a6)
  • Add Docling extraction service with REST endpoints (730756e)
  • add GPU support for llama-server and embedding-reranker services (eaf0e07)
  • Add llama-server sidecars for Qwen3-VL embedding and reranking in Docker setup (5ace00c)
  • add reasoning parameter to agent creation and chat request handling (1ba270a)
  • add restored_from_seq to file versioning for tracking restored snapshots (897dc6a)
  • add Runtime.run() convenience API; curate public surface (9ea62c5)
  • Add server loader and streaming functionality (48ce758)
  • add session_path to FileUploadResponse for immediate file access after upload (2e3395f)
  • add structured content to ToolResultEvent and enhance AgentStreamSession (f7bc2a6)
  • add usage tracking and reporting by day (2824b49)
  • Add user long-term memory management routes and integrate HF_TOKEN handling (8d516b1)
  • agent-substrate: DataLibrary and DataMemoryStore over substrate-data, held to the DocumentLibrary and MemoryStore conformance suites; memory ids travel in bodies (fec2748)
  • chats: enhance chat view and message retrieval with additional metadata and improved logic (6bb9f97)
  • cloud: documents and memory through the data service when DATA_SERVICE_URL is set; erasure goes data, runtime, redis (a9f910d)
  • cloud: per-run data tokens, public key endpoint and sandbox gateway (13885dd)
  • code-interpreter: governed data mount for sandboxed runs (00ecf57)
  • data: DataFileStore, KeyScopedFileStore and DataUploadSessions behind agent-substrate[data] (495d955)
  • disable thinking for tool-calling in GeminiClient to avoid thought_signature errors (6ff22e5)
  • DocumentIngestPipeline + ask() as reusable capabilities, fix OpenAI structured-output bug (8f5cd05)
  • documents: DocumentLibrary port, enrichment over the port, composable add (9abaa5c)
  • emit retry/suspension counters from both Scheduler backends (3fc1698)
  • Enhance AgentStreamSession with on_complete callback for task board settlement (9d2f07b)
  • Enhance document processing and error handling in various services, including max pages per call and improved user prompts for uploaded documents (ab82e06)
  • Enhance documentation and implement execution trace capture for evals (68cf70e)
  • Enhance file upload handling with workspace quota enforcement and promote pending files (da1d1b7)
  • enhance message serialization in Postgres and Redis history providers; add model registry tests (a8d0b99)
  • Enhance Postgres runtime with orphan reclamation and improve event log handling (d3b59e8)
  • enhance PostgresHistoryProvider session key handling and add tests for key length validation (5851905)
  • Enhance scheduler and threading support with tenant awareness (86ec8e6)
  • Enhance tenant support in identity and JWT services (b29761d)
  • Enhance vector store functionality with searchable capabilities (79aa107)
  • evals: introduce evaluation framework with LLM-based judging (0518b8e)
  • extract doc_handler package + native PaddleX markdown export (b4fb16c)
  • extraction: table recognition markdown output + configurable device (5ff214a)
  • gdpr: implement user and tenant erasure capabilities (1cb7f15)
  • GET /threads/{id}/messages serves wire events, not steps rows (0c8057e)
  • GPU extraction variant + publish CPU/GPU images to GHCR (dc09c23)
  • groups: add token cap management and member refresh on updates (f0bd3dd)
  • human_gate: add HITL request creation endpoint and signal handling (a0a738a)
  • implement CachedHistoryProvider and CachedShortTermMemory for improved session state management (133d569)
  • Implement cancellation support for agent runs and enhance runtime configuration (29199c2)
  • Implement cold resume functionality for agents (25eead1)
  • Implement conversation locking mechanism on file deletion to prevent referencing missing files (9f615a5)
  • implement engine-UI wire protocol, add web reading/search capabilities, and refactor agent orchestration. (b731214)
  • Implement file upload, download, presign, and delete endpoints (0f4c0bd)
  • Implement interactive REPL with slash-command support (4add7ca)
  • Implement LLMOrganiser for topic tree management and enhance Library.reorganise functionality (b1a6257)
  • Implement local disk storage for pending attachments and enhance file handling (edfb165)
  • Implement long-term memory support and read-only knowledge base integration (1136bcd)
  • Implement object storage migration and staging runtime (2366b74)
  • Implement PageIndex RAG Pipeline and associated protocols (1f06aea)
  • implement per-user workspace management with storage quota enforcement (46f2ae0)
  • Implement pluggable RAG backends with Local and Pinecone support (ca5cdc0)
  • Implement scheduled task catch-up and trigger persistence (0234627)
  • Implement session index erasure and document search tools (ec85ee3)
  • Implement signal-based human input handling in console (2c2a0c4)
  • Implement TaskStore and VectorStore with conformance tests (fcd992b)
  • Implement threshold-based checkpoint generation strategy and branch management endpoints (39fd5b4)
  • integrate GlitchTip error tracking and implement daily message quota management (a7e28a2)
  • Integrate ONLYOFFICE Document Server for editable Office files and enhance workspace file versioning (07f4407)
  • introduce ArtifactsTool for managing curated artifacts (641bcb0)
  • introduce Docling extraction service with HTTP client and FastAPI integration (581f276)
  • introduce Docling extraction service with HTTP client and FastAPI integration (11affd3)
  • Introduce LocalFilesystemHistoryProvider and LocalFileSessionStore for durable local storage (42b1d9f)
  • introduce new skills for code review, data analysis, debugging, project planning, spotify playback, summarization, and writing assistance (56b7b69)
  • kernel: consolidate tool-approval on the kernel ApprovalHandler Protocol (a0ba54e)
  • log user.message so the EventLog is a self-complete conversation record (0e6c90e)
  • make the durable runtime's asyncpg pool size configurable (20bb028)
  • mcp: implement MCP client and tool integration (185fd80)
  • memory,document: Implement Phases 3-5 of Cognitive Memory and Document Architecture (86b6fb1)
  • project_thread() — conversation history from the EventLog (adab5b6)
  • protocol: Implement wire events and requests for engine-UI communication (77f77c7)
  • refactor artifact and conversation storage to nest under user prefixes for improved data isolation (00ac21a)
  • Refactor dependencies and add new tools (b88f0e9)
  • replace Mermaid diagrams with custom CSS-based architecture cards in documentation (7380e35)
  • rls: implement Row-Level Security for tenant isolation and enhance database interactions (d598b8c)
  • safety: enhance multimodal input safety with new guardrails and classifiers (61ceebb)
  • safety: implement input-safety contracts for text and image classifiers (edb7c59)
  • storage: establish tenant-scoped storage layout (1cb7f15)
  • tools: data_catalog tool and warehouse workflow in the data_analysis skill (fee6d2d)
  • Update attachment handling to ensure workspace_path is omitted for extractable types and session_path is correctly set for UI (ef6ad84)
  • Update extracted sidecar text formatting to use HTML comments for page numbers instead of Markdown headings (339d281)
  • update README with demo GIF and add Tech Stack section (9140054)
  • workspace: introduce workspace snapshot management and storage (e202447)

Bug Fixes

  • add type hint ignore for missing imports in embedding client (d9cf3bf)
  • bump pillow and protobuf to close pip-audit CVEs (d8811cf)
  • chunker infinite loop, doc-firewall over-blocking, batch embeddings, LanceDB store (9018692)
  • ci: resolve delegation preview assertion, frontmatter roundtrip, and dependency boundaries (d6be873)
  • doc_handler: include "image" in _IMAGE_LABELS (b710dc5)
  • documents: a comment marker inside a quoted key of an inline frontmatter value is not a comment (b40cb8b)
  • documents: prefix queries of Library.collections and erase_under no longer treat % and _ in ids as wildcards (81f7ea9)
  • forward GenerationOptions.extra, handle local reasoning-model quirks in kb_filter (0e2b7e6)
  • gate Worker.cancel()'s force-terminalize path on real ownership (57b5a21)
  • improve OPENAI_API_KEY check to handle unset keys more clearly (1bc566a)
  • improve readability of OPENAI_API_KEY check in test_retrieval_eval.py (62910a8)
  • improve timeout handling for Redis connections and task cancellations (3c277e2)
  • kernel: enforce Supervision.execution_budget on spawned children (967957f)
  • optimize tokenizer padding to improve performance for short inputs (5de0a1f)
  • packaging gaps found by a distribution-consumption audit (3e3c9cc)
  • replace calculator eval() with whitelisted-AST evaluator (b698301)
  • restore psycopg[binary] as a base dependency (07b69f7)
  • retries were inert against transient failures (175f14e)
  • stop test_crash_records_agent_crashed_status from taking ~35s (c075d63)
  • update .env.example to improve structure and clarity of environment variables (9a34565)
  • update comments and import statements for clarity in pyproject.toml and test_embedding_clients_conformance.py (efabff1)
  • update console and lifespan imports (56b7b69)
  • update links in documentation to use .md extension and remove obsolete capability-map.html file (65db00d)
  • update memory and history sub-packages to include CachedShortTermMemory and CachedHistoryProvider (8ddad70)
  • update secondary button styles for better visibility in dark and light modes (9966950)
  • update security command in Makefile to skip editable packages during audit (e5fcc35)
  • update sync command in Makefile to include all extras and exclude sentence-transformers (0d00524)
  • use halfvec for >2000-dim embeddings, pgvector's hard HNSW/IVFFlat cap (0e7eabd)

Performance Improvements

  • extraction: batch text-recognition/textline-orientation on GPU (10c87d6)

Documentation

  • add kernel architecture documentation and update task storage implementations (db995d6)
  • agent-substrate: update paths for the monorepo layout (6629566)
  • agent: files decision, [data] extra, invariants for the data client and S3 removal (c6283fd)
  • make TriggerScheduler's single-instance-only nature explicit (1ef284b)
  • record the 2026-07-12 kernel foundation audit (dcc3113)
  • record the v1 remediation program's real gaps, not just its wins (43a51a4)
  • refactor architecture documentation and update diagrams across the kernel module. (3f4f086)
  • remove markdown attribute from architecture flow container (1233c10)
  • rewrite README against the real API; add Runtime.ask() (c4bb62f)
  • update architecture references, store scaling guidance, and dependency metadata (78b95b0)
  • update kernel architecture documentation with Mermaid diagrams and imagery (bc254c2)
  • update ravi-ui references to substrate-ui (fbb4ad4)
  • update site navigation and configuration in mkdocs.yml (2833ecf)