Skip to main content

How it works

The model
One graph, four layers

Everything Stacktic does is a consequence of one decision: the relationships between the parts of a system are declared, not implied.

Visual explainer · 6 slidesOne graph. Everything derives.

The model, visually: nothing written twice, nothing guessed — and what one link between two components actually generates.

AI clientANY MCP CLIENTSTACKTIC PLATFORMthe graphcomponents · linkssub-componentsattributes · versionsGITstack repositorymanifests · overlayspolicies · secretsstack-metadata.yamlGITyour app repositoryyour source codea folder per appKUBERNETES CLUSTERyour stack, runningMCP SERVERAI interfacetools · knowledgeSTACK AGENTmeasures, provesdeclared vs observedYOUR WORKLOADSgatewayyour appdatabasecachequeue1MCP · OAuth2writes attributes, links3generate4kubectl apply -kbuilt in-clusterstack-metadata.yaml5observed6evidence
The whole loop. Your AI client changes the graph through the MCP server; the platform generates your stack repository; it is applied to the cluster — by you, by CI, or by the agent's opt-in deploy arm; the stack agent measures what runs against what was declared and hands the evidence back to the model.

1 · Declare​

A stack is a directed graph held by the platform. Three kinds of node, one kind of edge:

ElementWhat it isExamples
ComponentA technology instance in the stackyour application, a PostgreSQL cluster, a gateway, an identity provider, a vector store
Sub-componentA resource that a component ownsa database, a bucket, a Kafka topic, a RabbitMQ queue, an OIDC client, a served model
LinkA typed edge between two nodesfastapi-cnpg, apisix-langflow, prometheus-mongodb
AttributeA value on a component, a sub-component or a linknamespace, version, replica count, retention, whether OIDC is on

A link type is always sourceType-targetType. That string is the contract: it selects which generation logic runs, which files appear, and which values are carried across.

Attributes live in exactly three places — on the component, on the sub-component, or on the link. Nothing else carries configuration, which is why the graph alone is enough to regenerate the whole system.

2 · Generate​

A build renders one template per component and aggregates the results into a single GitOps repository.

Parse the graph

The diagram becomes a typed object model: components, sub-components, links indexed by source and by target.

Resolve relationships

Before a component renders, its inbound and outbound links are resolved. A template asks "is there a link of type X into me?" and generates accordingly — the consumer's environment variables, the producer's credentials, the route, the policy.

Render every component

Components render in parallel, each into its own tree. Helm charts are rendered to plain YAML so the output is readable and diffable rather than a chart you must trust.

Aggregate

Per-component output is merged into one repository layout — k8s/build, k8s/deploy, overlays per environment, docs, scripts — and the stack's own metadata is written alongside it.

Commit

The result is committed to the platform's own branch of your stack repository, then merged file by file into your branch: your edits survive, files you mark ignore are never touched, and a conflict stops a push instead of committing markers — see The stack repository and the merge.

Incremental builds​

A full build regenerates everything. A push does not: it diffs the graph against the last pushed state, resolves which files each changed attribute can possibly affect through a per-template impact map, and re-renders only those files. The push log ends with one kubectl apply --server-side per changed manifest, build manifests first.

ON YOUR APPON THE DATABASEyour appEXTERNAL_SOURCE_CODEordersPOSTGRESQL · DB SUB-COMPONENTexternal_source_code-dbconnection env varsSecret with credentialsegress NetworkPolicyingress NetworkPolicycross-namespace RBAChealth checkone credential per instancescrape target · dashboardbackup jobAROUND THE EDGE
Draw one edge and nine things are generated: three on your app, three on the database, a credential per instance on the edge itself, and monitoring and backup around it.

3 · Validate​

Generation says what should exist. Validation proves what does.

The stack agent is deployed into the stack and reads the same stack-metadata.yaml the build produced. Every declared relationship is proven layer by layer — was it rendered into the consumer, did the credential arrive, is the port reachable, does the role permit it, does the target actually answer with that credential — and the verdict names the layer that failed rather than a generic red cross.

The same engine runs scored security and compliance scans, and stores every run as a hash-chained record with the metadata commit it was measured against.

→ Day 2 — operate and prove · Evidence and attestation

4 · Operate​

The stack is the unit of version. Not a manifest, not a chart — the whole graph plus every attribute on it.

OperationWhat it means
SnapshotThe full topology and configuration at a point in time
DuplicateThe same system as a second environment, with its own values
Roll backThe entire stack returns to a previous state, relations included
CompareA diff between two versions of the system, not of a file
MigrateA component version moves, and everything that depends on it moves with it

Because a change is expressed on the graph, its consequences are computable before it is applied. Asking "what does this attribute touch" returns the files, the components downstream, and the dependents that will need attention — which is what makes it safe to let an AI propose the change.

What this buys you​

Day 0–1Nothing is guessed

The model designs against a catalog of real components, real link types and real attributes. Anything it cannot express is reported as a gap, not improvised.

Day 0–1The posture is generated

Network policies, RBAC, secret encryption, admission policy and TLS are produced from the topology — not added afterwards by whoever remembers.

Day 2Change re-applies the rules

Modify the system and the security rules regenerate with it. There is no window in which the policy describes last month's topology.

Day 2Claims are checkable

Every validation run carries the hash of the state it judged, so a report names the system it was true of.