System Architecture Overview

Agenticly

AI Agents That Understand Your Industry

April 2026

The Challenge

60–80%

of domain expert time is spent on repetitive analysis — across industries

Insurance
Risk assessment

Law
Case review

Recruitment
Candidate screening

Finance
Report analysis

What If AI Could Think Like Your Best Expert?

Reduce analysis time by 40–70%

Industry-Specific Context

Understands domain language, regulations & workflows natively

Multi-Tenant SaaS

Deploy once, serve thousands — full data isolation per tenant

Enterprise Security

Production-hardened with RBAC, encryption & injection detection

The Agenticly Platform

Agenticly Core Engine Agent Engine Think → Act → Observe Doc Intelligence PDF → Embed → Search MCP Tools Extensible Ecosystem Marketplace Expert Packages Security JWT + RBAC + Tenant Knowledge Graph Entity + Semantic

Architecture at a Glance

Frontend React 19 + TanStack Router + Zustand + Tailwind
Gateway Gin HTTP/WebSocket → Agent Router → Streaming
Intelligence Agent Loop ← Providers ← MCP Tools ← Docs ← Knowledge Graph
Data PostgreSQL 18 + pgvector · 16 tables · Vector + FTS indexing
Go 1.26 Modular Monolith
Event-Driven Streaming
Multi-Tenant Isolation

Core Differentiator

The Brain: Agent Loop Engine

Think
Reason & Plan
Act
Execute Tools
Observe
Evaluate Results
↻ Max 20 iterations per request with auto-stop
⚡ Real-time streaming text, thinking, tool calls
✂ Context pruning 30%/50% fill + compaction at 200+ msgs
🛡 Security guards injection detection + output scrubbing

Provider Abstraction

Multi-LLM Intelligence

Claude · Anthropic

claude-sonnet-4 claude-haiku-4-5

Advanced reasoning, tool use, extended thinking

Gemini · Google

gemini-3-flash-preview

Fast inference, embeddings, multi-modal capabilities

Automatic failover — unified response types, add providers without code changes

Knowledge Pipeline

Document Intelligence

PDF Upload
Parse & Sanitize
Smart Chunking
Embedding
Hybrid Search
0.7× Vector + 0.3× FTS + 1.2× User Boost SHA256 Content Cache

Model Context Protocol

Extensible Tool Ecosystem

Connect any external tool, API, or service to your agents — securely and dynamically

3 Transport Types

stdio · SSE · streamable-http

Agent-Level Grants

Allow/deny lists per agent

Encrypted Credentials

AES-256-GCM per user

Smart Loading

BM25 deferred search at 40+ tools

Deep Understanding

Knowledge Graph Intelligence

Entity Concept Relation Semantic Enrichment Traversal
Entity Extraction Semantic Enrichment Graph Traversal

Hybrid search combining vector similarity with graph relationships for complex domain queries

Ecosystem

Expert Marketplace

Insurance

Risk assessment, claims

Law

Case law, contracts

Recruitment

Screening, matching

Finance

Reporting, compliance

Publish Discover Install Monetize
Semver versioning · Star ratings · Revenue tracking · Free / One-time / Subscription

Trust & Compliance

Enterprise-Grade Security

  • JWT Authentication — HS256, 15min access, 7-day refresh with rotation
  • RBAC — 5 roles × 14 granular permissions (agent, doc, tool, marketplace, billing)
  • Multi-Tenant Isolation — Query-level tenant_id scoping with defense-in-depth
  • API Key Auth — Publishable (pk_*) + Secret (sk_*), bcrypt hashed, CORS validation
  • Prompt Injection Detection — 4 modes: off / log / warn / block
  • Output Scrubbing — Redacts IPs, API keys, connection strings automatically
bcrypt cost=12 AES-256-GCM encryption Tool loop detection

Built With the Best

Backend

Go 1.26 · Gin · sqlc · pgx/v5

Frontend

React 19 · TypeScript · TanStack · Tailwind

Database

PostgreSQL 18 · pgvector · 16 tables

LLM Providers

Anthropic SDK · Google GenAI SDK

Deployment

Docker · K8s (GKE) · Nginx · Prometheus · GitLab CI

Observability

LLM tracing · Cost attribution · Cron scheduler

Built for Scale

0
Concurrent Agents / Server
0
LLM First Token Latency
0
API p95 Latency
0
WebSocket Event Latency
0
Uptime SLA Target
0
Concurrent Users Capacity

The Journey & What's Next

Phase 1–2 · Agent Engine + Document Intelligence
Phase 3–4 · Auth, RBAC + MCP Integration
Phase 5–6 · Knowledge Graph + Marketplace
Phase 7–8 · Security Hardening + Production Deploy
Phase 9 · Admin Dashboards, Trace Viz, Moderation
Phase 10 · Enterprise SSO, Compliance, Stripe
Phase 11 · Multi-modal, Agent Collaboration

8 Phases Complete

~12,500 LOC · 16 DB tables · Full production pipeline

Next Up

Admin dashboards, trace visualization, marketplace moderation, MCP sandboxing

Future Vision

Enterprise compliance (GDPR, HIPAA), SSO, fine-tuning, multi-modal agents

Let's Build the Future Together

Agenticly — AI Agents That Understand Your Industry

Schedule a Demo

See it in action

Start Free Trial

Try it yourself

Partner With Us

Grow together

agenticly.com