Skip to content

LightAgent v0.8.2

Choose a tag to compare

@wxai-space wxai-space released this 16 Jun 05:48
733736a

Summary

LightAgent v0.8.2 focuses on safer long-running memory behavior and clearer vector-memory integration guidance.

What's Changed

  • Add memory write admission controls through MemoryAdmissionDecision and MemoryPolicy.memory_write_admission.
  • Add max_writes_per_run and reject_duplicate_writes controls to limit unsafe or repeated memory mutations.
  • Emit memory_write and memory_write_block trace events without exposing raw memory text.
  • Add documentation for memory admission and mutation controls.
  • Add a dependency-free vector memory adapter example for Qdrant, Chroma, Milvus, FAISS, and similar backends.
  • Add tests for memory policy behavior and vector memory adapter scoping/similarity ordering.

Compatibility

  • Default memory behavior remains unchanged unless the new write controls are configured.
  • MemoryProtocol remains compatible with store(data, user_id) and retrieve(query, user_id).
  • README News is not updated for this minor release.

Validation

  • GitHub Actions passed on Python 3.10, 3.11, and 3.12 for #59.
  • Local validation passed: tests/test_vector_memory_adapter_example.py and tests/test_memory_policy.py, 12 passed.