Skip to content

feat: add per-user Agent Evolution settings#3223

Draft
heaoxiang-ai wants to merge 1 commit into
volcengine:mainfrom
heaoxiang-ai:agent/user-agent-evolution-settings
Draft

feat: add per-user Agent Evolution settings#3223
heaoxiang-ai wants to merge 1 commit into
volcengine:mainfrom
heaoxiang-ai:agent/user-agent-evolution-settings

Conversation

@heaoxiang-ai

Copy link
Copy Markdown
Contributor

Description

Adds per-user memory settings for Agent Evolution. Agent Evolution is disabled by default for users without an explicit setting; session commits continue archiving messages while skipping trajectory and experience generation. Existing experience files remain readable and searchable.

The setting is exposed consistently through server API, Python SDK, and CLI.

Related Issue

N/A

Type of Change

  • New feature
  • Bug fix
  • Breaking behavior change
  • Documentation update
  • Tests

Changes Made

  • Store per-user memory-type overrides and agent_evolution.enabled.
  • Resolve user settings on every commit and intersect them with session memory_policy.
  • Default Agent Evolution to disabled when no user override exists.
  • Add GET/PATCH /api/v1/user-settings/memory.
  • Add Python SDK methods and ov user-settings CLI commands.
  • Preserve existing memory files and retrieval behavior when generation is disabled.
  • Document compatibility and future multi-user/enterprise considerations.

Testing

  • User memory-policy unit tests: 3 passed.
  • Compressor gating tests: 2 passed.
  • Python SDK tests: 2 passed.
  • Rust CLI parsing/help tests: 2 passed.
  • Ruff check, Ruff format check, and git diff --check passed.
  • Six API and two commit integration tests could not initialize locally because the installed native wheel does not expose PersistStore; test bodies were not reached.

Checklist

  • Code follows the project style.
  • Tests cover policy resolution, gating, SDK, and CLI behavior.
  • Existing experiences remain consumable when Agent Evolution is disabled.
  • Enterprise interaction is documented as future work and is not implemented here.
  • Changes are independent from snapshots and usage reporting.

Screenshots

N/A

Additional Notes

This changes the default behavior for users without an explicit setting: new trajectory and experience memories are not generated until Agent Evolution is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant