Deploy and manage apps from Python. Zero dependencies.
pip install nometriafrom nometria import NometriaClient
client = NometriaClient("nometria_sk_...")
# List apps
apps = client.list_apps()
# Deploy (resync running app)
client.deploy(app_id="my-app")
# Check status
status = client.status(app_id="my-app")
# Roll back
client.rollback(deployment_id="dep_abc123", app_id="my-app")
# Environment variables
client.env_set("my-app", {"DATABASE_URL": "postgres://..."})
keys = client.env_list("my-app")
# Security scan
scan = client.scan(app_id="my-app")
print(f"Security: {scan['securityScore']}/100")Set NOMETRIA_API_KEY to skip passing the key:
export NOMETRIA_API_KEY=nometria_sk_...Block until an app is live — ideal for CI gates:
status = client.deploy_and_wait("my-app", timeout=300)
print(status["state"]) # "running"Works with LangChain, CrewAI, AutoGen, and any Python-based agent framework.
The nometria.agent toolkit turns every SDK method into framework-agnostic
tools from a single registry, so your agent's tool surface never drifts:
from nometria import NometriaClient, build_tools, tool_manifest
client = NometriaClient() # reads from NOMETRIA_API_KEY env var
tools = build_tools(client) # {name: callable}
tools["deploy"](app_id="my-app")
# Read-only tools for an untrusted agent:
safe = build_tools(client, include_write=False)
# JSON schema for function-calling models:
schema = tool_manifest()