소스 정보
- 저장소
- jeremylongshore/oss-agent-lab
- 최근 소스 활동
- 2026년 3월 17일 05:36
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jeremylongshore/oss-agent-lab --skill sandbox명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | sandbox |
| display_name | Sandbox Specialist |
| description | Safe multi-language code execution via alibaba/OpenSandbox |
| version | 0.1.0 |
| source_repo | alibaba/OpenSandbox |
| license | Apache-2.0 |
| tier | experimental |
| capabilities | ["execute","code_execution","sandbox","multi_language"] |
| allowed_tools | ["execute_code","validate_code","list_runtimes"] |
| output_formats | ["python_api","cli","mcp_server","agent_skill","rest_api"] |
Wraps alibaba/OpenSandbox to provide isolated, resource-limited execution of arbitrary code snippets inside OSS Agent Lab. Each execution runs in a container-backed sandbox with seccomp syscall filters, memory limits, and configurable timeouts — no persistent side effects leak between runs.
Supported runtimes: Python, JavaScript, TypeScript, Bash, Ruby, Go, Rust, Java, C, C++.
| Tool | Description | Side Effects |
|---|---|---|
execute_code | Execute a code snippet in the sandbox; returns captured output | Subprocess spawn (sandboxed) |
validate_code | Static analysis without execution; returns errors and warnings | None |
list_runtimes | Enumerate all registered runtimes with version and availability | None |
from agents.specialists.sandbox.agent import SandboxSpecialist
from oss_agent_lab.contracts import Intent, Query, SpecialistRequest
specialist = SandboxSpecialist()
request = SpecialistRequest(
intent=Intent(
action="execute",
domain="code",
confidence=0.95,
parameters={"code": "print('hello, sandbox!')", "language": "python"},
),
query=Query(user_input="print('hello, sandbox!')"),
specialist_name="sandbox",
)
result = await specialist.execute(request)
(result.result[])
oss-lab run sandbox "print('hello, sandbox!')"
request = SpecialistRequest(
intent=Intent(
action="execute",
domain="code",
confidence=0.95,
parameters={
"code": "console.log('hello from node');",
"language": "javascript",
"timeout": 10,
},
),
query=Query(user_input="console.log('hello from node');"),
specialist_name="sandbox",
)
request = SpecialistRequest(
intent=Intent(
action="validate",
domain="code",
confidence=0.9,
parameters={"code": "import os; os.system('ls')", "language": "python"},
),
query=Query(user_input="import os; os.system('ls')"),
specialist_name="sandbox",
)
result = await specialist.execute(request)
print(result.result["valid"]) # False (warnings present)
print(result.result["warnings"]) # ['os.system() executes shell commands...']
request = SpecialistRequest(
intent=Intent(action="list_runtimes", domain="code", confidence=1.0),
query=Query(user_input=""),
specialist_name="sandbox",
)
result = await specialist.execute(request)
for rt in result.result["runtimes"]:
print(rt["name"], rt["version"], rt["available"])
{
"stdout": "[sandbox:python] Execution started\n[sandbox:python] 1 line(s) processed\n[sandbox:python] Execution complete",
"stderr": "",
"exit_code": 0,
"execution_time_ms": 12.4,
"language": "python",
"execution_id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301"
}
{
"valid": true,
"errors": [],
"warnings": ["eval() executes arbitrary code strings."],
"language": "python"
}
{
"runtimes": [
{"name": "python", "version": "3.12.3", "available": true},
{"name": "javascript", "version": "node 22.2.0", "available": true}
],
"total_count": 12,
"available_count": 10
}
Wraps alibaba/OpenSandbox.