workspace-sandboxes
AgentScope local and sandboxed workspace backend workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- workspace-sandboxes
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- AgentScope local and sandboxed workspace backend workflows.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/backend-matrix.md2.2 KB
- 参考文档references/lifecycle.md2.7 KB
- 参考文档references/troubleshooting.md1.9 KB
- 脚本scripts/local_workspace_smoke.py1.5 KB
03 SKILL.md 正文
workspace-sandboxes
Use this sub-skill for workspace lifecycle, tool exposure, skill seeding, MCP seeding, archive import, and sandbox backend selection.
Read first
references/backend-matrix.mdfor the supported workspace backends and when to use each one.references/lifecycle.mdfor initialize / list / add / remove / close workflows.references/troubleshooting.mdfor backend, archive, skill, and MCP failures.scripts/local_workspace_smoke.pyfor a safe local sanity check.
Typical triggers
- "How do I create a workspace?"
- "Which backend do I need for Docker, Bubblewrap, E2B, Daytona, K8s, or OpenSandbox?"
- "How do I seed skills or MCPs into a workspace?"
- "Why did archive import, path handling, or tool exposure fail?"
What belongs here
WorkspaceBase,LocalWorkspace, and sandboxed workspace backendsinitialize,close,reset,list_tools,list_skills,list_mcpsadd_skill,add_skill_archive,remove_skill,add_mcp,remove_mcp- backend selection, archive import, and path-safety diagnostics
What does not belong here
- agent/tool/permission basics →
agent-core - provider credentials and model families →
provider-connectors - retrieval and memory workflows →
rag-memory - service bootstrap and deployment →
service-platform
Use pattern
- Decide whether the workspace must be local, containerized, cloud-sandboxed, or Kubernetes-backed.
- Read the backend matrix before choosing the runtime.
- Use the local smoke script to confirm skill loading and file-tool exposure.
- Add MCPs and skills with the lifecycle methods, not by mutating the workspace directory manually.
- Read the troubleshooting page before changing backend-specific code.
Cross-links
- If the issue is really about the tool layer, use
agent-core. - If the issue is about RAG or memory files, use
rag-memory. - If the issue is a deployment topology problem, use
service-platform.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).