On this page
Connectors: Claude / Codex / DeepSeek / Keragi (agix)
Last updated: 2026-11-12
A connector lets you talk in Keragi to an AI client running on a trusted host. It is not a cloud bot: it reuses the Claude / Codex / DeepSeek client already installed and signed in on that host.
Where it runs: the connector runs on a trusted host chosen by the operator, not necessarily your personal computer. In the current deployment the approval page can only be opened on the connector host (or an allowlisted address); for a remote host, open it through an SSH tunnel/VPN.
Device pairing
Connectors support device pairing: approve a device with a short local code (or key plus code), and issue or revoke a credential per device. Operators can require paired devices only.
See connector device pairing for GUI, headless, revoke and machine-switch steps.
Pairing decides which device may use the connector; it does not replace per-action approvals.
1. Prerequisites
- The operator enabled connector capability (
capabilities.connector: true). - The operator declared the provider (for example Claude or Codex), or you use your own connector.
- The machine running the connector has the matching client installed and signed in.
- Your account has connector execution permission.
If any of these is missing you may see provider unavailable, connector offline or no permission.
Keragi (agix) vs a local client
Keragi (agix) is the platform’s built-in AI service, not a CLI installed on the connector host. When the operator deploys agix on the same server as the connector, Keragi (agix) appears under that connector’s group.
| Item | Claude / Codex / DeepSeek | Keragi (agix) |
|---|---|---|
| Runs on | A local client on the connector host | An agix service on the same or a reachable host |
| Model key | The local client’s sign-in or environment | Connector .env key first; otherwise the subaccount’s own key; then the parent account’s key |
| Files and tools | Can read the connector workspace | Does not access the connector host filesystem |
| Best for | Local development and existing subscriptions | One shared AI service, usually without a key per subaccount |
Boundary: for a bound subaccount, the key order is connector deployment
.env→ subaccount → parent account. If none exists, the connector posts an explicit no model key configured notice rather than a sign-in error. A deployment shared key belongs to the operator and is subject to deployment policy. Connector replies are ordinary messages, outside E2EE. Co-location does not give agix host shell or file access.
2. When the main server hosts no public connector
The main server does not have to host a connector; it can provide only accounts, messaging and AI. You can still add your own connector:
- Open Settings → Connectors.
- Click Add connector, then enter a name and the full connector URL (for example
https://conn.example.com). - Set it as the default connector if needed.
- Complete authorization on the connector host when you start the first conversation.
| Requirement | Detail |
|---|---|
| Browser reachability | Your browser must reach the connector directly; it is not enough for the main server to reach it |
| HTTPS | An HTTPS page blocks plain http://192.168.x.x LAN addresses; use an HTTPS reverse proxy/tunnel, or run it on localhost |
| Cross-origin access | The connector must allow the current site origin (CORS and approval origin) |
| Account permission | A main-server administrator must grant connector permission; sign in again after the change |
Boundary: a private connector runs on the machine you choose and uses that machine’s files and AI-client permissions. The main server only handles identity and messaging; it does not host or manage your connector.
3. Start a conversation
There are two entry points:
| Entry | Behavior |
|---|---|
| Connect (Contacts) → Claude / Codex / DeepSeek | Opens the most recent conversation for that provider; creates one if none exists |
| Messages → New conversation → Claude / Codex / DeepSeek | Always creates a new conversation |
On first use, if the connector is not authorised yet, a waiting for local confirmation banner and an authorization link appear above the conversation.
4. Complete local authorization
- On the machine running the connector, open the authorization link shown above the conversation.
- Review the conversation information and click Confirm (allow).
- Return to the Keragi conversation and refresh; the state should become active and you can send messages.
Notes:
- The authorization link usually only works on the machine running the connector.
非法 Originmeans the access address is not on the server allowlist; ask the operator to add the current origin and retry.- Restarting the server clears pending authorizations, so start the action again.
5. Confirmations during use
Depending on the deployment configuration, the connector may require confirmation on its host. This applies mainly to resident-session creation and tool steps; one-shot execution can behave differently:
- The page indicates that a step is waiting for confirmation.
- Open the link, review the action and choose allow or deny.
- If denied, the step does not run; ask the AI to try another approach.
If the operator uses automatic mode, you may not be prompted for each step; some backends do not support per-step approval. Execution permission should still be granted only to trusted accounts.
6. Troubleshooting
Provider unavailable The provider is not enabled on the server, or the connector machine does not have the client installed/signed in. Contact the operator.
Connector offline The connector machine is off, asleep or unreachable. Bring it online and reopen the conversation.
Stuck at waiting for local confirmation Authorization is not complete. Make sure you opened the link on the connector machine and clicked Confirm, then refresh.
No execution permission Your account lacks connector execution permission. Ask an administrator to adjust it.
No reply Confirm the connector is online and authorised, then check whether the local AI client works normally.
7. Safety
- A connector can perform actions on the machine you authorize; do not share the account with untrusted people.
- Review delete, overwrite, commit and push actions carefully.
- Do not paste passwords, keys or private keys into the conversation.
- If you no longer need the connector, the operator can disable the provider or revoke permission.