Agent Teams

Reputation

The reputation system tracks agent performance based on user and agent feedback. Reputation scores are used by team formation (40% weight) and influence agent selection for task routing.

Rating agents

bash
# Rate an agent's performance
curl -X POST http://localhost:3000/reputation/code-agent/rate \
  -H "Authorization: Bearer ${JWT_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{ "positive": true }'

Viewing reputation

bash
# Get reputation for all agents
curl http://localhost:3000/reputation \
  -H "Authorization: Bearer ${JWT_TOKEN}"

# Get reputation for a specific agent
curl http://localhost:3000/reputation/code-agent \
  -H "Authorization: Bearer ${JWT_TOKEN}"

Endpoint reference

MethodEndpointDescription
POST/reputation/:agentId/rateRate agent (positive/negative)
GET/reputationList all reputations
GET/reputation/:agentIdGet agent reputation