Structam records, for every host in your estate, what is installed and running, how it is configured and what changed. Every change is recorded for review, every watched configuration file keeps its versions, and NetBox stays the source of truth for which hosts exist.
Runs on your serversOne structam binary and one PostgreSQL database
NetBox stays in chargeStructam never invents a host identity
Agents connect outstructam-agent opens one WebSocket over TLS; nothing connects in
Nothing runs on hostsNo remote commands or configuration push; the agent reads and reports
How it works
From a join token to the whole estate
An agent on each host reports its inventory and its watched files; the server keeps the current state, records every difference as a change event and builds the estate-wide views from the same data. Each demo below is drawn from Structam's own screens with a fictional estate, Example Networks.
01 Onboarding
Add a host with a join token
Add hosts creates a join token and shows the install command, served by your own Structam server. The script reads the token from the terminal, checks the agent build, installs the service and waits until the server shows the agent connected. The agent is then matched to its NetBox host.
Tokens are single use and valid for 24 hours by default, at most 365 days
The token carries the pin of the server's identity key, so there is no trust on first use
An agent NetBox does not know waits under Agents → Unmatched until NetBox has the host
Structam keeps every observed version of each watched configuration file, redacted on the host before upload and stored once per distinct content, encrypted at rest. Diffs, baselines, drift and variants across hosts come from the same store.
Linux agents watch /etc/** by default; files up to 1,024 KB, text only
Unified diffs with 3 lines of context, up to 20,000 lines a side
Export every file of a host as it was at a point in time
The Applications page lists every application on the hosts you can see, with host, install and running counts and its versions. An application's page breaks that down by version, by host and by the SHA-256 of each executable, and flags a hash anomaly: one version and path with more than one hash.
Hash search looks one SHA-256 up across executables, running processes and configuration files
13 application sources, from dpkg, rpm and MSI to standalone running binaries
Scoped users see the same views computed over their own hosts
Applications with version, path and running status, executables with SHA-256 hashes, processes, services, listening ports, local accounts, hardware and system facts, from 13 application sources. History is kept as change events, not row snapshots.
Every application with its hosts, versions and distinct binaries; hash anomalies; hash search; CSV export.
MediumApplication version changedopenssl · 3.0.15 → 3.0.17 Pending ApprovedHighBinary changed without a version change/usr/sbin/sshd PendingInfoApplication startedrule: runtime → no review neededNo review needed
Every change reviewed
Each difference between two observations is a change event with a kind and a severity, written with the new state in one transaction and hash-chained per host. People approve or reject; change rules auto-approve, skip review, raise the severity, raise an InfraDB alarm or flag for the SIEM.
hostserverEd25519 pin · AES-256-GCM
One agent, three systems
structam-agent for Linux, macOS and Windows, amd64 and arm64. Read-only collectors, an on-disk queue, outbound only.
198.51.100.0/24
Network discovery
Agents' neighbour tables and TCP sweeps of ranges you add find addresses NetBox does not know. Discovery never creates a host.
Structam reads devices and virtual machines from NetBox 3.7 to 4.7 and matches each agent to its host by serial, addresses, MAC and name. If the rules disagree, nothing binds. Write-back is off by default and touches only Structam's own structam_* custom fields.
An append-only, hash-chained audit log with a signed checkpoint every 5 minutes, forwarded to syslog or HTTP sinks and published over TAXII 2.1.
Which hosts run an nginx binary that differs from the others of its version?tool application_detail nginxtool find_by_hash a71e09c4d2f8…Two hosts, web-17 and web-18, run version 1.22.1-9+deb12u2 with a different /usr/sbin/nginx.
Ask AI, read-only
Questions about the estate, answered by a model you configure (the Anthropic Messages API or any OpenAI-compatible chat API, including one on your own hardware) through 14 fixed read-only tools, with the asking user's permissions and scope. Off until configured; every question is audited.
Integrations
Built to sit beside what you already run
NetBox owns identity, InfraDB owns monitoring, Structam owns what is installed and configured on each host and how it changed.
Structam nodes are active-active and coordinate only through PostgreSQL rows and LISTEN/NOTIFY wake-ups: there is no node-to-node protocol. Keeping the data available is PostgreSQL's job, with a primary and a synchronous standby under Patroni, CloudNativePG or a managed service.
What happens when a node goes away
Leases with fencing. Each background task (NetBox sync, SIEM forwarder, audit chainer and the rest) has one lease holder: 20 s TTL, renewed every 6 s, with an epoch checked in the same transaction as the work. A dead node's leases move in about 20 to 30 seconds.
Drain on SIGTERM./readyz answers 503 at once, agents are told to reconnect elsewhere, in-flight jobs get up to 20 s and unfinished claims go back to the queue.
Nothing acknowledged is lost. Agents keep inventory in an on-disk queue until the server has committed it; claimed jobs are fenced by a token, so a job is never applied twice.
Pools that follow the queue. Every 2 s each process sizes its ingest, discovery and integration pools from queue depth. Add structam worker nodes for more; they join the same queues with no configuration. On Kubernetes an autoscaler runs 1 to 8 worker pods.
Finding the primary. A multi-host connection string with target_session_attrs=primary: after a promotion every node reconnects to the new primary, with no proxy and no restart.
Status. The HA compose topology was tested on one Docker host: a standby promoted with readiness back within a second and no process restarted, and a serve node stopped with 60 of 60 requests answered during the drain. Patroni or CloudNativePG failover, nodes on separate machines and the Kubernetes autoscalers against a cluster have not been run yet. High availability and scaling in the docs.
Structam is the structam command with the web UI built in, for Linux on amd64 or arm64, with PostgreSQL 16 or newer beside it and a TLS reverse proxy in front. The server writes nothing to disk: every byte of state is in PostgreSQL.
Your hosts
Linux, macOS and Windowsstructam-agent, amd64 and arm64
Outbound onlyOne WebSocket over TLS to the public URL
Network discoveryOptional TCP sweeps of ranges you add
Your Structam server Linux · amd64 or arm64
TLS reverse proxy :443Caddy in the shipped compose files; passes WebSocket upgrades
structam allserve and worker roles in one process; split them to scaleInventoryChangesConfigsEstateITAMAsk AIAudit
PostgreSQL 16+No extensions; every byte of state
Only what you configure
NetBoxSource of truth for hosts
InfraDBLinks, alarms and hardware
SIEM and TAXIIAudit and change streams
Model API for Ask AIAnthropic or OpenAI-compatible
KazLabs licence serverOne heartbeat a day
Docker Compose
One host
PostgreSQL 18, structam all and Caddy. Only Caddy publishes ports 80 and 443; TLS from Caddy's internal CA, ACME or your own certificate.
deploy/compose/compose.yaml
Docker Compose, HA topology
Primary, standby, two serve nodes, a worker
A PostgreSQL primary with a streaming standby, a migration job, two structam serve nodes and a structam worker behind Caddy. On one Docker host it shows the behaviour for failover drills, not real redundancy.
deploy/compose/compose.ha.yaml
Kubernetes
Kustomize manifests
Two serve replicas with disruption budgets, a worker Deployment with a horizontal autoscaler (1 to 8 pods) or a KEDA ScaledObject, and a migration Job. Pods run as non-root on a read-only root filesystem with every capability dropped. Bring your own PostgreSQL: an operator or a managed service.
deploy/kubernetes/
systemd installer
Debian, Ubuntu, RHEL family
Installs the binary and systemd units for the all, serve, worker and migrate roles against your PostgreSQL, under an unprivileged structam user with no capabilities, a read-only filesystem and a system-call filter. --dry-run shows what it would do; re-runs are safe.
deploy/install/install.sh · deploy/systemd/
Status. Both compose files were brought up with Docker Compose on one machine, and the installer was run in an Ubuntu 24.04 systemd container against an external PostgreSQL 18, with dry runs on Debian 13 and Rocky Linux 9. The Kubernetes manifests have been rendered with kubectl kustomize, not applied to a cluster, and the installer has not yet run on a real server. These files ship with Structam: there is no public image or download, and KazLabs arranges access. Details in the installation docs.
FAQ
Questions operations teams ask us
How do we get Structam, and can we evaluate it?
Talk to us. Structam is proprietary software from KazLabs, run on your own infrastructure under a written agreement. There is no public download: KazLabs arranges access and installation when we start working with you.
Without a licence, Structam runs in evaluation mode with every feature and up to 25 enrolled agents. A licence never stops Structam: if one lapses, it first runs a grace period with nothing changed; after that, new agents cannot enrol, but existing agents keep reporting and all data stays readable. Tell us about your estate.
Does our data stay on our servers?
Yes. Inventory, changes, configuration content and the audit log live in your PostgreSQL. The server sends data only where you point it: NetBox, InfraDB, SIEM and TAXII sinks, and a model API if you turn Ask AI on. With a hosted model, the host names, software, change and audit data in its tool results go to that API; with a model on your own hardware they do not leave.
The one call home is a licence heartbeat to license.kazlabs.co, and only once a licence is activated online: the enrolled agent count, the enabled user count, the binary's SHA-256 and the version, at most every 24 hours (hourly while a check is failing). An installation in evaluation mode, or with an offline licence, does not contact KazLabs.
Do we need NetBox?
NetBox is how Structam knows which hosts exist, and it is not replaced: Structam reads devices and virtual machines (NetBox 3.7 to 4.7) and, only if you turn write-back on, writes its own structam_* custom fields and nothing else.
Without NetBox, agents still enrol and report: each host appears under Agents → Unmatched with its own inventory, visible to unscoped users, and the next NetBox sync merges it once NetBox has the host. Scoped access by site, tenant and tag needs NetBox, because that is where those come from.
What does the agent collect, and what does it not?
System facts, installed applications, executables with their SHA-256, processes, services, listening ports, local accounts, the network neighbour table, hardware, watched configuration files and, on macOS and Windows, installed updates. A full pass runs every 5 minutes; processes, services and ports every minute; only sections that changed are sent.
It never reads /etc/shadow, SSH host keys, private key files, keystores or VPN secrets: that deny list is compiled into the agent and no policy can override it. Process command lines are off by default and redacted on the host when turned on. The agent runs no commands it is sent: the server can ask only for a collection, a resync, one allowed configuration file or an update.
Which systems does the agent run on?
Linux, macOS and Windows, each on amd64 and arm64, as a system service: systemd on Linux (hosts without systemd are refused), launchd on macOS, a Windows service. On Linux the unit caps it at 512 MB of memory and half a CPU, at low priority with idle I/O. macOS without Full Disk Access reports limited visibility.
Status. The Linux and macOS collectors have live tests; the Windows collectors are tested against recorded output and have not yet run on a real Windows host.
How are secrets in configuration files handled?
They are redacted on the host before upload: private key blocks, credentials in URLs, Bearer, Basic and Digest values, secret key=value pairs, XML secret elements and known token shapes, plus patterns your policy adds. A file containing a private key is never uploaded at all. The agent also sends a keyed HMAC of the raw file, so a change inside a redacted part is still recorded without the secret leaving the host.
On the server each distinct content is stored once, sealed with AES-256-GCM under a key derived from STRUCTAM_SECRET_KEY. Users without the configs.content permission see a further display-redacted view, and every unredacted view and export is audited.
Can it run air-gapped?
Hosts never need internet access: agents talk only to your server, which serves the agent builds it carries. Licence activation works offline by file import (structam licence node-id, then structam licence import), and an offline licence is not expected to check in. Ask AI is off until you configure it, and can use a model on your own hardware.
What does a highly available setup need?
Two or more structam serve nodes behind a TLS load balancer that checks /readyz, passes WebSocket upgrades and does not buffer event streams; optionally structam worker nodes; and PostgreSQL 16 or newer with a primary and a synchronous standby run by Patroni, CloudNativePG or a managed service. Structam does not replicate or fail over the database itself. PgBouncer works in session mode, not transaction mode. See high availability.
Does Structam change anything on our hosts?
No. It does not run commands on hosts, push or restore configuration, deploy software, patch or remediate. It also does not match vulnerabilities or draw service maps. It records what is there and what changed.
What do we need to run it?
A Linux server on amd64 or arm64, PostgreSQL 16 or newer with no extensions, a TLS reverse proxy, and two secrets: STRUCTAM_SECRET_KEY and the database password. Agent hosts need outbound HTTPS to the server's public URL. See requirements.
See your own estate in Structam
Tell us how many hosts you run, what you keep in NetBox today and where Structam should run. We will set up an evaluation with you.