Turn on connectors, views and speech
Connectors link agents to hosted MCP servers. Views show an MCP app’s page in the app. Speech turns a person’s voice into text and an agent’s reply into audio. Calls put a chat’s people in a call on LiveKit. Each needs settings in the server’s .env. On gomoe.dev host.ts writes that file on every deploy, so a setting is on when the deploy writes it and off when it does not.
| Feature | On gomoe.dev |
|---|---|
| Connectors | On. Every deploy writes both settings. |
| Views | Off. The deploy writes neither setting. |
| Speech to text | On once /agents/assemblyai/key is in SSM. |
| Speaking | On once /agents/elevenlabs/key is in SSM. |
| Calls | Off until Terraform writes /agents/calls, which no change on main does yet. |
Connectors
Section titled “Connectors”ops/aws-deploy/public-address.ts gives the deploy two settings.
AGENTS_CONNECTORS_DIRis/data/agents-app/connectors, which holds accounts, registered clients and the team’s provider apps.AGENTS_CONNECTORS_ORIGINishttps://gomoe.dev. A person who signs in at a provider comes back tohttps://gomoe.dev/v1/connectors/callback/<key>, and Slack sends events tohttps://gomoe.dev/v1/slack/events/<team id>.
AGENTS_CONNECTOR_PRIVATE_HOSTS is a comma-separated list of host names that the address check lets through although they resolve to a private address. The deploy does not write it, so no connector host on a private address is let through.
Without AGENTS_CONNECTORS_DIR, a request for a connector answers Connectors are off on this server. The API checks these settings at start and stops, naming what is wrong.
A connector’s tool can return a view, which the app shows in a frame. A third party wrote the view, so the server serves it from a socket of its own, at an origin that is not the app’s. Two settings go together, and the API stops at start when only one is set.
AGENTS_FRAME_SOCKETis the Unix socket the API serves views on.AGENTS_FRAME_ORIGINis the origin that socket is published at. It must differ from every origin inAGENTS_PEOPLE_ORIGINS, and the API stops at start when it does not.
host.ts writes neither, and nginx publishes no socket for views, so on gomoe.dev opening a view answers Views are off on this server. Turning views on needs a change to host.ts that writes both settings and an nginx site at an origin of their own. AGENTS_FRAME_TICKET_SEC sets how long a view’s ticket stays valid, 600 seconds by default.
Speech to text
Section titled “Speech to text”Hearing is AssemblyAI’s streaming speech to text, over its v3 WebSocket, for dictation, clips and voice chat (server/speech.ts). It is on once a person puts AssemblyAI’s key in SSM as the SecureString /agents/assemblyai/key and the next deploy runs. The deploy then writes AGENTS_ASSEMBLYAI_KEY and AGENTS_ASSEMBLYAI_URL, wss://streaming.assemblyai.com/v3/ws, into the .env. The two go together, and the API stops at start when only one is set. Without them, speech to text answers that it is not set up.
An AssemblyAI account on a paid plan, with “Opt Out of Data Sharing for Model Improvement Program” turned on under Data Controls, keeps no audio or transcripts from streaming. A clip can be 60 seconds and 10 MB. The API converts WebM recordings with ffmpeg. The host’s first boot, ops/terraform/agents/user-data.sh, installs no ffmpeg, so on gomoe.dev a WebM recording is refused with a message that names it. That was read from the files, not seen.
Speaking
Section titled “Speaking”Agents speak in voice chat through ElevenLabs’s Eleven v4 Turbo, on its Text to Dialogue WebSocket (server/speech.ts). It is on once a person puts ElevenLabs’s key in SSM as the SecureString /agents/elevenlabs/key and the next deploy runs. The deploy then writes AGENTS_ELEVENLABS_KEY and AGENTS_ELEVENLABS_URL, wss://api.elevenlabs.io, into the .env. The address is the origin alone, with no path. The two go together, and the API stops at start when only one is set or the address is not a ws or wss address. Without them, voice chat posts what a person says and the agent’s reply appears in the chat, and the person reads that agents’ voices are not set up. The voices agents use are library voices, which a free ElevenLabs account can’t use through the API, so the account needs a paid plan.
Both keys stay on the server, and no page or computer sees them. No hearing or speaking against the real AssemblyAI or ElevenLabs is recorded. The checks hear and speak through a stand-in, test/fake-speech.ts (.claude/skills/verify-agents/features/voice.md).
Calls run on LiveKit. Each deploy runs LiveKit and Caddy beside the API on the server host, on a network interface of its own, once /agents/calls is in SSM (ops/aws-deploy/calls.ts, ops/aws-deploy/livekit-host.ts). Terraform writes that parameter when it attaches the calls interface, and that Terraform change is not on main, so on gomoe.dev each deploy says calls are off and the API answers that calls are not set up. Once /agents/calls is there, the deploy also needs LiveKit’s key and secret as SecureStrings at /agents/livekit/key and /agents/livekit/secret. Each must be letters and digits only, and the secret at least 32 characters. The deploy stops rather than leave calls off when either is missing or breaks those rules. It then writes AGENTS_LIVEKIT_URL, AGENTS_LIVEKIT_KEY and AGENTS_LIVEKIT_SECRET into the .env.