Skip to content

Architecture

Osty architecture

Osty runs as three tiers: Plane 1 (osty-brain) vets public packages once for every customer, the control plane (osty-control, PostgreSQL 17 and Temporal) holds lineage, campaigns and the ledger, and a thin edge (osty-edge, osty-proxy, osty-sensor) executes inside your VPC over an outbound-only mTLS stream. Every core binary is static, pure Go.

Written by Osty EngineeringPublished Updated

The three tiers
TierBinariesRuns whereHolds
Plane 1osty-brainOsty Cloud, sharedPublic package verdicts, Firecracker sandbox traces, distro advisories and upgrade graphs, all Ed25519-signed.
Control planeosty-control on PostgreSQL 17 and TemporalManaged by Osty, or self-hosted on SovereignLineage graph, SBOMs, ownership, campaigns, RBAC and the Evidence Ledger.
Thin edgeosty-edge, osty-proxy, osty-sensorYour VPCGit, CI and registry credentials, the pinned policy and local enforcement.

What does Plane 1 compute?

Plane 1 watches public registries and triages every new release within a fixed per-artifact budget. Releases that need more go to Tier-2 deep vetting in a Firecracker KVM microVM with honey secrets and a DNS and TLS sinkhole. Results are signed once and distributed to every edge as intelligence bundles.

For air-gapped estates, osty airgap export packs signed bundles and namespace batches into an archive that osty airgap import verifies on the far side, including chain continuity and verdict downgrade checks.

What does the control plane hold?

osty-control stores the lineage graph, content-addressed SBOMs, multi-signal ownership and the hash-chained ledger in PostgreSQL 17 through sqlc, without a separate graph database. Fleet campaigns are Temporal workflows on a dedicated task queue, covered by deterministic replay fixtures.

Operators get per-organisation roles, so a dashboard viewer cannot fire a kill switch and an auditor gets read-only ledger access. Tenant provenance, proof bundles and ledger chains never mix across organisations.

What runs in my VPC?

Edge components
ComponentRole
osty-edgeHolds credentials, runs collectors, enforces .osty/policy.yaml on every mutating command and executes campaign steps.
osty-proxyPull-through registry proxy with an offline Ed25519 verdict cache and per-origin failure modes.
osty-sensorZero-credential host agent that reports loaded libraries and processes, with an eBPF probe on Linux.
Native analyzersDigest-pinned containers that run as a non-root user with fixed CPU, memory and time limits.

All edge traffic is an outbound mTLS stream. The edge flushes its local audit log when a dropped stream reconnects, so offline periods leave no gap in the ledger. Data boundaries are listed on the security page.

Why is the core pure Go with CGO_ENABLED=0?

osty-brain, osty-control, osty-edge, osty-proxy and osty build as static binaries with CGO_ENABLED=0. A static binary has no system library drift, is simple to audit and reproduce, and runs in a minimal container. Cloud collectors sign AWS requests with Signature Version 4 on the standard library instead of pulling in vendor SDKs.

Language toolchains that need native code, such as the TypeScript compiler, pyright, a JDK or rustc, run in separate analyzer containers behind a fixed wire contract, so the core stays pure Go.

Which architectural decisions are recorded as ADRs?

Every ambiguous boundary is settled in an Architecture Decision Record instead of a code comment. These accepted ADRs shape what customers see.

Key accepted ADRs
ADRDecision
ADR-0005Policy semantics: repository overrides may only tighten organisation floors.
ADR-0006Verdict downgrade protection: automation only preserves or escalates a supply-chain verdict.
ADR-0013Native-compiler analyzers run isolated behind a wire contract and degrade to IMPORTED_UNCERTAIN.
ADR-0017CI side-effect classifier fails safe: possible side effects are never triggered remotely.
ADR-0020Broad rollback needs two distinct Ed25519-signed operator approvals; freezes never wait.
ADR-0021Canary baseline window and a 50 request traffic floor, with a hold for quiet services.
ADR-0029Cloud collectors keep scaled-to-zero ghost production workloads in the lineage graph.
ADR-0030GitLab forge and .gitlab-ci.yml side-effect classification.
ADR-0031Air-gap intelligence transfer and the offline osty explain CLI.
ADR-0033Rust and Cargo, Java and Maven ecosystems across proxy, verifier and reachability.
ADR-0035Compliance evidence exports and push to external GRC tools.
ADR-0036Multi-org RBAC and cross-tenant privilege escalation defense.
ADR-0037The Day-1 X-Ray is a read-only report that never mutates customer state.
ADR-0038Trust boundaries: AI migrations capped at VERIFIED_PR, declarative release gates, signed KEV waivers.

Frequently asked questions

Does Osty need a graph database?

No. The lineage graph, SBOM DAG and ledger live in PostgreSQL 17.

Can the whole stack run inside our network?

Yes, on the Sovereign tier. The control plane and edge run self-hosted or air-gapped, and Plane 1 intelligence arrives as signed bundles.

What happens if the edge loses its connection to the control plane?

It keeps enforcing the pinned policy with its cached verdicts, records actions in its local ledger and flushes them when the stream reconnects.

See your fleet in 10 minutes

Connect a read-only GitHub App and cloud role. Osty installs nothing in your environment and writes nothing to your repositories, and the report shows false positives, stale deploys and unowned workloads.