useAgentContext
This hook is stale and should not be used. The current frontend AI runtime no longer exposes the old context-based contract. Use these hooks instead:useAgentSessionfor the active AI sessionuseActorProjectsfor actor-scoped projectsuseProjectThreadFeedfor project thread feedsuseProjectTaskBoardItemfor task detail, history, and filesystemuseAgentThreadConversationfor live thread messages, execution, and streaminguseActorMcpServersfor actor-scoped MCP connections
/guides/ai-agents/frontend-api-runtime-routes
