Use Cases
Tutorial: Understand the codebase
Turn a codebase question into a plan to answer it.
- 1Ask a question ('how does damage flow?').
- 2Get the intent, the approach, what to inspect, and the artifact to produce (flow, callers, deps, or explanation).
API — deterministic output.
curl -X POST $CURFLUFFLE_API_URL/tools/code.intel \
-H "Authorization: Bearer $CURFLUFFLE_API_KEY" -H "Content-Type: application/json" \
-d '{"question":"how does damage flow?","scope":"combat"}'
# → { ok:true, data:{ result:{ intent:"Trace flow", approach, inspect, artifact }, markdown } }