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.