AgentAPI has init() process latency issue