Skip to main content
This example uses examples/python/agent_deployments/minimal_service/nullspace.agent.toml to package a Python HTTP server, start it as a managed service, and fetch its public URL.

Setup

CLI

The service binds to 0.0.0.0:8000, exposes /health, and uses permissions.public_url = true so nullspace agent url can return a public endpoint. Expected output includes a public URL, a ready service status, and a /health response with {"ok": true}.

Python

The companion run.py script uses the same deployment contract through the SDK:
Run the complete script:

Project Files

Related: Agent Deployments, Preview URLs, and CLI reference.