Package uno.anahata.asi.agi.message


package uno.anahata.asi.agi.message
Provides the core message and part domain primitives for the Anahata AI framework.

At the core of the session history are AbstractMessage and its multi-modal AbstractPart implementations. This package manages conversation turns, role representation, token usage tracking, and the state attributes for Context Window Garbage Collection (CwGC) pruning.

Author:
anahata
  • Class
    Description
    The abstract base class for all messages in a conversation, providing common metadata and functionality for the rich, hierarchical V2 domain model.
    Represents a message originating from the AI model.
    The foundational component of an AbstractMessage, representing a discrete block of multimodal content.
    A specialized UserMessage representing intent originated by another AGI session within the same ASI container.
    An abstract base class for binary data parts, such as an image or a document.
    A specialized UserMessage designed for direct manipulation by UI components like an input panel.
    A specialized BlobPart for binary content generated by the model, including internal thought process details.
    A specialized TextPart for content generated by an AI model.
    Defines the possible pruning and pinning states for messages and parts within the conversation context.
    A specialized UserMessage that represents just-in-time, ephemeral context provided by the environment (Retrieval-Augmented Generation).
    Metadata about the token usage for a single API response.
    Defines the role of the entity that created a message, providing a type-safe way to distinguish between user, model, and tool messages.
    An abstract base class for text-based message parts.
    An interface for model-generated parts that can carry a thought signature.
    A concrete BlobPart implementation for binary content provided by the user.
    Represents a conversation message originating from the end-user.
    A concrete TextPart implementation for text content provided by the user.