Polyaxon v3 is coming →

Give your agent a configured environment for code execution

Connect application-defined tools to a Polyaxon sandbox so an agent can run commands, work with files, and return results from your Kubernetes infrastructure.

Uses the documented v1.16+ sandbox APIs on a sandbox-enabled service. Your application supplies the model, tool definitions, approvals, and execution policy.

Analyze a file and return a report

An application provides a dataset to a dedicated service. The agent proposes an analysis, the host checks the tool call, and the sandbox executes it. The application retrieves the report and stops the service after the task.

Separate the agent loop from execution

  1. Bind the session

    The host selects the project and running service.

  2. Review the tool call

    Apply the host application's policy and approvals.

  3. Execute and inspect

    Collect bounded output, exit status, and files.

  4. Save and stop

    Retrieve durable results and stop the service run.

Illustrative application workflow. The model does not select the Polyaxon run or receive its credentials. Tool approval is implemented by the host, not automatically by the sandbox API.

Choose the execution target before calling the model

Give the agent only the tools the task needs

Return useful results without an unbounded loop

Save the output and end the compute session