Skip to main content

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:
  • useAgentSession for the active AI session
  • useActorProjects for actor-scoped projects
  • useProjectThreadFeed for project thread feeds
  • useProjectTaskBoardItem for task detail, history, and filesystem
  • useAgentThreadConversation for live thread messages, execution, and streaming
  • useActorMcpServers for actor-scoped MCP connections
See also:
  • /guides/ai-agents/frontend-api-runtime-routes