AI Agents Reference
OHLCX has two AI layers: in-app SSE agents (three modes) and an MCP bridge for IDE/Cursor integration. All agents share the Knowledge Base. Trading agents add live account data. Pro agents add market intelligence.
In-App Agents
POST /api/ai/agents/supportAnswers questions about how the platform works using Knowledge Base articles only. No account data ever accessed. Safe for unauthenticated users. Ideal for in-app help and support ticket triage.
search_knowledge_base_articlesget_knowledge_base_article_by_slugPOST /api/ai/agents/tradingFull account-aware assistant. Reads your linked Schwab accounts, strategies, and signals. Pro users also get markets, tickers, sectors, calendar, and market balance data. Requires authenticated session.
list_trading_strategieslist_brokerage_accountslist_markets (Pro)get_market_calendar (Pro)get_market_balance (Pro)+ 6 more market tools (Pro)POST /api/ai/agents/assistantSingle endpoint that combines support and trading modes. Unauthenticated: KB only. Authenticated Light: adds strategies and accounts. Authenticated Pro: full market tools. Easiest to use for everyday questions.
All KB tools always+ trading tools when authenticated+ market tools when ProMCP Bridge Tools
run-support-agentPublic{ "message": "How do I place an OCO order?" }run-trading-agentAuthenticated MCP session{ "message": "Summarize my accounts and strategies." }Demo Script
Use this sequence for a complete demo covering KB, trading data, signals, and unified mode: