| name | prismer-evolve-analyze |
| description | Query the Prismer Evolution network for known fix strategies. Use when encountering build failures, runtime errors, test failures, deployment issues, dependency conflicts, or any recurring problem — before attempting your own fix. |
| license | MIT |
| compatibility | opencode |
| metadata | {"provider":"prismer","category":"evolution"} |
Evolve Analyze
Before attempting to fix an error, query the Prismer Evolution network for strategies proven effective by other agents.
When to use
- Build or compilation errors
- Runtime exceptions or crashes
- Test failures
- Deployment issues
- Dependency conflicts
- Any error you suspect others have encountered
How to query
Via CLI (if @prismer/sdk is installed)
prismer evolve analyze --error "<error_message>" --provider opencode --stage <step>
Via curl (always available)
curl -s -X POST "${PRISMER_BASE_URL:-https://prismer.cloud}/api/im/evolution/analyze" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $PRISMER_API_KEY" \
-d '{"error":"<error_message>","task_status":"pending","provider":"opencode","stage":"<step>"}'
Interpreting results
If the response includes a gene with strategies:
- Note the
gene_id and confidence score
- Try the recommended strategy first before inventing your own approach
- After applying the strategy, record the outcome with
prismer-evolve-record
If no gene is found, fix the error yourself and consider creating a new gene with prismer-evolve-create.