konf.dev logo Back to site

Architecture overview

A concise view of the architecture that powers konf.dev — modular, observable, memory-aware, and adapter-driven.

Core pillars

Sutra (execution)

Declarative workflow compiler & runtime delivering deterministic routing, retries, and rich traces.

Smrti (memory)

Multi-tier memory (working, vector, episodic) with provenance, lifecycle controls, and cost-aware context shaping.

Astra (adapters)

Adapter registry exposing tools, providers, and MCP endpoints through typed, testable contracts.

Key flows

  1. Author: Visual flow created (versioned artifact).
  2. Compile: Sutra builds an executable graph with typed nodes.
  3. Execute: Graph runs with traces + spans; memory consulted.
  4. Persist: Smrti stores vectors & episodic records with provenance.
  5. Integrate: Astra adapters call external services safely.

Security & reliability

Sandboxed templating

Strict Jinja environment prevents arbitrary code execution.

Typed tool contracts

Protocol-driven definitions restrict inputs/outputs and enforce validation.

Isolation

Executors remain stateless; storage & secrets externalized for tenancy safety.

Observability

Per-run spans, token accounting, latency metrics, and provenance trails.

Updated: 2025-10-03 · Contact contact@konf.dev for partner access & deeper diagrams.