Skip to main content
Use the Developer API when you want an application to talk to the personal agent that runs on your computer. To call a voice agent by its Studio agent ID, use the platform API.

Choose where the request runs

Set EIGI_AGENT_BASE_URL to the whole base URL from the table and EIGI_AGENT_KEY to the matching key in your environment. Both surfaces accept it in the Bearer header. First check the connection without starting a chat.
Look for eigi-agent in data[].id. Then send a first turn.
Read output_text and keep the response id. To continue, send the next input and that ID as previous_response_id. Stored response IDs are held in the running engine’s memory. Restarting it or evicting an older response can make an ID unavailable.

Use an existing OpenAI client

Chat Completions normally expects the client to send its message history. For a continuing chat, send a stable X-Eigi-Session-Id per conversation and supply only the new turn. Use separate IDs for different users and conversations. Both generation endpoints support stream: true for server-sent events. The agent processes text and uses its own configured tools and model settings. If the request fails, first check that your URL and credential come from the same column above. A connection refusal on Desktop usually means the engine is stopped or the address has changed. For a hosted request, confirm the computer is running, the API is enabled, and the API key belongs to its owner. A missing response ID can be recovered by starting a new request with the context your app saved.