Skip to content

Agent Architecture & Flow

This document details the architectural boundaries and end-to-end communication pathways connecting Customer Agents to the Salitech Core.


┌────────────────────────────────────────────────────────┐
│ Customer Agent Runtime │
│ (Executes logic, tools, prompt orchestration) │
└───────────────────────────┬────────────────────────────┘
│ HTTPS / REST (Signed Bearer Token)
┌────────────────────────────────────────────────────────┐
│ https://api.salitech.de (Cloudflare + Caddy Ingress) │
└───────────────────────────┬────────────────────────────┘
┌────────────────────────────────────────────────────────┐
│ Salitech API Gateway │
│ - Token Verification & Rate Limiting │
│ - Tenant Context Injection │
└───────────────────────────┬────────────────────────────┘
┌────────────────────────────────────────────────────────┐
│ Service Layer (Business Logic & Validation) │
└───────────────────────────┬────────────────────────────┘
┌────────────────────────────────────────────────────────┐
│ Repository Layer (Data Mapping & Transactions) │
└───────────────────────────┬────────────────────────────┘
┌────────────────────────────────────────────────────────┐
│ PostgreSQL Platform Database │
└────────────────────────────────────────────────────────┘

  • Decoupled Evolution: The API schema may evolve without modifying internal database tables directly.
  • Tenant Isolation: Multi-tenant separation is strictly enforced within the Service Layer.
  • Audit Logging: Every agent request is logged with timestamp, agent ID, and action parameters.