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 from Knowledge Base articles and ohlcx.com pages. Without sign-in it reads nothing else, so it is safe for unauthenticated users. For a signed-in user it can also read that user's credits, billing, settings, activity, strategies, signals, and trading rooms, and update their settings. Ideal for in-app help and support ticket triage.
search_knowledge_base_articlesget_knowledge_base_article_by_slugfetch_ohlcx_webpage+ 18 user-data tools when signed inPOST /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_accountsget_strategy_routing (Pro)list_markets (Pro)get_market_calendar (Pro)get_market_balance (Pro)+ 7 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: