[Feature]: 在 Agent 经验列表展示当日应用统计数据

Aperta
#7,114 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
analytics, backend

Direzione di ricerca

The issue describes the Agent experience list and proposes daily usage counts, last-used times, date-range filters, and summary cards, but it names no implementation files or tests. First locate the Agent experience list and the code that records experience usage; then determine whether usage timestamps are already stored. Done means the list can show daily usage and the requested summaries, with existing cumulative counts preserved.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

studio

Issue Origin

Observed or reproduced in a real environment

Problem Statement

在 OpenViking Studio 的“Agent 经验”模块中,目前经验列表主要展示经验内容及累计“被使用数”,但缺少按日的应用统计信息。由于统计数据和使用情况层级较深,用户很难快速判断当天是否有经验被实际使用,也无法直观看出哪些经验使用频率最高、哪些经验长期没有被使用。

这会影响经验治理和持续优化:无法及时识别高价值经验,也难以发现低价值、过时或从未命中的经验。

Proposed Solution

建议在“Agent 经验”列表中直接展示当日应用统计数据,至少包括:

  • 当日被使用次数
  • 当日应用过的经验数量 / 总经验数量
  • 当日使用次数排名(或支持按当日使用次数排序)
  • 最近一次使用时间
  • 可选:当日使用趋势、昨日/近 7 日对比

建议支持以下交互:

  1. 列表增加“今日使用次数”和“最近使用时间”列;
  2. 支持按今日使用次数降序、最近使用时间排序;
  3. 提供“今日 / 昨日 / 近 7 日 / 累计”的统计范围切换;
  4. 在列表顶部展示汇总卡片,例如“今日应用经验数”“今日总应用次数”“未使用经验数”;
  5. 对今日未被使用的经验提供明显状态标识,便于后续清理、调整或优化。

如果当前系统只保留累计计数,建议在经验使用事件中记录使用时间,并按天聚合;已有累计数据应保持兼容。

Alternatives Considered

  • 继续进入经验详情页查看累计“被使用数”:信息层级较深,无法快速完成全局比较。
  • 仅展示累计使用次数:无法反映近期效果,容易被历史数据掩盖。
  • 单独增加统计页面:可以满足分析需求,但列表内缺少直接决策所需的上下文;更适合与列表字段和筛选结合。

Feature Area

Other

Use Case

作为 Agent 经验维护者,我希望在打开经验列表时立即看到当天哪些经验被实际应用、各自使用了多少次以及哪些经验没有被使用,从而判断经验是否有效,并据此优化经验内容、合并重复经验或清理长期未命中的经验。

Example API (Optional)

{
    "date": "2026-11-06",
    "total_usage_count": 128,
    "used_experience_count": 24,
    "unused_experience_count": 76,
    "items": [
        {
            "experience_id": "...",
            "usage_count": 18,
            "last_used_at": "2026-11-06T10:32:11+08:00"
        }
    ]
}

Additional Context

该建议针对 Agent 经验模块的可观测性和治理效率。核心诉求是把“是否被使用、使用最多的是哪些、哪些长期未使用”从详情层提升到列表层,降低判断成本,并为后续经验迭代提供依据。

Contribution

  • I am willing to contribute to implementing this feature
Lingua principale
Python
Stelle
41.8k
Fork
3.4k
Merge medio
19h 29m
PR unite (30g)
500

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di volcengine/OpenViking

Tutte le issue di volcengine/OpenViking

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.