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