unstale

pypi / cuga

cuga

What changed in cuga 0.3 to 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-31.

12 breaking16 new APIs and options8 behavior and defaults13 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

cuga 0.421 changes

Breaking changes 4

  • Policies are isolated per agent, preventing playbooks from applying across agents.

    0.4.0release notes

  • The full CugaAgent graph is removed; use CugaLite or CugaSupervisor instead.

    0.4.0release notes

  • The evolve extra now requires altk-evolve>=1.5.2.

    0.4.0release notes

  • Internal exception details are no longer sent in server responses or exposed through the events layer.

    0.4.0release notes

New APIs and options 11

  • CUGA adds stdio support for the Agent Client Protocol.

    0.4.0release notes

  • CugaLite adds a pre-execute VERIFY gate for mutating code blocks.

    0.4.0release notes

  • A supervisor runtime supports multi-agent work, with an agent registry and composition UI.

    0.4.0release notes

  • Agents can use channels, triggers, and NL→Flow arming.

    0.4.0release notes

  • An experimental management API is added for Evolve memory.

    0.4.0release notes

  • Final answers can be configured with LLM instructions, a deterministic function, or both.

    0.4.0release notes

  • Manual retention controls are available for memory.

    0.4.0release notes

  • The supported container image now includes an experimental Evolve memory workspace.

    0.4.0release notes

  • The CLI adds a command to purge service instances.

    0.4.0release notes

  • WhatsApp is available as a direct channel through the Meta Cloud API.

    0.4.0release notes

  • LLMManager adds the wxo platform for watsonx Orchestrate routing.

    0.4.0release notes

Behavior and default changes 3

  • Embedding batch defaults are lowered so ingestion fits in a 4GB pod.

    0.4.0release notes

  • An explicit environment setting now takes precedence over the RAG profile.

    0.4.0release notes

  • The agent exhausts alternatives before declaring a task impossible.

    0.4.0release notes

Fixes and other changes 3

  • Memory feedback and listings are improved, and CUGA models are reused.

    0.4.2release notes

  • Stops the agent from re-issuing identical rejected API calls.

    0.4.0release notes

  • WatsonX reasoning is preserved.

    0.4.0release notes

cuga 0.328 changes

Breaking changes 8

  • Sub-agent spawning is disabled by default.

    0.3.2release notes

  • ApiRegistry no longer unwraps arguments['params'].

    0.3.2release notes

  • Calling exit() or raising SystemExit ends the block instead of terminating the process.

    0.3.2release notes

  • External trajectory writes are confined to the tracker directory.

    0.3.2release notes

  • Deletion fails rather than reporting success when an ingest would undo it.

    0.3.2release notes

  • Only profiles with a known name are loaded.

    0.3.2release notes

  • Static file routes are confined to their static directory.

    0.3.2release notes

  • Unknown tool arguments are rejected and schema validation errors are surfaced.

    0.3.2release notes

New APIs and options 5

  • Sub-agents can be spawned dynamically at runtime.

    0.3.2release notes

  • Model profiles for reasoning effort are available for OpenAI-compatible endpoints.

    0.3.2release notes

  • Run Receipt provides per-run token and timing visibility.

    0.3.2release notes

  • Shortlisting is pluggable, with cosine and hybrid strategies.

    0.3.2release notes

  • Configurable caps limit tool calls per block, run, and thread.

    0.3.2release notes

Behavior and default changes 5

  • The Assistant_code trajectory step records code rather than content.

    0.3.2release notes

  • Assistant reasoning is propagated and emitted before code or natural-language trajectory steps; fenced code is recorded.

    0.3.2release notes

  • Policy decisions are exposed in invoke results.

    0.3.2release notes

  • The agent falls back to json_mode when an endpoint ignores json_schema.

    0.3.2release notes

  • Direct LangChain tool calls are now recorded in the tracker.

    0.3.2release notes

Fixes and other changes 10

  • Block-local variables are preserved when code execution times out.

    0.3.2release notes

  • Execution callables are normalized so they are always awaitable.

    0.3.2release notes

  • Harmony control tokens are handled when a harmony model is detected.

    0.3.2release notes

  • Deleting a file stops an in-flight ingest of that same file.

    0.3.2release notes

  • Canceling an ingest ends it instead of leaving its filename wedged.

    0.3.2release notes

  • A missing or malformed JSON body returns HTTP 400.

    0.3.2release notes

  • Restart recovery tolerates file tasks that lack a status.

    0.3.2release notes

  • Terminal task writes are serialized so a row cannot report an incorrect status.

    0.3.2release notes

  • Markdown output now honors replace and redact instructions.

    0.3.2release notes

  • Tool names returned by the shortlister are validated, with a retry on validation failure.

    0.3.2release notes