Installation
NullBridge class
Constructor
nb.init()
Validates the license and starts background services. Call once on application startup.
NullBridgeLicenseError if the license is invalid or expired.
nb.shutdown()
Gracefully shuts down — flushes logs, stops heartbeats and license watchers.
nb.getLicenseInfo()
Returns the current license data.
nb.getVersion()
Returns the SDK version string.
nb.agents
nb.agents.register(agent)
Registers an AI agent with NullBridge. The agent will appear in the Agent Registry and SIEM events will be logged.
Returns: Agent object with
id, name, status, and registration details.
If an agent with the same
id already exists, it will be updated rather than duplicated.