Skip to content

Documentation: add guide explaining the agentic tool-use loop, turns, and completion signals #1009

@shravanmn

Description

@shravanmn

The SDK docs cover individual event types but don't explain how the CLI's tool-use loop works — how turns chain, who triggers each turn, and the difference between session.idle and session.task_complete. Proposing a new docs/features/agent-loop.md to cover this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions