Boost My AgentGet Boost OS
Claude

Claude starter module

Agent loops

Runs controlled tool-use steps until the work completes or reaches a firm stopping rule.

Files
4
Lines
357
Languages
TypeScript

Included files

This page lists paths and purposes, not source contents.

  • src/agentic/get-order-status-tool.ts

    Defines the account-scoped order-status tool available to Anthropic messages.

    TypeScript

    34 lines

  • src/agentic/run-tool-loop.ts

    Runs a capped Anthropic tool loop and records all step usage once.

    TypeScript

    178 lines

  • src/agentic/tool-registry.ts

    Keeps the only tools Anthropic may request in one explicit application allowlist.

    TypeScript

    43 lines

  • src/agentic/tools-route.ts

    Handles guarded tool-loop requests and maps allowlist failures to safe responses.

    TypeScript

    102 lines

Questions about agent loops

Does it include an always-on Claude worker pattern?

Yes. It shows how Claude chooses an approved tool, records the result, continues through a controlled loop, and stops on completion, error, or spending limit.