Architecture

A high-level look at how Tiphys runs. This page describes the deployment shape and runtime behavior at the level operators need to plan around — not the internal code organization.

Tiphys is one product, run two ways: On-Prem, a Helm chart you install in your own cluster, and the SaaS at app.tiphys.intelligant.ai, run by Intelligant AI. Both run the same backend and web app. Most of this page describes On-Prem; The SaaS covers what's different there.

Where it runs

On-Prem, Tiphys installs as a single pod in its own namespace (tiphys). The pod has two containers — a small frontend that serves the in-cluster UI and an agent backend that orchestrates everything else. They communicate only over localhost; there's no cross-container networking outside the pod.

The pod talks to these external surfaces, and only when it needs to:

  • The Kubernetes API: read access by default, plus optional write access when Core Plus's writes are on (gated behind explicit approvals; see Write operations).
  • Your model provider: the one you set in llm.provider. That's Amazon Bedrock by default, or the Anthropic API, Vertex AI, Azure (AI Foundry or Azure OpenAI), or any OpenAI-compatible endpoint, including a model you host. With your cloud's model service or a model you host, prompts and tool results stay inside your trust boundary; see data residency by provider.
  • Public Helm chart repositories: every time the backend starts, it runs helm repo add for 11 public chart repositories, so a chart install can name a chart by its usual repository alias. It's best effort: a repository it can't reach is logged and skipped. It can't be turned off today.
  • Your cloud's APIs, with the Cloud module on: read-only AWS calls for inventory (IAM, RDS, S3 and others), and the AWS Price List API for list-price cost estimates. Cost Explorer only if you turn on modules.cloud.billedCosts.enabled, because AWS bills each request.
  • Notification webhooks: Slack or Teams, only if you set one in notifications.
  • The Intelligant AI control plane: off by default (controlPlane.enabled). When on, the pod polls Tiphys's public status with a bare GET that sends nothing about your cluster, so Intelligant AI can pause writes or announce maintenance. If the status can't be reached, Tiphys keeps the last answer; with no answer, writes stay allowed. See the configuration reference.

That's the full list. There's no telemetry, and an On-Prem install doesn't depend on the SaaS or any shared backend: each Tiphys pod runs self-contained in its own cluster.

The agent loop

When an operator asks Tiphys a question, the backend builds a prompt that combines the operations persona, the active capability flags, and a fresh snapshot of cluster state. It sends that to the model with a list of tools the model is allowed to call.

The model returns a stream of text deltas (which the UI renders live) and structured tool-call requests. Each tool call is dispatched through a registry that:

  • Enforces feature gating — capabilities the customer hasn't enabled return a structured "not active" response, not silent failure.
  • Catches permission errors from Kubernetes, Prometheus, or AWS and rewrites them into operator-friendly fix hints (e.g., "the ServiceAccount needs events:list on this namespace").
  • Records each call in the audit trail: a read as it runs, and a write as the approval it waits on and, once approved, how it ended.

The loop continues until the model produces a final answer with no more tool calls.

What's in the cluster, what's outside

Stays in your clusterLeaves your cluster
Cluster scan results, conventions, topologyPrompts and tool results, to your model provider
Pending and decided write approvalshelm repo add for the public chart repositories, at each start
The audit trail of approvals, changes and readsAWS reads and Price List calls, with the Cloud module on
Health reports, findings and snoozesNotifications, to the webhooks you set
Operator chat historyThe control plane's status read, if you turn it on

By default (persistence.mode: sqlite), state lives in a SQLite database on a volume mounted at /var/lib/tiphys (5Gi by default), and the workload is a StatefulSet. A pod restart or an upgrade resumes with everything intact: approvals, the audit trail, reports and chat history all survive. Back that volume up: the audit trail and conversations can't be rebuilt if it's lost.

For a cluster with no StorageClass, persistence.mode: configmap keeps state in ConfigMaps in Tiphys's namespace instead (the audit trail is then the newest 800 events), and the workload is a Deployment. In either mode, the scan cache and cost state are ConfigMaps.

Safety model for writes

Writes are off by default. When a customer turns on Core Plus's writes (modules.corePlus.writeOperations.enabled), the backend layers three independent gates on every write tool:

  1. Proposal first: the tool stages the change with its diff and impact, and pauses. Nothing reaches the API server yet. A delete also runs a server-side dry run (dryRun=All) before it's staged.
  2. Operator approval — the diff lands in the Approvals view in the UI; a human clicks Approve or Reject. The agent has no path to approve its own writes.
  3. Protected-namespace block — kube-system, kube-public, kube-node-lease, tiphys, and the namespace Tiphys runs in reject writes regardless of approval. The block is hard-coded in the backend's write gate, so it holds even if someone widens the writer ClusterRole.

Every approval, approved or rejected, and every change it ran is recorded in the append-only audit trail with the approver, the approval's id, the digest of the payload, and how the change ended. You can export the trail as CSV or JSON. See Write operations for the full safety model.

Scheduled work

Tiphys runs three background jobs against your cluster, each on a tunable cadence:

  • Health check (default 30 minutes) — runs the rule set, files findings, fires notifications when the critical-finding set changes.
  • Knowledge refresh (default 1 hour) — re-scans the cluster for new resources and integrations. Newly-installed Argo or Kyverno is picked up without restarting the Tiphys pod.
  • License re-verification (default 1 hour) — re-checks the license, if one is installed, offline against keys built into the image. Installs without a license run the free tier.

Every job is wrapped in error handling that logs failures at ERROR level and keeps the schedule firing.

Bring your own model

Bedrock is the default, but the model client is provider-neutral. llm.provider picks Amazon Bedrock, the Anthropic API, Vertex AI, Azure, or any OpenAI-compatible endpoint, such as vLLM or Ollama running a model you host. The tool surface and persona are the same whatever the provider; only the inference call changes. See Getting started for each provider's setup.

The SaaS

The SaaS, at app.tiphys.intelligant.ai, is the same product run by Intelligant AI, with no chart to install in your cluster.

  • Where it runs: in Intelligant AI's AWS account, in us-east-1. It runs a copy of the Tiphys app for each cluster a company connects.
  • What it stores: sign-in sessions, and each company's conversations, reports, approvals and audit trail, in Intelligant AI's account. Audit events are kept for the plan's retention (365 days unless the plan says otherwise).
  • How clusters connect:
    • Through your cloud account. An Amazon EKS cluster connects through roles your company creates in its own AWS account, which trust Tiphys's own OIDC issuer: a reader, and optionally a writer for approved changes. Tiphys reads the cluster through an EKS access entry; see Kubernetes RBAC.
    • Through the connector. Any other cluster, including one with no public endpoint or one on your own computer, connects through the connector: a small Deployment you apply with kubectl that dials out to connect.tiphys.intelligant.ai over HTTPS. Nothing reaches into your network. See Try it on a local cluster.
  • Models: Intelligant AI's, unless your company sets its own model in Intelligant Accounts. Model calls go through Intelligant AI's AI gateway, which checks each call against what Tiphys may do, guards what a person is shown, and records the call.
  • Writes: the same approval gate as On-Prem. Approving also needs the operator or admin role in Intelligant Accounts, the writer's credentials exist only inside an approved change, and Intelligant AI can pause writes for maintenance.
  • Scheduled work: each connected cluster is scanned and reported on as soon as it's linked, then every hour.

Packaging

Tiphys ships as a multi-arch image (linux/amd64 + linux/arm64). The chart runs both containers as non-root UIDs so clusters with runAsNonRoot admission policies install cleanly. Both images and the Helm chart are published to GitHub Container Registry — see Getting started for the install command.


Related: