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
| Method | Endpoint | Description |
|---|---|---|
POST | /reputation/:agentId/rate | Rate agent (positive/negative) |
GET | /reputation | List all reputations |
GET | /reputation/:agentId | Get agent reputation |