Files
ai/gateway/knowledge/platform/mcp-integration.md

22 lines
954 B
Markdown

---
description: "User sandbox lifecycle, persistent script storage categories, and session management for indicator, strategy, and research scripts."
---
# User Sandbox
Each user has a dedicated sandbox environment that persists their data across sessions.
## Persistent Storage
User scripts (indicators, strategies, research) are stored in a git repository inside the user's sandbox. They survive session disconnects and reconnections.
- Indicators are in the `indicator` category and can be listed with `PythonList(category="indicator")`
- Strategies are in the `strategy` category and can be listed with `PythonList(category="strategy")`
- Research scripts are in the `research` category and can be listed with `PythonList(category="research")`
## Session Lifecycle
- Sandbox starts automatically when the user connects
- Cold start takes a few seconds if the sandbox was idle
- All workspace state and scripts are preserved across reconnects