Skip to content

LightAgent v0.9.1

Latest

Choose a tag to compare

@wxai-space wxai-space released this 29 Jun 15:18
8ea4db3

Highlights

  • Added Runtime Hooks with HookContext, HookDecision, and ordered HookManager middleware.
  • Added LightAgent hooks for run, model request/response, tool call/result, and memory write phases.
  • Added LightFlow hooks for step execution, approval, resume, and rerun lifecycle points.
  • Added trace hierarchy metadata with parent_trace_id and run_group_id for nested runs and workflow steps.
  • Added LA-HOOK structured errors for hook-blocked operations.
  • Updated Runtime Hooks documentation, trace/memory boundary docs, roadmap, and README examples.

Compatibility

  • Existing calls such as agent.run("hello") and agent.run(query, stream=True, user_id=user_id) remain compatible.
  • Existing guardrails and MemoryPolicy.memory_write_admission remain supported.
  • README News was not updated because this is a minor release.

Validation

  • CI passed on Python 3.10, 3.11, and 3.12.
  • Local validation: 66 passed across tracing, hooks, memory policy, LightFlow, LiteLLM, MCP diagnostics, guardrails, shared memory, skill logging, vector memory adapter, and v0.6.5 compatibility tests.