Repository navigation
feat: resolve --agent-card from AI Catalogs - #152
Open
yarolegovich wants to merge 1 commit into
Open
yarolegovich wants to merge 1 commit into
yarolegovich wants to merge 1 commit into
Conversation
Embed ai-catalog-go to register AI Catalogs in the store shared with ai-catalog-cli and resolve --agent-card from the A2A agents they list, without depending on the ai-catalog binary. - a2a catalog add/list/update/remove/search (experimental) - -a <identifier> looks the agent up across registered catalogs, or in the catalog given with --catalog <name|url> - -a <url> that serves a catalog resolves to its only A2A agent Fixes #19
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.
a2a catalog add/list/update/remove/search(experimental). They read and write the store shared with ai-catalog-cli (~/.ai-catalog, respectingAI_CATALOG_CACHE_DIR), so a catalog registered with either tool is visible to both, andsearchlists only A2A agents (application/a2a-agent-card+json).ai-catalogbinary. Store I/O lives in the newinternal/aicatalogpackage and keeps every registry field it doesn't own, and its tests read a store written by ai-catalog-cli v0.4.0.-a urn:...looks the agent up across the registered catalogs, and--catalog <name|url>narrows the lookup to one registered catalog or an unregistered catalog URL. An identifier listed by more than one catalog is an error that suggests--catalog, and a missing one lists the agents that are in scope.-a <url>that serves an AI Catalog instead of a card resolves to the catalog's only A2A agent, and errors with the list of agents otherwise.-avalues starting withurn:used to be treated as hosts and failed, and an existing file namedurn:...is still read as a card, so existing invocations are unaffected. Lookups in registered catalogs read only the local store;a2a catalog updatefetches them again.Fixes #19