feat: add Jungle Grid GPU execution agent demo#433
Conversation
|
@dejaguarkyng is attempting to deploy a commit to the Raphael's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Overall this is a positive review: the demo's API integration, human-approval gate, secret redaction, concurrency control, and test coverage all look solid. That said, I see one high-probability blocking issue around agent group authorization. The project template restricts execution to With the README's current startup command, I don't see how the executor agent joins the This is based on a source read rather than an end-to-end run, so please correct me if there's an authorization path I missed. References for checking:
Suggested fixes, following demo 08:
Any of these would resolve my concern. If the static allowlist does get converted into real membership, the fastest way to clear this up would be to attach an end-to-end run showing: human starts a project → executor receives the estimate. Once this is resolved, the rest are mostly minor nits: env var naming consistency ( |
Summary
Architecture
This contribution is intentionally a runnable
WorkerAgentdemo rather than a core provider integration, launcher type, credential type, or mod. It uses OpenAgents' existing project workflow, messaging, and artifact primitives to demonstrate external asynchronous GPU workload delegation safely.Safety and credentials
JUNGLE_GRID_API_KEYonly from the environment.APPROVE <estimate-id>approval from a human identity before billable submission.CANCEL <job-id>cancellation from a human identity.environment_from_envreferences only after approval.Testing
Passed:
pytest tests/agents/test_jungle_grid_executor.py -q- 37 passedruff check sdk/demos/09_jungle_grid_gpu_execution tests/agents/test_jungle_grid_executor.pyruff format --check sdk/demos/09_jungle_grid_gpu_execution tests/agents/test_jungle_grid_executor.pyUV_CACHE_DIR=/tmp/uv-cache UV_TOOL_DIR=/tmp/uv-tools uvx ruff==0.6.9 check sdk/demos/09_jungle_grid_gpu_execution tests/agents/test_jungle_grid_executor.pyUV_CACHE_DIR=/tmp/uv-cache UV_TOOL_DIR=/tmp/uv-tools uvx ruff==0.6.9 format --check sdk/demos/09_jungle_grid_gpu_execution tests/agents/test_jungle_grid_executor.pyMYPYPATH=sdk/src mypy --follow-untyped-imports sdk/demos/09_jungle_grid_gpu_execution/agents/jungle_grid_executor.pyload_network_config("sdk/demos/09_jungle_grid_gpu_execution/network.yaml")- loaded asJungleGridGPUExecutionNo live Jungle Grid validation was performed because a temporary
JUNGLE_GRID_API_KEYwas not available to the execution environment. No billable workload was submitted.Related issue/discussion
Closes #432
Known unrelated repository limitations
pytest --tb=short -qrun timed out after 300 seconds after reporting existing A2A errors and unrelated failures.tests/agentsrun timed out after 300 seconds at 83% with no failure in this contribution's focused test module.pytest --tb=short -q tests/mods/test_project_mode.pyfails because the existing tests reference missing/examples/test_configs/project_mode.yaml.mkdocs build --strictfails because the existingmkdocs.ymlreferences missingdocs/overrides.