🧪 Skills
Realtime Agent
Manage SenseAudio realtime agents by listing agents, starting or continuing sessions, querying status, and leaving sessions with proper error handling.
v1.0.0
Description
name: senseaudio-realtime-agent
description: Implement and debug SenseAudio realtime Agent lifecycle APIs: list agents, invoke session, query status, and leave session (/v1/realtime/agents, /invoke, /status, /leave). Use this whenever user asks to start or manage SenseAudio conversational agents, continue dialogues, or handle room/conv/token lifecycle errors.
metadata:
openclaw:
requires:
env:
- SENSEAUDIO_API_KEY
primaryEnv: SENSEAUDIO_API_KEY
homepage: https://senseaudio.cn
compatibility:
required_credentials:
- name: SENSEAUDIO_API_KEY
description: API key from https://senseaudio.cn/platform/api-key
env_var: SENSEAUDIO_API_KEY
SenseAudio Realtime Agent
Use this skill for SenseAudio Agent session lifecycle integration.
Read First
references/agent.md
Workflow
- Discover agent:
- List available agents and pick
agent_id.
- Start or continue dialogue:
new_dialogue=truefor new session.new_dialogue=falsewithconv_idfor continuity.
- Persist runtime credentials:
- Store
conv_idandroom_idin your application state (database or session store), never in client-side code or logs. - Tokens returned by
/invokeare short-lived — treat them like passwords: do not log, do not embed in URLs, and discard after the session ends via/leave. - Rotate by calling
/invokeagain with the sameconv_id; do not reuse expired tokens.
- Operate session:
- Query room status when needed.
- Leave session explicitly when finished.
- Handle failures:
- Distinguish quota/auth/not-found vs parameter errors.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!