Skip to content

Added new feature as /metadata api in teal agents for v1 and v3 with the agent info#216

Open
chaitu237 wants to merge 2 commits into
mainfrom
metadata-endpoint-simple-frameworj-agent
Open

Added new feature as /metadata api in teal agents for v1 and v3 with the agent info#216
chaitu237 wants to merge 2 commits into
mainfrom
metadata-endpoint-simple-frameworj-agent

Conversation

@chaitu237

Copy link
Copy Markdown

Description

Added a new /metadata endpoint to AppV1 and AppV3 agents that returns the agent's name, description, model, and available plugins. This gives a quick way to inspect agent capabilities at runtime.

Changes

Added AgentMetadata model, _safe_get() helper, _extract_metadata(), and get_metadata_routes() to utility_routes.py
Wired the metadata route into appv1.py and appv3.py
Added 32 new tests in test_utility_routes.py covering extraction logic, dict-based specs, and endpoint integration
Updated test_appv1.py and test_appv3.py for the new route
Set --no-cache as default Docker build flag in Makefile

Type of Change

  • Bugfix
  • [x ] New feature
  • Refactor
  • Documentation
  • Other (please specify): ____________

Screenshots (if applicable)

Screenshot 2026-03-17 175421

Additional Comments

There is more information that can be added for better analysis in /metadata

@michaelTurnbach

Copy link
Copy Markdown
Collaborator

please make sure all lint checks pass

@chaitu237

Copy link
Copy Markdown
Author

Please review the latest commit with fixed lint issues

@chaitu237 chaitu237 force-pushed the metadata-endpoint-simple-frameworj-agent branch from 53ccbf0 to c9026d5 Compare March 25, 2026 13:05
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