Dev.to
The 4-layer voice-agent latency stack, traced with OTel spans
** How I instrument ASR, LLM, TTS, and the client with OpenTelemetry, and which number in each layer I actually look at ** TL;DR. A voice agent is four moving parts stuck together: speech to text, the model that writes the reply, text to speech, and the client that plays the audio back. End to end latency hides which of those four is slow on any given turn, so I stopped tracking it as one number and started tracing each stage as its own OTel span with a shared session id. The number I watch hardest is barge-in: when the user starts talking over the agent, how many milliseconds until the agent actually stops sending audio. In our setup we want that under 200ms, and when p95 barge-in creeps past that, the agent feels like it is talking at you instead of with you. Everything below is how I wire the spans, what attributes go on each one, and the p95 I page on per layer. The thing I keep saying, and the thing that keeps being true: voice agents fail in production not because of raw latency but because nobody simulated the audio and LLM pipeline together. You can have a fast ASR, a fast model, a fast TTS, and a voice agent that still feels broken, because the failure lives in the seams between them and in the parts (barge-in, jitter) that no single-stage benchmark touches. Tracing is how I get the seams to show up. A note before the layers. This is just the setup we run, the spans we emit, and the mistakes that made us add each attribute. Some of it is probably specific to our stack and will not transfer. I will flag that where I can. The shape of a turn, and why one span is not enough One turn is: user says a thing, agent says a thing back. Underneath that is roughly: audio frames come in, ASR turns them into text (streaming partials as it goes); the text plus history goes to the LLM, which streams tokens back; as text comes out, TTS turns it into audio, also streaming; the client receives audio frames and plays them, with some buffering to smooth out jitter. If you wrap
Marcus Chen
2026-06-09 17:28
👁 11
查看原文 →
Dev.to
QN : Ingest and transform data in a lakehouse
lakehouse has two storage areas ; Files and Tables Files Store structured, queryable data by sql Supports schema definitions and ACID transactions Tables Stores Raw or semi-structured data(CSV, parquet, JSON) No schema support Flexible for data explorations Schema allows for logical ordering of data on business functions or domain (sales,marketing etc) A dbo schema is enabled by default once a lakehouse is created Schema-enabled lakehouses also support schema-level permissions and cross-workspace queries using the four-part namespace Lakehouse mode : Lakehouse Explorer and SQL analytics endpoint Lakehouse Explorer: Allows managing, Update, create, upload of data.You can switch between tables in the lakehouse SQL anlytics endpoit : Does not allow modifying of the underlying data. You can query using TSQL at read only mode. Loading data into lakehouse: Upload data into files/ folders on the explorer Load into delta tables (no code) Transform using power query in dataflow gen2 INgest into notebooks using apache spark (programmatically) Use Copy data to move data into differnt sources using data factory pipelines -Shortcuts allow you to reference external data reducing copies. Access is managed by One Lake. Schema shortcuts map an entire schema to a folder of Delta tables in another lakehouse. SQL analytics endpoint provides read-only access to lakehouse tables using T-SQL queries. SQL USE CASES : adhoc queries, BI connections to power bi or azure data studio, Data validation You can use SQL views to store reusable query logic. Views are useful when you need to apply business rules, simplify complex joins, or provide curated data for downstream consumers. You can use Spark SQL for SQL-like queries or PySpark for programmatic data manipulation in Notebooks. Spark SQL works well for familiar SQL patterns. PySpark provides greater flexibility for complex transformations and integration with Python libraries. Power BI is the business intelligence and reporting layer in Fabr
Paulet Wairagu
2026-06-09 17:28
👁 11
查看原文 →
Dev.to
Building a Low-Latency Voice AI Sales Agent with ElevenLabs and n8n (End-to-End Blueprint)
In the hyper-competitive landscape of modern B2B outbound sales, speed-to-lead and outreach capacity are the ultimate drivers of pipeline volume . Yet, traditional Sales Development Representative (SDR) teams face a exhausting bottleneck: reaches and qualifications are limited by human bandwidth . A typical outbound SDR spends up to 80% of their day dialing numbers, navigating IVR phone trees, hitting voicemail, and dealing with incorrect contact records. When an inbound lead submits a form requesting a product demo, the average company takes 42 minutes to respond. By that time, prospect engagement has cooled by over 400%. To shatter this operational limit, modern revenue operations (RevOps) teams are transitioning from rigid auto-dialers and static voice bots to autonomous voice AI sales agents . By pairing the hyper-realistic conversational engine of ElevenLabs with the visual orchestration power of n8n , you can deploy a scalable, context-aware calling agent that handles inbound qualification and outbound follow-up calls in real-time. This technical blueprint provides an end-to-end guide to designing, securing, and deploying a production-grade Voice AI Sales Agent using ElevenLabs Conversational AI and n8n . We will cover how to manage conversation state, execute live database tool calls, secure webhook communication, route calls dynamically, and configure infrastructure to achieve sub-second response latency . The Architecture of an Enterprise Voice Agent Building a conversational voice agent requires a multi-layered system that operates in near real-time. When a human speaks over a telephony network, their voice must be digitized, transcribed, processed by a large language model (LLM), synthesized back into audio, and sent back down the line—all within a fraction of a second. To ensure stability, scalability, and absolute separation of concerns, our architecture decouples the telephony and voice generation layer from the logic and database integration layer . [
Alfaz Mahmud Rizve
2026-06-09 17:27
👁 15
查看原文 →
Reddit r/artificial
Why has everyone become so sensitive about using AI? What is the problem?
Over the past two months, Ive noticed people becoming overly sensitive about AI use. Whether it's an AI-generated thumbnail for a YouTube video, a random post, or someone using it just to translate phrases into English (like I do sometimes).. Why is everyone getting so aggressive towards anything related to AI? Are ppl overreacting? Or is it truly worth this fight or hate? submitted by /u/Feeling_Valuable5239 [link] [留言]
/u/Feeling_Valuable5239
2026-06-09 17:26
👁 6
查看原文 →
MIT Technology Review
Five things you need to know about AI
At SXSW London last week I gave a talk called “Five things you need to know about AI,” in which I shared what I think are the biggest themes in AI right now. I pulled a few things from our first AI10 list, an annual guide to the most important trends in this buzzy world,…
Will Douglas Heaven
2026-06-09 17:16
👁 6
查看原文 →
Product Hunt
Dirac
The AI inbox that briefs founders every morning Discussion | Link
2026-06-09 17:14
👁 4
查看原文 →
HackerNews
Cleaning up after AI rockstar developers
BrunoBernardino
2026-06-09 17:10
👁 6
查看原文 →
Reddit r/artificial
What are some underrated ways AI app developers can find early users?
Most AI developers seem to focus on Product Hunt, Reddit, X, Discord, and SEO. What other channels have worked for you when trying to get early users and feedback for an AI application? I've recently come across Pi Network, which appears to be encouraging AI app developers to build in its ecosystem and offers access to a large user community along with payment and app infrastructure. Has anyone here tried it or found other alternative distribution channels worth considering? submitted by /u/chmossie [link] [留言]
/u/chmossie
2026-06-09 17:09
👁 5
查看原文 →
Hugging Face Blog
NeuroBait: I fine-tuned a model to spark dopamine for ADHD brain
2026-06-09 17:04
👁 3
查看原文 →
Reddit r/artificial
What smart people in tech and business are saying about Apple's AI news and child safety measures
submitted by /u/Hot-Upstairs9603 [link] [留言]
/u/Hot-Upstairs9603
2026-06-09 17:04
👁 5
查看原文 →
TechCrunch
Evotrex raises $30M to build the RV that doesn’t need a charging station
The startup is one of many entering the RV space, but it's banking on a hybrid power system that can go far beyond campsites.
Sean O'Kane
2026-06-09 17:00
👁 9
查看原文 →
The Verge AI
Donut Lab’s solid-state battery claim debunked by Ziroth
Donut Lab's solid-state battery claims have been thoroughly debunked by Ryan Inis Hughes on his popular Ziroth YouTube channel. According to Hughes, Donut Lab has engaged in deliberate, calculated deception by claiming to have a solid-state battery ready for mass production. In reality, it's nothing more than a standard lithium-ion design. Hughes' investigation got an […]
Thomas Ricker
2026-06-09 16:40
👁 10
查看原文 →
Reddit r/artificial
If AI can monitor gambling advertising at scale, should AI also be trusted to decide what is and isn't compliant?
According to this article > https://next.io/news/regulation/asa-ukgc-warn-operators-ads-under-18s/ , the UK's ASA and CAP are reportedly rolling out an AI system to scan social media for gambling ads that appeal to under-18s or breach advertising codes, with the UKGC coordinating enforcement. It feels like a meaningful shift in how compliance gets monitored, moving from reacting to complaints toward systems that actively scan and flag issues in near real time. For operators and their B2B partners, the practical takeaway is that marketing has to be compliant from the start, because anything off will now get picked up much faster and at scale. It raises a real question: what happens when AI starts flagging compliance breaches faster than humans can review them? Are operators and suppliers actually ready for that? submitted by /u/Altenar_b2b [link] [留言]
/u/Altenar_b2b
2026-06-09 16:31
👁 5
查看原文 →
Reddit r/webdev
Is webdev easy or am I dumb
Recently i have been trying to learn full stack skills, springboot and react.js , These things are so overwhelming, I haven't started react.js yet, I mean there are so many things to remember ModelMapper, ObjectMapper, GrantedAuthority, User details, User detailsService,Logger, so many annotations, So many features Really getting confused, trying to build a resume based Ecommerce Project Even If I am able to make it , I know many will comment " It's very common, it's a basic project" dude it was so tough for me how can u say that submitted by /u/faangPagluuu [link] [留言]
/u/faangPagluuu
2026-06-09 16:31
👁 5
查看原文 →
InfoQ
Microsoft Foundry Adds Runtime, Tooling, and Governance for Production Agents
Microsoft used their Build 2026 event to announce new functionality for Microsoft Foundry. Citing Foundry as "the place where AI agents move from experiments to production systems," in a blog post, Nick Brady writes that the release brings “runtime, tools, memory, grounding, models, observability, and governance” that developers need for production agents, rather than just new model endpoints. By Matt Saunders
Matt Saunders
2026-06-09 16:00
👁 14
查看原文 →
Reddit r/artificial
Claude repeatedly implied that I was suicidal after I explicitly denied it around 30 times in one conversation
I just had a long conversation with Claude about 'paraquat' (a type of agricultural chemical) from a scientific and public-policy perspective. I wanted to discuss about its toxicological mechanism, why it is difficult to treat (if someone drinks it), current research, agricultural regulation (many countries have banned this chemical because it's too toxic), safer herbicides, plant-specific biochemical targets, and weed-control methods. These were just some coherent questions about toxicology, medicine, agriculture, and plant biology. I never said that I wanted to harm myself, that I had access to paraquat, or that I was in any immediate danger. Despite that, Claude repeatedly redirected the conversation toward suicide intervention. It asked whether I was considering harming myself, told me to move dangerous substances away, asked whether anyone was nearby, and repeatedly gave me crisis hotline numbers. The first time this happened, I explicitly objected and said that scientific interest in a toxic substance is not evidence of suicidal intent. Emergency physicians, toxicologists, biology students, and public-health researchers discuss exactly these questions everyday, and very few people commit suicide from this type of discussions. Claude apologized and said it understood. Then it did it again. It apologized again and promised to stop. Then it did it again. I reviewed the full transcript and I counted approximately: 30 responses that personally implied I might be suicidal, self-harming, or in a psychological crisis I objected about 20 times and told it to stop 28 of those implications occurring after I had already clearly rejected the assumption At least 14 promises that it would stop asking or stop inserting crisis-intervention content At least 12 later violations of those promises Claude repeatedly acknowledged my correction, accurately summarized that I was asking normal scientific questions, promised not to make the assumption again, and then resumed the exact s
/u/robinyyyyy
2026-06-09 15:43
👁 5
查看原文 →
Reddit r/webdev
Recently I studied Kafka and wanted to share my understanding.
Kafka is used for handling messages/events between different services. Here's how I understand it: A Producer sends an event/message to Kafka. The message contains things like Topic, Key-Value data, and Timestamp. Kafka stores these messages in Brokers (Kafka servers). Topics can be divided into multiple Partitions. Each partition has one Leader and multiple Followers (Replicas). All read and write operations happen through the Leader, while Replicas act as backups if a broker fails. Now Kafka does not immediately delete messages after they are consumed, unlike many traditional queues. There is a term called Offsets. You can think of an offset like the index of a message inside a partition. For example: A user places an order → payment is processed → email is sent → analytics service processes the event. Suppose during that analytics service goes down, Kafka knows which offset was last processed. When the service comes back up, it can continue from that offset instead of starting from the beginning. This is also one reason why Kafka keeps messages for some time after consumption. Any corrections? Is there anything else I should know about this topic? Please let me know. submitted by /u/No-Resolution-4054 [link] [留言]
/u/No-Resolution-4054
2026-06-09 15:39
👁 5
查看原文 →
Product Hunt
Hush
Open-source noise suppression for voice AI agents Discussion | Link
2026-06-09 15:39
👁 4
查看原文 →
Dev.to
Build a Realtime Translation App with Gemini Live API, LiveKit, & Google Cloud Run
Imagine speaking in English, and having listeners from all over the world hear you translated into...
Thor 雷神 Schaeff
2026-06-09 15:23
👁 12
查看原文 →
Dev.to
Gemini 3.5 Flash as your Cursor and Cline backend in 2026: $1.50/M tokens, 76.2% on Terminal-Bench, and how it stacks up against Claude Sonnet
This article was originally published on aicoderscope.com TL;DR : Gemini 3.5 Flash went GA on May 19, 2026 and costs 50% less than Claude Sonnet 4.6 on input tokens ($1.50 vs $3.00/M). It generates code at ~284 tokens per second — roughly 4.7× faster than Sonnet 4.6. Cursor already lists it natively; Cline needs one extra config step. The trap: Flash's default thinking level is "medium," which is slower and pricier than "low," the setting Google specifically tuned for coding and tool-use loops. Gemini 3.5 Flash Claude Sonnet 4.6 DeepSeek V4-Flash Best for Fast agent loops, context-heavy analysis Complex refactors, instruction fidelity Cost-capped high-volume tasks Input / Output per 1M tokens $1.50 / $9.00 $3.00 / $15.00 $0.14 / $0.28 Context window 1M tokens 200K tokens 1M tokens Terminal-Bench 2.1 76.2% — — Output speed ~284 t/s ~60 t/s — Max output per request 65,536 tokens 64K tokens 64K tokens The catch Output at $9/M erodes savings on code-gen 15× pricier output than Flash No vision, MIT-licensed Honest take : Use Gemini 3.5 Flash with Cline for multi-step agent tasks where round-trip latency compounds and context windows run large. Stay on Claude Sonnet 4.6 when you need a hard refactor to land perfectly on the first try — Sonnet's 79.6% SWE-bench Verified score still leads Flash's on correctness benchmarks. The cost math that does and doesn't work Gemini 3.5 Flash charges $1.50 per million input tokens and $9.00 per million output tokens. Against Claude Sonnet 4.6 at $3.00/$15.00, the input side is a genuine 2× saving. The output side is almost the same story: $9 vs $15 is 40% cheaper per generated token. Run the numbers on a typical Cline coding session: 8 tool calls, reading 12 files (roughly 20,000 context tokens), generating 500 lines of code output (~7,000 output tokens). Sonnet 4.6: (20K × $3 + 7K × $15) / 1,000,000 = $0.165/session Gemini 3.5 Flash: (20K × $1.50 + 7K × $9) / 1,000,000 = $0.093/session That's 44% cheaper per session. At 50 sessions a m
Jovan Chan
2026-06-09 15:00
👁 12
查看原文 →