Agent Zero – Release Notes
Prompt & Model Guidance Overhaul
- Adopted compact default prompts across the core stack, plugin-owned prompts, and the agent0 overlay — default assembled prompt now sits under ~3 000 tokens while retaining all key guardrails
- Restored essential tool-call JSON examples, communication/solving/tips guidance, and the agent0 profile after earlier over-aggressive trimming caused regressions with frontier models
- Added strict JSON guidance to steer models toward treating the closing brace as an end-of-sequence signal, and defaulted response style to concise with expansion on demand
- Removed the obsolete
a0_smallprofile; tool-call knowledge reference renamed to a generic framework file - Added a regression test that verifies the assembled default prompt stays within the token budget and retains critical guardrails
Early Tool Dispatch via Streaming JSON Detection
- Tool calls are now dispatched as soon as the first fully closed top-level JSON object is detected in the model stream — the stream is stopped at that point rather than waiting for all remaining tokens
DirtyJsonparser gains acompletedflag that signals when the root structure is explicitly closed (not merely at end-of-file), enabling safe early extraction- Extraction is restricted to brace-delimited objects, matching the shape of all tool calls
Plugin Discovery Cards on Welcome Screen & Onboarding
- A new always-enabled
_discoveryplugin adds a discovery surface to the welcome/dashboard screen, surfacing the Plugin Hub and integrations (Telegram, Email, WhatsApp) via feature cards - Cards include persistent dismiss/restore state and CTA routing to the relevant plugin config screens
- Discovery cards are integrated into the final onboarding step so new users see integration opportunities immediately after setup
- Cards are hidden while the missing-API-key onboarding banner is visible to reduce noise during initial configuration
- Implemented entirely through the existing WebUI extension mechanism with no core welcome-screen changes
Bug Fixes
- Fixed a crash during config retrieval when a plugin directory cannot be found —
get_plugin_configandget_default_plugin_confignow return early instead of passing aNonepath to the filesystem layer