Adding agent owners
Added in
eventcatalog@3.41.0Owners in EventCatalog are either users or teams and are optional. Assigning owners to an agent makes it clear who is responsible for keeping it up to date, responding to incidents, and approving model upgrades.
Add owners using frontmatter
Add the id of any user or team to the owners array in your agent's frontmatter:
/agents/FraudReviewAgent/index.mdx (example)
---
id: FraudReviewAgent
version: 0.0.1
owners:
- dboyne # a user id
- full-stack # a team id
---
Creating users and teams
EventCatalog gives you the ability to create users and teams. You can read the documentation to get started.
Show owned agents on a team page
Added in
eventcatalog@3.41.0Teams and users gained an ownedAgents array alongside ownedServices. Add agent references to a team file to surface owned agents directly on the team's catalog page.
/teams/full-stack.mdx (example)
---
id: full-stack
name: Full Stack Team
ownedAgents:
- id: FraudReviewAgent
version: 0.0.1
- id: OrderSupportAgent
ownedServices:
- id: PaymentService
version: 0.0.1
---
The same field is available on user files:
/users/dboyne.mdx (example)
---
id: dboyne
name: David Boyne
ownedAgents:
- id: InventoryRebalancingAgent
---
If no version is provided, EventCatalog uses the latest version of the agent.