Confident
Fastest route wins. The agent scores 0.92 confidence. Operations approves.
CockroachDB x AWS Hackathon * Agentic Memory
What happens when your dispatch AI sends crews into a 47 degC corridor - and forgets it happened every single week?
One-line identity
The dispatch agent that recalls every hot corridor before it acts.
The failure mode
Fastest route wins. The agent scores 0.92 confidence. Operations approves.
I-10 Express peaks at 47 degC at 14:00. City weather says 42 degC for the whole metro.
Three heat incidents last month. Zero memory. Same dispatch tomorrow.
Live demo * centerpiece
Agent loop
New dispatch: crew, corridor candidates, departure window.
Hybrid search in CockroachDB - vector + keyword + outcome filters.
Bedrock agent overrides fastest route when incidents ? threshold.
Transactional write: memory record + embedding + audit event.
CockroachDB memory layer
Source: Seed fallback (set DATABASE_URL)
Loading dispatch_memories ...
Schema: dispatch_memories + VECTOR(512) + cosine vector index. Setup: pnpm db:setup
Real-world impact
Phoenix last-mile fleets dispatch hundreds of crews daily. City weather APIs report one number for the whole metro - blind to corridor-level heat gaps that injure workers.
47 degC
Arterial peak
I-10 Express @ 14:00
39 degC
Recalled route
Surface @ 06:00
3 x
Past incidents
Same corridor, no memory
?8 degC
Exposure delta
When recall overrides
Stack
UI (S3) ? API Gateway ? Lambda (dispatch-agent)
? recall / persist
CockroachDB Cloud
??? dispatch_memories (structured)
??? VECTOR(512) embeddings
??? memory_audit (observability)
??? MCP Server ? Cursor / Claude