Apex Lab

EV Fleet Management Platform

A Voice AI Assistant for EV Fleet Charging

Our client is a European EV fleet management platform. Their challenge was to build a voice and text AI assistant that converts unstructured driver requests into structured charging intents, ready for their orchestration system to act on.

Skills

  • Cloud Solutions
  • Amazon Bedrock
  • AWS Lambda
  • Terraform
  • Python
  • Claude Haiku
  • EC2
  • DynamoDB

Industry

  • Mobility
voice to text

The Mission

The client's charging orchestration system is precise: it needs to know when a vehicle needs to depart and to what charge level. But drivers don't talk in structured data. They say things like "I need the truck ready for 4 a.m. tomorrow at 80%", or they give partial information and need to be asked follow-up questions before a valid intent can be formed.

The gap between natural driver communication and the structured JSON the system expects was the problem. Filling it required something that could hold a real conversation, extract the right parameters, confirm them, and write the result somewhere the orchestration system could read it.

Apex Lab was very professional from the first touchpoint until the end. Their timely and efficient communication and execution and their product building expertise marked via deliberate choices is excellent!

ev charging

The Solution

A conversational intent layer for fleet drivers

We built a voice and text AI assistant that takes driver input, extracts the key charging parameters - departure time and target charge range - asks clarifying questions when information is missing, reads back the confirmed intent, and writes the resulting structured object to DynamoDB for the client's API to consume. The UI includes a toggle between voice and text input.

NovaSonic for real-time speech

For voice, we selected Amazon Bedrock's NovaSonic speech-to-speech model. NovaSonic requires a persistent bidirectional WebSocket stream, which ruled out a serverless Lambda approach - Lambda cannot sustain the connection type the model needs. The primary architecture runs on an EC2 instance hosting the WebSocket, with Claude Haiku handling the text-to-text path.

Two reference architectures delivered

Alongside the primary NovaSonic/EC2 stack, we delivered a Lambda/Polly reference implementation — a slower, serverless alternative — and a basic AWS Agent Core prototype. Agent Core is the recommended production path: it has native support for streaming, authentication, and session memory, which will be needed when driver-to-vehicle association is introduced.

Charging calculations from vehicle roster data

When calculating charging time, the system pulls battery capacity and max charge rate directly from the client's API vehicle roster - keeping the estimates grounded in real vehicle data rather than assumptions.

Fleet manager visibility

A read-only API exposes driver intents to the fleet manager dashboard, giving operators oversight of scheduled requests without modifying the core intent flow.

Security

Bedrock content filters, prompt hardening, and API schema validation are in place to guard against prompt injection and out-of-scope requests.

The Outcome

The PoC delivered a working voice and text assistant - driver speaks, structured intent lands in DynamoDB - with ~2–3 second latency on simple queries. Two additional reference architectures (Lambda/Polly and Agent Core prototype) were handed over alongside full documentation, a demo video, and Terraform code for both stacks. The client is now demoing the system with customers to build traction for the production phase.

Previous project Next project