@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, typicallyAgentStatus.ACTIVE
orAgentStatus.INACTIVE
.createdAt
,updatedAt
: Timestamps for when the agent record was created and last updated in the database. This interface is primarily used by theIDatabaseAdapter
for agent management.
Extends​
Properties​
id?​
optional
id: `${string}-${string}-${string}-${string}-${string}`
Optional unique identifier
Inherited from​
Defined in​
packages/core/src/types.ts:691
name​
name:
string
Character name
Inherited from​
Defined in​
packages/core/src/types.ts:694
username?​
optional
username:string
Optional username
Inherited from​
Defined in​
packages/core/src/types.ts:697
system?​
optional
system:string
Optional system prompt
Inherited from​
Defined in​
packages/core/src/types.ts:700
templates?​
optional
templates:object
Optional prompt templates
Index Signature​
[key
: string
]: TemplateType
Inherited from​
Defined in​
packages/core/src/types.ts:703
bio​
bio:
string
|string
[]
Character biography
Inherited from​
Defined in​
packages/core/src/types.ts:708
messageExamples?​
optional
messageExamples:MessageExample
[][]
Example messages
Inherited from​
Defined in​
packages/core/src/types.ts:711
postExamples?​
optional
postExamples:string
[]
Example posts
Inherited from​
Defined in​
packages/core/src/types.ts:714
topics?​
optional
topics:string
[]
Known topics
Inherited from​
Defined in​
packages/core/src/types.ts:717
adjectives?​
optional
adjectives:string
[]
Character traits
Inherited from​
Defined in​
packages/core/src/types.ts:720
knowledge?​
optional
knowledge: (string
|object
|object
)[]
Optional knowledge base
Inherited from​
Defined in​
packages/core/src/types.ts:723
plugins?​
optional
plugins:string
[]
Available plugins
Inherited from​
Defined in​
packages/core/src/types.ts:730
settings?​
optional
settings:object
Optional configuration
Index Signature​
[key
: string
]: any
Inherited from​
Defined in​
packages/core/src/types.ts:733
secrets?​
optional
secrets:object
Optional secrets
Index Signature​
[key
: string
]: string
| number
| boolean
Inherited from​
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
[]