Skip to main content

Crate everruns_ag_ui

Crate everruns_ag_ui 

Source
Expand description

Deprecated compatibility shim for the canonical core module in the Everruns ecosystem.

This is the final forwarding release. Enable the matching everruns-core feature and migrate imports to its module before the next platform release.

use everruns_core::ag_ui::{Event, RunStartedEvent};
let event = Event::RunStarted(RunStartedEvent::new("thread", "run"));
let _ = event;

Modules§

consumer
The consumer side of AG-UI 1.0: turning a producer’s event stream into a checked, assembled RunResult.

Structs§

ActivityDeltaEvent
ActivityMessage
Structured progress, as a message whose content is an object.
ActivitySnapshotEvent
Structured progress: an activity message whose content is an object.
AgentCapabilities
What an agent declares it can do. Omitted means undeclared; the stream is authoritative. How a consumer obtains a declaration is left to the implementation.
AssistantMessage
BaseEvent
Fields every event may carry.
Context
A piece of context the consumer supplies to the run.
CustomEvent
ExecutionCapabilities
FunctionCall
HumanInTheLoopCapabilities
IdentityCapabilities
Interrupt
Something a run stopped to ask for, carried by the interrupt outcome.
MediaPart
An image, audio, video or document part.
MessagesSnapshotEvent
MultiAgentCapabilities
MultimodalCapabilities
MultimodalInputCapabilities
MultimodalOutputCapabilities
OutputCapabilities
RawEvent
ReasoningCapabilities
ReasoningEncryptedValueEvent
A provider reasoning artefact a consumer stores and returns without reading.
ReasoningMessage
ReasoningMessageChunkEvent
ReasoningMessageContentEvent
ReasoningMessageEndEvent
ReasoningMessageStartEvent
ReasoningSpanEvent
REASONING_START and REASONING_END: a reasoning span. Spans and reasoning messages are separate namespaces.
ResumeBuilder
Builds the resume list for a run that continues an interrupted one.
ResumeEntry
The answer to one Interrupt on a resuming run.
RunAgentInput
The request body that starts a run.
RunErrorEvent
RunFinishedEvent
RunStartedEvent
StateCapabilities
StateDeltaEvent
StateSnapshotEvent
StepEvent
STEP_STARTED and STEP_FINISHED.
SubagentErrorEvent
SubagentFinishedEvent
SubagentInfo
SubagentStartedEvent
Announces a subagent invocation before any event attributed to it.
TextMessageChunkEvent
The chunked form: the first chunk must carry messageId; later chunks may omit it.
TextMessageContentEvent
TextMessageEndEvent
TextMessageStartEvent
TextOnlyMessage
A developer or system message: text only.
TextPart
TokenUsage
Token usage of one provider and model. Input and output counts are totals; cached and reasoning tokens are parts of them.
Tool
A frontend tool definition.
ToolCall
A tool call on an assistant message.
ToolCallArgsEvent
ToolCallChunkEvent
The chunked form: the first chunk must carry toolCallId and toolCallName; later chunks may omit them.
ToolCallEndEvent
ToolCallResultEvent
A tool result. It is a message in its own right (messageId) and does not reopen the call it answers.
ToolCallStartEvent
ToolMessage
The result of a tool call, as a message in the thread.
ToolsCapabilities
TransportCapabilities
UserMessage

Enums§

Content
Message content: a string, or an ordered list of parts.
ContentPart
One part of multimodal content, tagged by type.
Event
One AG-UI event, tagged by type.
JsonPatchOperation
One JSON Patch operation, tagged by op. Paths are JSON Pointers.
Message
A message in a thread, tagged by role.
PartSource
Where a media part’s bytes are, tagged by type.
ReasoningEncryptedValueSubtype
ReasoningRole
The only role a reasoning message may carry.
ResumeError
A resume list that breaks the coverage rule.
ResumeStatus
RunFinishedOutcome
How a run ended, tagged by type.
SubagentFinishedOutcome
TextMessageRole
Roles a TEXT_MESSAGE_START may open.
ToolCallType
ToolRole
The only role a tool result may carry.

Constants§

PROTOCOL_VERSION
The AG-UI protocol version these types implement.
SCHEMA_JSON
The upstream JSON Schema these types implement, verbatim.

Functions§

check_resume_coverage
Checks an already-built resume list against the open interrupts.

Type Aliases§

JsonPatch
An RFC 6902 JSON Patch, as carried by STATE_DELTA and ACTIVITY_DELTA.
Metadata
Open-by-key metadata carried by events, messages and interrupts.