Design philosophy
The platform follows a “Bring Your Own Everything” (BYOE) architecture designed for technical scalability and flexibility. This approach allows you to:- Use your preferred AI models and service providers
- Deploy on your infrastructure or use managed cloud
- Customize every layer while maintaining upgrade compatibility
- Scale horizontally across geographic regions
Unlike standard LLM wrappers, Iqra AI provides a Deterministic Logic Layer alongside the probabilistic AI layer, giving you deep control over how conversations flow and execute.
Core layers
Orchestration layer
The orchestration layer manages conversation sessions and coordinates between AI decision-making and deterministic execution. It handles:- Session management: Maintains conversation state across channels (voice, web, API)
- Context injection: Dynamically loads business data, scripts, and agent configurations
- Turn coordination: Manages the flow between user input, AI processing, and system responses
- Multi-language routing: Switches between parallel language contexts seamlessly
Deterministic execution layer
This layer ensures business logic executes predictably, regardless of AI behavior:- Script execution: Processes node-based conversation flows deterministically
- Variable management: Maintains strict typing and visibility controls for data
- Tool invocation: Executes system tools and external integrations with guaranteed behavior
- Workflow processing: Runs conditional logic (if/else), loops, and calculations
AI intelligence layer
The intelligence layer provides natural language understanding and generation:- Model abstraction: Supports OpenAI, Azure, Anthropic, Gemini, Groq, and custom models
- Prompt engineering: Automatically constructs system prompts from agent configuration
- Context management: Injects relevant business data, scripts, and capabilities
- Response generation: Produces natural, personality-aligned responses
Integration layer
The integration layer connects to external services and data sources:- FlowApps: Pluggable C#/.NET connectors for third-party APIs
- Custom tools: HTTP-based tool definitions for any API
- Knowledge bases: Vector database integration for RAG (Retrieval Augmented Generation)
- Communication channels: SIP trunking, WebRTC, REST APIs, and webhooks
Data architecture
Entity structure
The core business entities follow a hierarchical structure:Multi-language storage
All user-facing content is stored in multi-language dictionaries using the[MultiLanguageProperty] attribute:
When you switch languages, Iqra AI loads a completely different neural configuration, including different personas, examples, and even different AI service providers optimized for that language.
Infrastructure components
Required services
The self-hosted deployment requires:- .NET 10 Runtime: Hosts the core engine and API servers
- MongoDB: Stores business entities, conversation logs, and configuration
- Redis: Handles session caching and real-time state management
- Milvus: Provides vector database for knowledge base embeddings
- RustFS (S3): Stores audio recordings, files, and media assets
Optional components
- Iqra Proxy: WebRTC/WebSocket gateway for browser and mobile apps
- Multi-region deployment: Geographic distribution for latency optimization
- Monitoring stack: Observability and analytics infrastructure
Deployment models
Iqra Cloud (SaaS)
Fully managed platform with:- Automated scaling and infrastructure management
- Multi-tenant billing and whitelabeling systems
- Global edge network deployment
- Enterprise SLAs and support
Self-hosted (open source)
Core engine deployment with:- Full agent engine and script builder
- FlowApp system for integrations
- Community support and documentation
- Source-available license
Enterprise
Custom deployment for:- Dedicated infrastructure and SLAs
- On-premise installation support
- Specific compliance requirements
- Data residency within GCC nations
Security architecture
Secure sessions
The Secure Sessions feature creates a “clean room” for sensitive data:- Audio and DTMF inputs are processed by the deterministic engine
- Strict Get/Set variable rules control data access
- AI never sees raw sensitive data (like credit card numbers)
- Only validation results are exposed to the AI layer
Data isolation
Each conversation session maintains isolated context:- Variables scoped to individual sessions
- Encrypted storage for sensitive fields
- Audit logging for compliance tracking
- Role-based access control (RBAC) for team management
Next steps
Agents
Learn how agents orchestrate conversations with personality and intelligence
Scripts
Understand the node-based system for building conversation flows
Workflows
Explore deterministic action flows for business logic
Multi-language
Discover native multi-language support with parallel contexts