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)
bashprismer evolve analyze --error "<error_message>" --provider opencode --stage <step>
Via curl (always available)
bashcurl -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>"}' # Optional: append ?scope=<scope> to the URL to partition gene pools
Interpreting results
If the response includes a gene with strategies:
- Note the
gene_idandconfidencescore - 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.

