Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Clarify lifecycle and built-in callbacks
James Murdza63b7d1ae0d10
diff --git a/docs/content/docs/agent-sdk/callbacks/agent-lifecycle.mdx b/docs/content/docs/agent-sdk/callbacks/agent-lifecycle.mdxindex 4b75ebcfee..494c4a8fe4 100644--- a/docs/content/docs/agent-sdk/callbacks/agent-lifecycle.mdx+++ b/docs/content/docs/agent-sdk/callbacks/agent-lifecycle.mdx@@ -42,11 +42,4 @@ Called when responses are received from agent loop.- `on_screenshot(screenshot, name)` - When screenshots are taken### 10. `on_run_end(kwargs, old_items, new_items)`-Called when agent run completes. Finalize tracking, save trajectories.--## Built-in Callbacks--- **ImageRetentionCallback**: Limits recent images in context-- **BudgetManagerCallback**: Stops execution when budget exceeded-- **TrajectorySaverCallback**: Saves conversation trajectories-- **LoggingCallback**: Logs agent activities+Called when agent run completes. Finalize tracking, save trajectories.\ No newline at end of filediff --git a/docs/content/docs/agent-sdk/callbacks/index.mdx b/docs/content/docs/agent-sdk/callbacks/index.mdxindex edc502c449..9d5766f116 100644--- a/docs/content/docs/agent-sdk/callbacks/index.mdx+++ b/docs/content/docs/agent-sdk/callbacks/index.mdx@@ -4,11 +4,12 @@ title: CallbacksCallbacks in the Agent SDK provide hooks into the agent's lifecycle, allowing for custom functionality to be executed at various stages of an agent's run. They enable extensibility by allowing developers to integrate their own logic for tasks such as logging, cost management, and data anonymization.-This section details the various callbacks available in the Agent SDK.+The callback lifecycle is described in [Agent Lifecycle](callbacks/agent-lifecycle).-## Available Callbacks+## Built-in Callbacks-- [Cost Saving](callbacks/cost-saving)-- [Logging](callbacks/logging)+- [BudgetManagerCallback](callbacks/cost-saving): Stops execution when budget exceeded+- [LoggingCallback](callbacks/trajectories): Logs agent activities+- **ImageRetentionCallback**: Limits recent images in context+- **TrajectorySaverCallback**: Saves conversation trajectories- [PII Anonymization](callbacks/pii-anonymization)-- [Trajectories](callbacks/trajectories)\ No newline at end of file