How It Works
The Zild Platform is built as a multi-tenant AI orchestration layer that connects communication channels, intelligent agents, workflows, and enterprise integrations. At a high level, the execution flow follows this structure: Channel → App → Agent → Workflow → Integration → Response This architecture ensures scalability, modularity, and enterprise-grade control.1. Channel Layer
Channels are the external communication surfaces where end users interact with your AI agents. Supported channel types include:- Voice (SIP / Twilio)
- Webchat
- Custom API integrations
2. App Layer
An App represents a configured channel integration within a tenant. Examples:- A specific WhatsApp Business number
- A Twilio Voice number
- A Webchat widget instance
- Receiving inbound events (messages, calls)
- Authenticating the source
- Normalizing the payload
- Forwarding structured events to the Agent layer
3. Agent Layer
The Agent is the intelligence core of the system. When an event is received, the platform:- Identifies the Tenant
- Identifies the App
- Loads the configured Agent
- Retrieves conversation memory
- Executes AI processing
- Generate natural language responses
- Call structured tools
- Trigger workflows
- Query external systems
- Escalate to human operators
- Modify conversation state
- System instructions
- Knowledge base
- Tool definitions
- Escalation rules
- Context memory
4. Conversation Engine
Every interaction belongs to a Conversation object. The conversation engine handles:- Context persistence
- Message history
- Metadata storage
- Event tracking
- Workflow triggers
- Context-aware responses
- Multi-step interactions
- Cross-channel continuity (when enabled)
5. Workflow Engine
After the Agent processes an event, it may trigger structured actions. Workflows can be triggered by:- Agent decisions
- Conversation events
- Time-based conditions
- External system callbacks
- Send webhooks
- Update CRM records
- Create internal tasks
- Send contracts
- Escalate to human agents
- Route conversations
6. Integration Layer
Zild integrates with external systems through:- REST APIs
- Webhooks
- Telephony providers
- Messaging providers
- CRM platforms
- Internal enterprise systems
- API authentication
- Signature verification
- Role-based permissions
7. Response Delivery
Once the Agent generates a response and workflows execute:- The platform formats the outbound message
- The App maps it to the channel format
- The message is delivered back to the user
- TTS generation
- Call transfer
- DTMF handling
- Structured messages
- Buttons
- Media attachments
- Templates
End-to-End Flow Example
Below is a simplified execution sequence:- User sends a WhatsApp message
- WhatsApp sends a webhook to the Zild App
- Zild validates and normalizes the event
- The correct Agent is loaded
- Conversation memory is retrieved
- The Agent processes input
- The Agent triggers a CRM update
- A webhook is sent to the CRM
- The Agent generates a response
- The message is returned to WhatsApp
- Conversation state is stored
Multi-Tenant Architecture
Zild is fully multi-tenant. Each tenant has:- Isolated data
- Independent agents
- Independent apps
- Independent integrations
- Independent workflows
- Multiple companies
- Multiple departments
- White-label deployments
- Enterprise-grade segregation
Scalability Model
The platform is designed to scale horizontally. Key architectural properties:- Stateless application services
- Conversation state stored in persistent storage
- Asynchronous event processing
- Webhook-based integrations
- Channel abstraction
- High conversation volume
- Parallel AI execution
- Multiple active channels per tenant
Security and Control
Security is embedded in each layer:- API authentication
- Webhook signature verification
- Role-based access control
- Tenant data isolation
- Conversation logging
- Event auditing
Summary
Zild works by separating concerns into distinct layers:- Channels handle communication
- Apps handle integration mapping
- Agents handle intelligence
- Conversations handle state
- Workflows handle automation
- Integrations handle external connectivity
Next, continue to:
- Core Concepts — Object model and terminology
- Quickstart Guide — Step-by-step implementation
- Platform Overview — Infrastructure-level documentation