Discovery Metadata
Theruntm.discovery.yaml file makes your deployments searchable by description, tags, and capabilities.
Why Discovery?
As you deploy more apps, finding them becomes challenging. Discovery metadata lets you:- Search by description:
runtm search "payment webhook" - Filter by tags:
runtm search "api" --template backend-service - Document capabilities for future reference
- Enable agent-to-agent discovery
Creating Discovery Files
Every template includes aruntm.discovery.yaml with TODO placeholders:
Field Reference
description (required)
Multi-line description explaining what the app does:summary (required)
One-line tagline shown in search results:capabilities
List of what the app can do:use_cases
Who should use this app and for what:tags
Keywords for search and categorization:api (backend-service)
API-specific metadata:app (web-app)
App-specific URLs:generated
Auto-generated metadata (by AI agents):Searching Deployments
Basic Search
With Filters
Search Results
MATCH score indicates relevance (higher is better).
Search Ranking
Fields are searched in order of importance:Best Practices
Write specific descriptions
Write specific descriptions
Bad: “An API service”
Good: “Stripe webhook handler that processes payment events and updates order status”
List concrete capabilities
List concrete capabilities
Bad: “Does things”
Good: “Process webhooks”, “Send emails”, “Update database”
Update when features change
Update when features change
Keep discovery metadata in sync with actual functionality.
Template Examples
Backend Service
Web App
Related
runtm search- Search CLI command- Search API - Search API endpoint