Skip to content

Conversation

@CasperGN
Copy link
Contributor

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within tabpane
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have tabpane

In addition, please fill out the following to help reviewers understand this pull request:

Description

Going out of dapr/dapr-agents#373 Dapr Agents now supplies its Metadata schema in the repo. This PR extends the docs with references to this so Operators can find and handle the differences in the versioned schemas when presenting agents etc.

Issue reference

Signed-off-by: Casper Nielsen <casper@diagrid.io>
Signed-off-by: Casper Nielsen <casper@diagrid.io>
@CasperGN CasperGN requested a review from sicoyle January 19, 2026 09:26
Copy link
Contributor

@marcduiker marcduiker left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

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

Leave comments. This needs more explanation.


In order to facilitate easier handling of version changes to the agent metadata, Dapr Agents supplies versioned JSON schemas. Within the [dapr agents repository] you'll find 3 types of JSON schema files:

- [index.json](https://raw.githubusercontent.com/dapr/dapr-agents/main/schemas/agent-metadata/index.json)
Copy link
Member

Choose a reason for hiding this comment

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

These URLS do not resolve. What are they intending to show?

Copy link
Contributor

@marcduiker marcduiker Jan 20, 2026

Choose a reason for hiding this comment

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

This Agents PR needs to be merged first: dapr/dapr-agents#373
Added the waiting-on-code-pr label.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Once 373 is in main the links will resolve properly


Dapr Agents utilizes an Agent Registry (often referenced as `agent-registry` statestore) to communicate Agent capabilities. The Agent Registry contains Agent metadata, including the agent's name, description, version and much more.

In order to facilitate easier handling of version changes to the agent metadata, Dapr Agents supplies versioned JSON schemas. Within the [dapr agents repository] you'll find 3 types of JSON schema files:
Copy link
Member

Choose a reason for hiding this comment

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

I really do not understand why and what this metadata is used for? What are the scenarios for when I would use this and when does this get updated? What I do not get from this article is how to use this metadate store. I suggest that we provide at least 5 concrete examples of its usefulness.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@msfussell we're now versioning the metadata that Dapr Agents sends to the registry. This is done to ensure a consumer of the metadata can find the schema for the specific version. In the future (and previously) the structure of the metadata might change and if consumers of the metadata are doing lookups for data, let's imagine in a UI, what happens when an agent registers on an older version without that schema field that the IU expects?

Adding the versioned metadata schema allows the consumer to take actions based of the metadata version by fetching the schema.

@marcduiker marcduiker added the waiting-on-code-pr The code PR needs to be merged before the docs are updated label Jan 20, 2026
marcduiker and others added 4 commits January 20, 2026 18:28
…ations.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
…ations.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
…ations.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Casper Nielsen <whopsec@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-code-pr The code PR needs to be merged before the docs are updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants