Skip to main content

@elizaos/core v1.0.0-beta.51 / Agent

Interface: Agent

Represents an operational agent, extending the Character definition with runtime status and timestamps. While Character defines the blueprint, Agent represents an instantiated and potentially running version. It includes:

  • enabled: A boolean indicating if the agent is currently active or disabled.
  • status: The current operational status, typically AgentStatus.ACTIVE or AgentStatus.INACTIVE.
  • createdAt, updatedAt: Timestamps for when the agent record was created and last updated in the database. This interface is primarily used by the IDatabaseAdapter for agent management.

Extends​

Properties​

id?​

optional id: `${string}-${string}-${string}-${string}-${string}`

Optional unique identifier

Inherited from​

Character.id

Defined in​

packages/core/src/types.ts:691


name​

name: string

Character name

Inherited from​

Character.name

Defined in​

packages/core/src/types.ts:694


username?​

optional username: string

Optional username

Inherited from​

Character.username

Defined in​

packages/core/src/types.ts:697


system?​

optional system: string

Optional system prompt

Inherited from​

Character.system

Defined in​

packages/core/src/types.ts:700


templates?​

optional templates: object

Optional prompt templates

Index Signature​

[key: string]: TemplateType

Inherited from​

Character.templates

Defined in​

packages/core/src/types.ts:703


bio​

bio: string | string[]

Character biography

Inherited from​

Character.bio

Defined in​

packages/core/src/types.ts:708


messageExamples?​

optional messageExamples: MessageExample[][]

Example messages

Inherited from​

Character.messageExamples

Defined in​

packages/core/src/types.ts:711


postExamples?​

optional postExamples: string[]

Example posts

Inherited from​

Character.postExamples

Defined in​

packages/core/src/types.ts:714


topics?​

optional topics: string[]

Known topics

Inherited from​

Character.topics

Defined in​

packages/core/src/types.ts:717


adjectives?​

optional adjectives: string[]

Character traits

Inherited from​

Character.adjectives

Defined in​

packages/core/src/types.ts:720


knowledge?​

optional knowledge: (string | object | object)[]

Optional knowledge base

Inherited from​

Character.knowledge

Defined in​

packages/core/src/types.ts:723


plugins?​

optional plugins: string[]

Available plugins

Inherited from​

Character.plugins

Defined in​

packages/core/src/types.ts:730


settings?​

optional settings: object

Optional configuration

Index Signature​

[key: string]: any

Inherited from​

Character.settings

Defined in​

packages/core/src/types.ts:733


secrets?​

optional secrets: object

Optional secrets

Index Signature​

[key: string]: string | number | boolean

Inherited from​

Character.secrets

Defined in​

packages/core/src/types.ts:738


style?​

optional style: object

Writing style guides

all?​

optional all: string[]

chat?​

optional chat: string[]

post?​

optional post: string[]

Inherited from​

Character.style

Defined in​

packages/core/src/types.ts:743