LightAgent v0.8.1
LightAgent v0.8.1
LightAgent v0.8.1 strengthens the boundary between trace observability, persistent memory, self-reflection memory, and LightSwarm delegation state.
Highlights
- Add
MemoryScopeas a recommended metadata convention for memory provenance. - Extend
MemoryPolicywith optional filtering by source, scope, agent name, trust level, and confidence. - Document how to separate user memory from trace-derived, reflection, and delegated-agent memory.
- Clarify trace hierarchy: each
agent.run(..., trace=True)creates its own trace ID, while nested reflection or delegated runs should be linked by caller-managedparent_trace_idmetadata when needed. - Update memory security, tracing, FAQ, README, and roadmap documentation.
Compatibility
- Existing
MemoryProtocolremainsstore(data, user_id)andretrieve(query, user_id). - Default memory behavior remains unchanged unless the new stricter
MemoryPolicyfilters are configured.
Tests
- Local targeted regression suite passed: 30 tests.
- LiteLLM tests passed: 2 tests.
- GitHub CI passed on Python 3.10, 3.11, and 3.12.