Install the skills
Run these commands in your voice agent’s repository. Select your coding agent when the installer asks where to install them.integrate-egma and write-egma-tests.
You also need Node.js 22 or newer and the Egma CLI:
egma login --url with its URL. See CLI setup.
Connect your agent
Ask your coding agent to useintegrate-egma:
await simulation(agent, ctx, session) in the worker, including tests without mocks. Set the worker’s EGMA_URL and project-scoped EGMA_API_KEY. For production monitoring, also call monitor(ctx) at the start of the job entrypoint and deploy the worker before checking for conversations in Egma.
Write tests from your code
After the repository is connected, ask your coding agent to usewrite-egma-tests:
egma/tests/. Each test describes one situation and the behaviors you expect. It can also include tool responses and the data your agent needs at startup.
Review the scenarios, expected behaviors, tool names, and mock responses before running them. A tool that has no mock uses its real implementation. See Mock tool responses for the setup and failure behavior.