Repository navigation
feat(api): add full record to ai catalog mappings - #1609
Merged
Merged
Conversation
2 tasks done
Contributor
|
The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).
|
ramizpolic
force-pushed
the
feat/catalog-sync
branch
from
June 9, 2026 09:38
effbf1f to
dbf32fa
Compare
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
ramizpolic
marked this pull request as ready for review
June 10, 2026 17:45
Signed-off-by: Ramiz Polic <[email protected]>
Signed-off-by: Ramiz Polic <[email protected]>
Signed-off-by: Ramiz Polic <[email protected]>
Signed-off-by: Ramiz Polic <[email protected]>
Signed-off-by: Ramiz Polic <[email protected]>
ramizpolic
force-pushed
the
feat/catalog-sync
branch
from
June 11, 2026 07:45
33cef76 to
81e4af2
Compare
Signed-off-by: Ramiz Polic <[email protected]>
Signed-off-by: András Jáky <[email protected]>
about made-up ratings and statistics Signed-off-by: András Jáky <[email protected]>
Signed-off-by: Ramiz Polic <[email protected]>
Signed-off-by: András Jáky <[email protected]>
akijakya
force-pushed
the
feat/catalog-sync
branch
from
June 11, 2026 09:40
d7cb012 to
e4c5e75
Compare
Signed-off-by: Ramiz Polic <[email protected]>
"powered by Agent Directory Service" Signed-off-by: András Jáky <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces a refactoring to support native AI Catalog projections from OASF records while standardizing how different record formats are handled across the codebase.
Key Changes
api/catalog/v1) - New catalog integration layer that projects OASF records into AI Catalog entriesapi/core/adapters) - Moved internal server-only abstractions to API package so that both SDKs, clients, and other tools can reuse it, regardless of the underlying data format (OCI, raw JSON, etc)client/utils/verify) - Extended signature result tracking to include both the signature and signature content typeCatalog Item
Below is an example of a real record mapped to a catalog item available through the UI.
{ "identifier": "urn:ai:org.agntcy:cid:baeareiabbog2umgduqhlcb64fzt6adn34kblzvru3fdzkl75hjhwt6h3da", "displayName": "burger_seller_agent", "mediaType": "application/ai-catalog+json", "data": { "entries": [ { "data": { "card_data": { "capabilities": { "streaming": true }, "defaultInputModes": [ "text", "text/plain" ], "defaultOutputModes": [ "text", "text/plain" ], "description": "Helps with creating burger orders", "name": "burger_seller_agent", "protocolVersions": [ "0.2.6" ], "provider": { "organization": "Example Organization", "url": "https://example.com" }, "skills": [ { "description": "Helps with creating burger orders", "examples": [ "I want to order 2 classic cheeseburgers" ], "id": "create_burger_order", "name": "Burger Order Creation Tool", "tags": [ "burger order creation" ] } ], "supportedInterfaces": [ { "protocolBinding": "HTTP+JSON", "url": "https://burger-agent-109790610330.us-central1.run.app" } ], "version": "1.0.0" }, "card_schema_version": "v1.0.0" }, "displayName": "burger_seller_agent - A2A", "mediaType": "application/a2a-agent-card+json" }, { "data": { "connections": [ { "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "command": "docker", "env_vars": [ { "default_value": "", "description": "Secret value for GITHUB_PERSONAL_ACCESS_TOKEN", "name": "GITHUB_PERSONAL_ACCESS_TOKEN" } ], "type": "stdio" } ], "name": "github-mcp-server" }, "displayName": "burger_seller_agent - MCP", "mediaType": "application/mcp-server-card+json" } ], "specVersion": "1.0" }, "version": "1.0.0", "description": "Helps with creating burger orders", "tags": [ "oasf:1.0.0:skills:natural_language_processing/natural_language_understanding/contextual_comprehension" ], "trustManifest": { "identity": "urn:ai:org.agntcy:cid:baeareiabbog2umgduqhlcb64fzt6adn34kblzvru3fdzkl75hjhwt6h3da", "identityType": "did", "attestations": [ { "type": "publisher-identity", "uri": "base64:<signature>", "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", "digest": "sha256:b7f3b119ec115b2139947fc5285147c76c43c354fe20b9b6b1b5f72c1efada41", "size": "13580", "description": "Verified signature by urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/chore/add-dir-demo-bot" }, { "type": "publisher-identity", "uri": "base64:<signature>", "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", "digest": "sha256:cf92dd292abd12ac1bb3f79688f61313d133e3fad33dabf304ba747e7204c665", "size": "13212", "description": "Verified signature by urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/ci/revamp-demo-dir" }, { "type": "publisher-identity", "uri": "base64:<signature>", "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", "digest": "sha256:563cf7251c5e9afc010f9f662dfec760be1b4ceacc4575b84c33beffddf61ce9", "size": "13588", "description": "Verified signature by urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/feat/unify-dirctl-path" }, { "type": "publisher-identity", "uri": "base64:<signature>", "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", "digest": "sha256:308d7ebcfc0770198d843583201fc3e0a0d647aff2347023cc0c01284875ce3c", "size": "13656", "description": "Verified signature by urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/fix/demo-workflow" }, { "type": "publisher-identity", "uri": "base64:<signature>", "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", "digest": "sha256:bc6c7e344e2f5dc1a1f5abc2b2e37ffab742b5a1db146cba4bd565823a70d9e0", "size": "13320", "description": "Verified signature by urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/main" }, { "type": "publisher-identity", "uri": "base64:<signature>", "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", "digest": "sha256:245a76784a9b5257955eb984d93845e110728ce9b3cbc94f1a8870c8f9d9a601", "size": "14104", "description": "Verified signature by urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/refactor/pin-demo-import-workflows-to-version" } ], "provenance": [ { "relation": "derivedFrom", "sourceId": "urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/chore/add-dir-demo-bot", "signatureRef": "sha256:b7f3b119ec115b2139947fc5285147c76c43c354fe20b9b6b1b5f72c1efada41" }, { "relation": "derivedFrom", "sourceId": "urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/ci/revamp-demo-dir", "signatureRef": "sha256:cf92dd292abd12ac1bb3f79688f61313d133e3fad33dabf304ba747e7204c665" }, { "relation": "derivedFrom", "sourceId": "urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/feat/unify-dirctl-path", "signatureRef": "sha256:563cf7251c5e9afc010f9f662dfec760be1b4ceacc4575b84c33beffddf61ce9" }, { "relation": "derivedFrom", "sourceId": "urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/fix/demo-workflow", "signatureRef": "sha256:308d7ebcfc0770198d843583201fc3e0a0d647aff2347023cc0c01284875ce3c" }, { "relation": "derivedFrom", "sourceId": "urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/main", "signatureRef": "sha256:bc6c7e344e2f5dc1a1f5abc2b2e37ffab742b5a1db146cba4bd565823a70d9e0" }, { "relation": "derivedFrom", "sourceId": "urn:ai:org.agntcy:signer:oidc:CN=sigstore-intermediate,O=sigstore.dev:token.actions.githubusercontent.com:github.com/agntcy/dir/.github/workflows/demo-dir.yaml@refs/heads/refactor/pin-demo-import-workflows-to-version", "signatureRef": "sha256:245a76784a9b5257955eb984d93845e110728ce9b3cbc94f1a8870c8f9d9a601" } ], "signature": "<signature1>.<signature2>...", "metadata": {} }, "updatedAt": "2025-01-01T00:00:00Z", "metadata": {} }Well-known host
{ "specVersion": "1.0", "host": { "displayName": "AGNTCY Directory", "identifier": "urn:ai:org.agntcy:host:12D3KooWDJtVk5SkdQj5LjJ7NMvzGoyqA6R3qNjUdgRaVTjRZHiM" }, "entries": [], "collections": [ { "displayName": "A2A Agents", "url": "http://localhost:8889/v1/agents?filter=type%3Dapplication%2Fa2a-agent-card%2Bjson", "description": "Agents that publish an A2A agent card.", "mediaType": "application/a2a-agent-card+json", "tags": [], "metadata": {} }, { "displayName": "MCP Servers", "url": "http://localhost:8889/v1/agents?filter=type%3Dapplication%2Fmcp-server-card%2Bjson", "description": "Agents that expose an MCP server connection.", "mediaType": "application/mcp-server-card+json", "tags": [], "metadata": {} }, { "displayName": "Agent Skills", "url": "http://localhost:8889/v1/agents?filter=type%3Dapplication%2Fagentskill%2Bmd", "description": "Agents that publish a reusable Agent Skill definition.", "mediaType": "application/agentskill+md", "tags": [], "metadata": {} } ], "metadata": {} }Design Benefits