Type alias SouledAgent

SouledAgent: Agent & {
    memory?: Memory;
}

Return type of souledAgent: an Agent with its backing Memory store exposed as memory, so callers can fold conversation into the wiki mid-session via await agent.memory.compileWiki(). memory is present whenever the soul resolves to a workspace directory; it is absent for inline souls that fall back to a plain agent.

Type declaration