Scenaro’s SDK abstracts its realtime engine behind a Transport
boundary — LiveKit is the current implementation. Generated code should prefer the portable
useScenaroSession contract over engine-specific APIs unless the task explicitly needs
Transport extensions.Quick links
Instructions for AI agents
Fetch the complete documentation index at: https://docs.scenaro.io/llms.txt
Use this file to discover all available pages before exploring further.
For clean Markdown of any page, drop the trailing slash and add .md.
Example: https://docs.scenaro.io/introduction/quickstart.md
This static host does not serve an MCP protocol endpoint. Use llms.txt, llms-full.txt, and the Markdown pages.
Install the Scenaro skill
Install Scenaro documentation for your AI assistant
Contextual menu
Every documentation page includes a contextual menu (top-right) with:- Copy page — copies the current page as Markdown
- View as Markdown — opens the
.mdversion - Open in ChatGPT / Claude / Cursor — starts a conversation with page context
Cursor setup
1
Give the agent the documentation index
Paste this URL when the task needs Scenaro context:The same menu’s Cursor option starts from the current page.
2
Use llms.txt for broad context
Paste
https://docs.scenaro.io/llms.txt when you need the agent to discover all pages before drilling into specifics.3
Use llms-full.txt for deep tasks
For large implementation tasks (full SDK integration, protocol work), provide
https://docs.scenaro.io/llms-full.txt as a single context file.Recommended reading order for agents
When implementing a Scenaro integration, read these pages in order:- Implement an experience — full journey map
- Quickstart — minimal working embed
- Tools and features — session tools vs FeatureProvider
- Authentication — identify → session flow
- Protocol topics — data-channel contract
- SDK reference —
useScenaroSessionAPI - Transport — only if the task touches engine-specific code
Key facts for code generation
- Package:
@scenaro/sdk@0.3.0on npm - Legacy APIs (
useScenarioSession,AgentListener,getScenario) were removed in 0.3.0 - Auth is two-hop:
identifyUserthenstartSession— never a single token call - Transport is abstracted (LiveKit today) — see Transport. Only install
livekit-client >=2.0.0and@livekit/components-react >=2.0.0for Transport extensions - Storage keys:
scenaro_session:app:{applicationId}+scenaro_scenario_uuid - Business features are not in the SDK — inject via
FeatureProviderregistry - Protocol source of truth:
packages/sdk/src/protocol/in the monorepo