Kind: Function
Source: atloria-monorepo/libs/agent-core/src/autonomous/autonomous-loop.ts
Build the autonomous investigation-verify loop instructions.
This generates a system prompt section — not a complete system prompt. Domain layers combine it with their own base instructions + tool usage guide.
The prompt teaches the agent to:
- Investigate before acting (read files, explore structure, check config)
- Prefer existing tools/scripts over writing from scratch
- Plan based on what it discovers (not on assumptions)
- Verify after every significant action
- Loop until quality gates pass
Signature
tsfunction buildAutonomousInstructions(options: AutonomousInstructionsOptions): string
Parameters
| Name | Type |
|---|---|
options | AutonomousInstructionsOptions |
Returns: string
Was this page helpful?