mirror of
https://github.com/usestrix/strix.git
synced 2026-09-20 00:11:12 +00:00
Every agent-facing tool now has a corresponding directory: the strix-implemented ones already do, and the SDK-provided ones (exec_command/write_stdin shell, apply_patch, view_image) plus the sandbox-CLI agent-browser get README-only stubs. Each README names the implementation source, where the tool is wired up, the strix-specific config it inherits, and the skill that teaches its usage. Listing strix/tools/ now gives a new reader the full agent toolset at a glance. The stub dirs intentionally have no __init__.py — they are not Python packages, just documentation. Nothing in the codebase auto-discovers strix.tools.* as packages (all imports are explicit), so the stubs cannot accidentally affect runtime behavior. |
||
|---|---|---|
| .. | ||
| README.md | ||
view_image
SDK-provided tool that loads an image from the sandbox workspace and returns it as an image content block for vision-capable models.
- Implementation:
agents.sandbox.capabilities.tools.view_image.ViewImageTool(upstreamagentsSDK) - Wired in:
strix/agents/factory.py— added per-run via the SDKFilesystemcapability. - Strix defaults: screenshots default to
/workspace/.agent-browser-screenshots/viaAGENT_BROWSER_SCREENSHOT_DIR(set incontainers/Dockerfile; dir is created at container start incontainers/docker-entrypoint.sh). - Skill: screenshot workflow lives in
strix/skills/tooling/agent_browser.md. - Recovery: vision-not-supported model rejections are auto-recovered
via
strix.core.sessions.strip_latest_image_from_session, invoked fromstrix/core/execution.py.