Skip to content

Conversation

@jwx0925
Copy link
Collaborator

@jwx0925 jwx0925 commented Jan 24, 2026

Summary

  • add agent-sandbox runtime integration (config/service/provider/template)
  • add agent-sandbox SDK example and doc updates
  • update roadmap/doc references for agent-sandbox support

Testing

  • uv run python examples/agent-sandbox/main.py

@jwx0925 jwx0925 changed the title feat(server): add agent-sandbox runtime WIP: add agent-sandbox runtime Jan 24, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 667ff222db

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +435 to +437
for pod in pods:
if pod.status and pod.status.pod_ip and pod.status.phase == "Running":
return f"{pod.status.pod_ip}:{port}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Prefer serviceFQDN when ingress is expected

The endpoint resolver returns the first Running pod IP before considering status.serviceFQDN. In environments where the API server or clients are outside the cluster (or rely on ingress), pod IPs are not routable, so this returns an unusable endpoint even when a serviceFQDN is available. This makes get_endpoint fail for agent-sandbox deployments that expect ingress/service DNS. Consider preferring the serviceFQDN when present (or when ingress is enabled) to avoid returning unreachable pod IPs.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's supported now. Implement soon.

@jwx0925 jwx0925 changed the title WIP: add agent-sandbox runtime feature: add agent-sandbox runtime Jan 26, 2026
@jwx0925 jwx0925 changed the title feature: add agent-sandbox runtime feature: add agent-sandbox kubernetes provider Jan 26, 2026
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This template loader looks like a copy of batchsandbox_template—can we find a way to reuse this part?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refactored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants