Skip to content

feat(agent-vault): session metadata - #72

Merged
saifsmailbox98 merged 3 commits into
mainfrom
saif/age2-320-support-attaching-custom-metadata-to-sessions
Nov 17, 2026
Merged

saifsmailbox98 merged 3 commits into
mainfrom
saif/age2-320-support-attaching-custom-metadata-to-sessions

Conversation

@saifsmailbox98

@saifsmailbox98 saifsmailbox98 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Agent Vault sessions can now carry custom key/value metadata, e.g. a run ID or the user a run is for.

  • sessions.create(..., metadata={"runId": "8812"})
  • AgentVaultSession and CreatedAgentVaultSession have metadata: Dict[str, str], {} when there is none
  • sessions.update(session_id, label=..., *, metadata=None): a label left out isn't sent, None still removes it, metadata replaces the whole set and {} clears it. Existing update(id, "x") and update(id, None) calls behave the same

Not breaking.

Infisical PR: Infisical/infisical#9553
Node SDK PR: Infisical/node-sdk-v2#53

@infisical-review-police

Copy link
Copy Markdown

💬 Discussion in Slack: #pr-review-python-sdk-official-72-feat-agent-vault-session-metadata

Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel.

@linear

linear Bot commented Nov 16, 2026

Copy link
Copy Markdown

AGE2-320

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[Medium impact] The PR appears safe to merge; no actionable issue was found.

Summary

Adds custom metadata to Agent Vault sessions.

  • Agent Vault sessions carry searchable key-value metadata.
  • The Python CI job now runs on Ubuntu 24.04.

Reviews (3) · Last reviewed commit: "feat(agent-vault): filter the session li..." · Reviewed by Greptile

@scott-ray-wilson scott-ray-wilson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@saifsmailbox98
saifsmailbox98 merged commit c3ce9db into main Nov 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants