| name | evolve |
| description | Create, test, and improve functions at runtime — agents write their own code |
| toolScope | ["Bash","Read"] |
| effort | extended |
Self-evolving functions:
- Generate:
curl -X POST http://localhost:3111/api/evolve/generate -H 'Content-Type: application/json' -d '{"goal": "<what>", "name": "<name>", "agentId": "claude-code"}'
- Register:
curl -X POST http://localhost:3111/api/evolve/register -H 'Content-Type: application/json' -d '{"functionId": "<id>"}'
- Evaluate:
curl -X POST http://localhost:3111/api/eval/run -H 'Content-Type: application/json' -d '{"functionId": "<id>", "input": {...}, "expected": {...}}'
- Improve:
curl -X POST http://localhost:3111/api/feedback/review -H 'Content-Type: application/json' -d '{"functionId": "<id>"}'
Functions evolve through: draft -> staging -> production. The feedback loop auto-improves underperforming functions.