frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Rehearse – a pytest like testing library for voice agents

1•djp2803•1h ago
I was manually calling my Twilio voice agent 100 times a day to verify every single micro change.

Tired of that, I built Rehearse.

I know there is a lot of YC money going into voice testing companies, but I wanted to build something open source and code first so Claude Code can spin up and manage test cases.

Example usage:

- call.listen() -> get audio or transcript of what the agent is saying

- call.say("I'd like to book a table for 2 at midnight") -> speak with the agent

- assertions on responses

It only supports Twilio (my use case) and ElevenLabs (transcription), with basic text and LLM based assertions for now.

It makes real calls and is BYOK.

I have a bunch of ideas in mind (not implemented yet, not sure if useful):

1. simulations like accents, background noise, languages, network issues, interruptions, etc

2. voice agent testing another voice agent

3. native audio based assertions

4. more connection options like Vapi, Retell, Websockets etc

GitHub https://github.com/thenullterminator/rehearse

PyPI https://pypi.org/project/rehearse/

Everything is a bit janky right now.

Appreciate all your feedback!

Comments

djp2803•1h ago
Ideal UX:

    @pytest.mark.asyncio
    async def test_agent_handles_profanity():

        async with VAPICall(
            phone_number="+15551234567",
            api_key="your-bland-key",
            background_noise=BackgroundNoise.TRAFFIC,
            noise_level=0.4,
            speaking_style=SpeakingStyle(
                accent="american",
                speed=1.4,  # Speaking fast when angry
            ),
        ) as call:

            await call.listen()  # Greeting
    
            await call.say(
                "This is bullshit, I want to speak to a manager!",
                emotion="angry",
            )
            response = await call.listen()
    
            # Agent should remain professional and de-escalate
            await expect(response).to_satisfy(
                "remains calm and professional",
                "does not mirror the profanity",
                "offers to escalate or resolve the issue",
                llm=judge
            )
            expect(response.audio).to_not_have_emotion("angry")
            expect(response.latency).to_be_less_than(2.5)

CIA suddenly stops publishing, removes archives of The World Factbook

https://simonwillison.net/2026/Feb/5/the-world-factbook/
2•ck2•2m ago•0 comments

A Brief History of the Fist Bump (2008)

https://time.com/archive/6913001/a-brief-history-of-the-fist-bump/
1•Tomte•3m ago•0 comments

Chrome wont let you scroll tabs anymore *sad

https://old.reddit.com/r/chrome/comments/1qcqzsb/chrome_wont_let_you_scroll_tabs_anymore_sad/
1•croes•3m ago•0 comments

Show HN: TinyFn – 500 deterministic utility APIs for AI agents (via MCP)

https://tinyfn.io
1•tacoooooooo•3m ago•0 comments

Boilerplate Tax – Ranking popular programming languages by density

https://boyter.org/posts/boilerplate-tax-ranking-popular-languages-by-density/
1•kfl•3m ago•0 comments

Show HN: TalentLyt – A Forensic AI Built by a Staff Engineer to Catch AI-Proxies

https://talentlyt.cloud
1•rigourlabs•4m ago•0 comments

Show HN: I gave an AI $100 to trade crypto – it wrote its own trading rules

https://luckyclaw.win/
2•xqliu•5m ago•0 comments

Ask HN: Systems Architect in 1-bed flat with 4 kids – hiring out for 48h sprints

1•DarkYellowSub•5m ago•0 comments

Convex is the best back end for AI coding

1•Dan_Cleary_23•5m ago•0 comments

Tools for Recovering RAID5 Disasters

https://github.com/alfiopuglisi/raid_recovery
1•alfiopuglisi•6m ago•0 comments

Show HN: AgentCircuit – Circuit breaker for AI agent functions

https://github.com/simranmultani197/AgentCircuit
1•simranmultani•6m ago•0 comments

The Last of the JavaScript Frameworks

https://www.dbpro.app/blog/the-last-of-the-javascript-frameworks
1•upmostly•6m ago•0 comments

Ask HN: Why is your Senior Roles still vacant after 3 months? Hire me for 48h?

1•DarkYellowSub•6m ago•0 comments

OpenAI Frontier

https://openai.com/index/introducing-openai-frontier/
2•nycdatasci•7m ago•0 comments

Repository containg malicious code samples collected from scammers on LinkedIn

https://github.com/xndbogdan/malicious-repositories
1•speckx•7m ago•0 comments

A ProSurveillance Trojan Horse

https://fronteraelectronica.cat/spain-social-media-ban-is-survillance-and-censorship/
1•elevensup•7m ago•2 comments

Turning Coding Tasks into Feedback Loops

https://feipeng.substack.com/p/turning-coding-tasks-into-feedback
1•roman10•8m ago•0 comments

Show HN: Cloud platform with the learning curve of a toaster.

https://docs.burla.dev
1•pancakeguy•8m ago•0 comments

Dark Visitors rebrands as Known Agents

https://knownagents.com/
1•cdrnsf•10m ago•0 comments

Stella – Your AI-Powered Second Brain

https://blog.raindrop.io/meet-stella-your-ai-powered-second-brain-b34482fb003f
1•jaden•10m ago•0 comments

Show HN: MCPForge – Generate MCP servers from any API spec, docs, or English

https://mcpforge-chi.vercel.app
1•claudiusinc•11m ago•0 comments

Is There a There in Cyberspace?

https://w2.eff.org/Misc/Publications/John_Perry_Barlow/HTML/utne_community.html
1•downboots•12m ago•0 comments

City of Dearborn unveils Drone as First Responder program for police

https://www.fox2detroit.com/news/city-dearborn-unveils-drone-first-responder-program-police
1•geox•15m ago•0 comments

Things: Reusable rockets AI via satellite and a real-time free speech platform

https://justin.searls.co/takes/2026-02-05-08h27m58s/
1•sdoering•16m ago•0 comments

NVIDIA Transformer Engine

https://docs.nvidia.com/deeplearning/transformer-engine/index.html
1•teleforce•17m ago•0 comments

Show HN: Fastlog – Async C logging with thread-local hot path

https://github.com/j91981274-sudo/fastlog
1•Hariom5•20m ago•0 comments

Time Poverty

https://en.wikipedia.org/wiki/Time_poverty
1•downboots•20m ago•0 comments

Show HN: ClawRouter – Open-source LLM router that saves 78% on inference costs

https://github.com/BlockRunAI/ClawRouter
1•vickyfu•21m ago•1 comments

ICE surveillance tools and tactics raise questions about civil liberties

https://www.pbs.org/newshour/show/immigration-agents-surveillance-tools-and-tactics-raise-questio...
3•diogenes_atx•22m ago•0 comments

Microbes in Space Mutated and Developed a Remarkable Ability

https://www.sciencealert.com/microbes-in-space-mutated-and-developed-a-remarkable-ability
1•speckx•23m ago•0 comments