Agent skill
voice-agent-expert
This skill is a practical, 'use-it-while-debugging' reference for getting a LiveKit + Letta voice agent working reliably.
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/egadams/voice-agent-expert
SKILL.md
Voice Agent Expert – Debugging Cheat Sheet (Skill)
This skill is a practical, "use-it-while-debugging" reference for getting a LiveKit + Letta voice agent working reliably.
Core rules (fix 90% of issues)
-
Override the right LiveKit hook
- The framework calls
llm_node, notgenerate_reply. - If you override the wrong method, your changes won't run and your agent may "look alive" but never route text correctly.
- The framework calls
-
Only ONE voice-agent process can run at a time
- Duplicate processes commonly cause:
- timeouts
- audio cutting out
- inconsistent behavior (you're looking at logs from one process while another is actually serving)
- Duplicate processes commonly cause:
-
Use
devmode for local testingstartcan sit waiting for dispatch and look "broken."- If you're actively testing locally,
devmode is the fast path.
Nuclear reset (when it's just stuck)
Run this when things are wedged, timeouts are happening, or audio is cutting out. It kills old processes, restarts LiveKit in dev mode, then restarts the Letta voice agent.
pkill -9 -f letta_voice_agent.py
pkill -f livekit-server
sleep 2
cd /home/adamsl/ottomator-agents/livekit-agent
nohup ./livekit-server --dev --bind 0.0.0.0 > /tmp/livekit.log 2>&1 &
cd /home/adamsl/planner/a2a_communicating_agents/hybrid_letta_agents
/home/adamsl/planner/.venv/bin/python3 letta_voice_agent.py dev > /tmp/letta_voice_agent.log 2>&1 &
Is it alive? checks (fastest signals)
-
LiveKit responding (not just "listening")
bashcurl -v http://localhost:7880/ 2>&1 | head -20If this hangs or times out, LiveKit is stuck → restart it.
-
Confirm you don't have duplicate voice-agent processes
bashps aux | grep letta_voice_agent | grep -v grepYou should see exactly one.
-
Confirm Letta routing is actually being used Watch your logs for your 🎤 marker (or equivalent logging) that proves
llm_nodeis being hit.
Common gotchas
WebSocket double-slash problem
If the browser tries:
ws://127.0.0.1:7880//rtc
Use instead:
ws://localhost:7880
Reason: The client appends /rtc, and some configs end up producing a double-slash.
Code changes not taking effect
- Edits don't apply until you kill + restart the running process.
- If you edited code and nothing changed, assume you're running an old process.
If messages aren't showing up in Letta Desktop
Most common causes:
- You overrode the wrong method (
generate_replyinstead ofllm_node) - An old process is still running (your edits aren't live)
- The session LLM is bypassing Letta routing
Recommended fix flow
- Search your code for
llm_nodeand confirm your override is in place. - Kill all running agent processes.
- Restart cleanly using the Nuclear reset section above.
- Tail logs and confirm you see your 🎤 marker.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?