Interface: CompiledStrategy
Defined in: packages/agentos/src/api/types.ts:1061
Internal
Compiled strategy interface used internally by the agency orchestrator.
Methods
execute()
execute(
prompt,opts?):Promise<unknown>
Defined in: packages/agentos/src/api/types.ts:1068
Execute the compiled strategy and return the aggregated result.
Parameters
prompt
string
User prompt.
opts?
Record<string, unknown>
Optional per-call overrides.
Returns
Promise<unknown>
stream()
stream(
prompt,opts?):CompiledStrategyStreamResult
Defined in: packages/agentos/src/api/types.ts:1077
Stream the compiled strategy execution.
Parameters
prompt
string
User prompt.
opts?
Record<string, unknown>
Optional per-call overrides.
Returns
The internal strategy stream surface consumed by the outer
agency() wrapper.