Advanced
This section covers internals and production-grade operating patterns.
Topics
- Structure of a Message: command/subscription/stream message fields and semantics.
- Queues – internals & delivery tuning: lifecycle configuration, leases, retries, DLQs.
- Delivery semantics and reliability: at-most-once vs at-least-once and idempotency patterns.
- AI Protocol: envelope/frame contract for agent streaming, telemetry, and nested flows.
- AI Knowledge & RAG: deep dive into vector stores, document adapters, and multi-tenant scoping.
- Custom AI Stores: building custom conversation memory and knowledge adapters.
- Standard AI Protocols (MCP & A2A): interoperability via Model Context Protocol and Agent2Agent.
- JavaScript Events: integrating framework events with native JS events.
When to read this section
- you debug cross-service routing and message metadata
- you define production delivery/retry expectations
- you need stronger observability and operational safety controls
- you build custom storage adapters for AI memory or knowledge
- you need deep interoperability with standard AI protocols
