Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
import { useContext } from 'react'
import { AgentChatActionsContext } from './context'
import type { AgentChatActionsContextValue } from './types'
export function useAgentChatActionsContext(): AgentChatActionsContextValue {
const ctx = useContext(AgentChatActionsContext)
if (!ctx)
throw new Error('useAgentChatActionsContext must be used within AgentChatActionsProvider')
return ctx
}