← All case studies

DealAI · ОНИИР / ONIIR

Voice agents built around business workflows

A voice agent needs more than speech synthesis. It must listen at the right moment, take action, preserve context and bring the conversation to a useful conclusion.

My role

Cofounder and CTO at ONIIR. Developing the voice product with the team.

The challenge

Automate recurring telephone conversations, capture structured results and let a specialist take over when the task needs human attention.

Product interface

Real interface. Data is covered by opaque blocks within the image; this is not a loading state.

Voice agent configuration: prompt, capabilities, tools and integrations.
Voice agent configuration: prompt, capabilities, tools and integrations. Open image ↗

How it works

  1. 01

    Telephone call / SIP

  2. 02

    Speech recognition and dialogue

  3. 03

    Tools and structured fields

  4. 04

    Completion or handoff → CallSense

Main processing stages; no customer data.

Engineering decisions

Two conversation pipelines

The runtime supports realtime models and a speech-to-text → language model → text-to-speech pipeline. Turn detection follows the selected mode: waiting for a transcript that a realtime model never emits can stall the conversation.

Handoffs retain context

Switching agents preserves the phone session and collected fields. Human bridging and a transfer limit keep a conversation from getting trapped in repeated handoffs.

Actions with reviewable results

HTTP and MCP tools connect the conversation to external systems. Results can feed CallSense after the call. Transactional ingestion with duplicate protection prevents partially imported records on retries.

What we built

A configurable voice runtime covering dialogue, structured fields, tools, handoffs and post-call analysis. A separate listener mode gives operators hints and checklist updates without speaking on their behalf.

Latency and quality depend on audio, model selection and integrations. Each configuration needs real-call checks, including noise and interruptions.

Technology

  • Python
  • LiveKit / SIP
  • TypeScript
  • PostgreSQL
  • Yandex SpeechKit
  • MCP

Product context

DealAI is ONIIR’s voice product. CallSense analyses conversations; AIST Messenger is a separate product for collaboration between people and AI agents.

Let’s talk about your project

Describe the task in a couple of sentences — I’ll reply with a next step.