Skip to main content

Function: souledAgent()

souledAgent(opts): Promise<SouledAgent>

Defined in: packages/agentos/src/api/souledAgent.ts:57

Create an agent whose long-term memory is its soul-file memory/ wiki.

When the soul resolves to a workspace directory, the wiki is wired end to end (store + write-back + read_memory_page tool + prelude index.md). For inline souls ({ content }) there is no workspace, so this falls back to a plain agent.

Parameters

opts

SouledAgentOptions

Agent options with a required soul.

Returns

Promise<SouledAgent>

A fully-wired Agent.