Learn about stateful agents in Modus
agents.AgentBase
, which provides all the infrastructure for
state management, secure communications, and persistence. Your app
data—intelligence reports, threat assessments, contact logs—lives as fields in
the struct, automatically preserved across all interactions.
PublishEvent
method to emit custom events:
text/event-stream
and make a POST
request-N
flag and appropriate headers for streaming