chain-rdeveloper portal
build

System Documentation

Product Overview

CHAIN-R is a privacy-first LLM-as-a-service platform. It lets users, developers, and organisations manage, monitor, and customise AI agents, knowledge bases, and multi-agent workflows through a unified web interface and API.

Core Concepts

ConceptDescription
AgentsCustom AI agents with a fixed system prompt, assigned model, and optional skills, knowledge bases, and specialist tools.
SkillsMulti-agent DAGs built with LangGraph. Each node runs a worker agent; edges define sequential or conditional flow.
WorkersIndividual worker agents that extend a built-in role (analyzer, reviewer, planner, etc.) with custom prompts and tools.
KnowledgeKnowledge bases backed by document stores (MinIO + Qdrant for RAG) or graph databases (Neo4j). Assigned to agents for context at inference time.
ToolsNamed callable capabilities exposed to agents and workers at runtime. General tools are auto-injected; specialist tools are explicitly assigned.
ActivityPer-invocation log of all LLM calls across models and agents — token usage, latency, trace.

Application Sections (fe-core)

RouteSection
/user/activityActivity — LLM invocation log
/user/inferenceInference — models, agents, skills, workers
/user/knowledgeKnowledge — document and graph knowledge bases
/user/toolsTools — custom tool definitions
/user/evaluationEvaluation — A/B experiments and test suites
/user/projectsProjects
/user/organisationsOrganisations
/developer/Developer — design preview only (example data, not in the navigation)

This section provides comprehensive documentation about the Chainr system architecture, deployment processes, and API interfaces.

🏗️ Architecture Overview

🔧 Services & Components

Core Services

Infrastructure

  • Frontend - User interface and client-side logic

  • Nginx - Reverse proxy, load balancing, and routing

🗄️ Data & Storage

  • Database Schema - Database design and relationships

  • Data Models - Entity definitions and data structures

  • Caching Strategy - Cache implementation and policies

  • Timestamps - UTC storage, the offset every response carries, and how clients read it

  • User data export - What Settings → Data → Download your data holds, how rows are chosen, and what it leaves out

🔒 Security

📊 Monitoring & Observability

⚙️ Configuration

🐛 Troubleshooting

🚀 Deployment

  • Deployment Guide - Infrastructure setup, containerization, and deployment strategies

  • Cloudflare Tunnel - The outbound-only edge connector: setup, cutover, decommissioning the direct path, and operating it

🔗 API Interfaces


For developer guides, see ../guides/\_.md. For general project information, check ../../README.md.