examples/node/agent_deployments/typescript_service/nullspace.agent.toml to
package a TypeScript service, build it with npm run build, and expose it
through a Nullspace service URL.
Setup
CLI
/health and /invoke.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deploy a Node/TypeScript HTTP service on Nullspace.
examples/node/agent_deployments/typescript_service/nullspace.agent.toml to
package a TypeScript service, build it with npm run build, and expose it
through a Nullspace service URL.
python -m pip install "nullspace-sdk[cli]==1.0.0"
export NULLSPACE_API_KEY=ns_live_...
export NULLSPACE_API_URL=https://api.your-nullspace-domain
cd examples/node/agent_deployments/typescript_service
nullspace agent deploy .
nullspace agent url typescript-agent-service
nullspace agent status typescript-agent-service --service adsvc_123
nullspace agent logs typescript-agent-service --service adsvc_123
nullspace agent stop typescript-agent-service
/health and /invoke.
name = "typescript-agent-service"
mode = "service"
install = "npm install"
entrypoint = "npm run start"
[service]
port = 8000
readiness = { type = "http", path = "/health", timeout_seconds = 30 }
[permissions]
public_url = true
examples/node/agent_deployments/typescript_service/
README.md
package.json
tsconfig.json
nullspace.agent.toml
src/server.ts