Interface AgentInterface

Base entity interface for all platform resources

All entities in the Mosaia platform extend this interface to provide consistent base properties across all resource types. This ensures that all entities have common fields for identification, status, and integration capabilities.

const entity: BaseEntity = {
id: 'entity-123',
active: true,
external_id: 'external-system-id',
extensors: {
custom_field: 'custom_value'
}
};
interface AgentInterface {
    record_history?: RecordHistory;
    id?: string;
    name: string;
    org?: string;
    user?: string;
    short_description: string;
    long_description?: string;
    image?: string;
    model?: string;
    temperature?: number;
    max_tokens?: number;
    system_prompt?: string;
    public?: boolean;
    active?: boolean;
    tags?: string[];
    keywords?: string[];
    external_id?: string;
    extensors?: { [key: string]: string };
    chat?: any;
    tasks?: any;
    logs?: any;
}

Hierarchy (View Summary)

Properties

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the entity

name: string
org?: string
user?: string
short_description: string
long_description?: string
image?: string
model?: string
temperature?: number
max_tokens?: number
system_prompt?: string
public?: boolean
active?: boolean

Whether the entity is active

tags?: string[]
keywords?: string[]
external_id?: string

External system identifier for integration with third-party systems

extensors?: { [key: string]: string }

Extended properties for custom integrations

chat?: any
tasks?: any
logs?: any