Home

Field SOP

Scenario-based tutorials with real screenshots, prompts, workflow templates and pitfalls.

Building a Computer Use Agent: A Practical SOP from Sandbox to Safety Guardrails

A hands-on SOP for building a Computer Use Agent: sandbox setup, wiring the Anthropic Computer Use API, the main screenshot-decide-act loop, safety guardrails, and tuning -- five steps. Includes runnable Python (ast.parse-verified), 5 pitfalls, and 5 FAQs. Since "can operate a computer" equals "can cause harm", it emphasizes sandbox isolation, action allowlists, and human confirmation for sensitive operations.

AI Agent Tool Calling SOP: Teaching Large Models to Call Tools

Function calling / tool use is the core capability of AI agents. This SOP gives developers a copyable tool-calling implementation template: define tool schema -> model decides which tool to call -> app executes -> feed result back into the next turn. Covers OpenAI (function calling / Responses API vs Chat Completions, strict mode) and Anthropic tool use per current official APIs, with five pitfalls (loose schema / parameter hallucination / unhandled call failures / no timeout / security sandbox) and five FAQs. APIs per official docs.