Skip to content

glia v0.2.0

Choose a tag to compare

@DenisDrobyshev DenisDrobyshev released this 22 Jul 14:09
· 16 commits to master since this release

Refinements that deepen the glass-box thesis — every new capability is visible in the event stream and off by default.

Added

  • Streaming outputAgent(stream=True) re-emits provider text deltas as ModelDelta events; new StreamChunk type and optional StreamingLLM protocol (ClaudeLLM via messages.stream, EchoLLM deterministic). Auto-falls back to generate when a provider can't stream.
  • Parallel tool execution — a turn's tool calls run concurrently (asyncio.gather, default on), with ToolCalled/ToolReturned events and results kept in call order.
  • Human-in-the-loop approvalapproval=<policy> gates every tool behind an inspectable verdict (ApprovalRequested/ApprovalResolved). Denied calls never execute and return an error result the model can react to. Policies: approve_all, deny_all, allow_only, deny, prompt_in_terminal.

32 offline tests, green CI, new example (07_streaming_and_approval.py).

Install/upgrade: pip install -U glia-agents