Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe
agent-host
ThreadAgentHostOptions
Interface ThreadAgentHostOptions
interface
ThreadAgentHostOptions
{
approvalService
:
(
scope
:
AgentThreadInstanceScope
)
=>
ApprovalService
;
audit
?:
ApprovalAuditSink
;
authorizeAutomatedEntry
?:
AutomatedEntryAuthorizer
;
buildModules
:
|
(
(
scope
:
AgentThreadInstanceScope
)
=>
readonly
AgentModule
[]
)
|
(
(
scope
:
AgentThreadInstanceScope
)
=>
Promise
<
readonly
AgentModule
[]
>
)
;
cache
?:
false
|
MastraServerCache
;
stateStorage
:
()
=>
AgentThreadStateStorage
;
storage
:
(
scope
:
AgentThreadInstanceScope
)
=>
MastraCompositeStore
;
systemActorId
?:
string
;
}
Index
Properties
approval
Service
audit?
authorize
Automated
Entry?
build
Modules
cache?
state
Storage
storage
system
Actor
Id?
Properties
approval
Service
approvalService
:
(
scope
:
AgentThreadInstanceScope
)
=>
ApprovalService
Optional
audit
audit
?:
ApprovalAuditSink
Optional
authorize
Automated
Entry
authorizeAutomatedEntry
?:
AutomatedEntryAuthorizer
Narrows automated entry beyond what each agent's metadata declares.
build
Modules
buildModules
:
|
(
(
scope
:
AgentThreadInstanceScope
)
=>
readonly
AgentModule
[]
)
|
(
(
scope
:
AgentThreadInstanceScope
)
=>
Promise
<
readonly
AgentModule
[]
>
)
Optional
cache
cache
?:
false
|
MastraServerCache
state
Storage
stateStorage
:
()
=>
AgentThreadStateStorage
storage
storage
:
(
scope
:
AgentThreadInstanceScope
)
=>
MastraCompositeStore
Optional
system
Actor
Id
systemActorId
?:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
approval
Service
audit
authorize
Automated
Entry
build
Modules
cache
state
Storage
storage
system
Actor
Id
Documentation
GitHub
Anchorage API reference
Loading...
Narrows automated entry beyond what each agent's metadata declares.