connectors
Skill8.2k starsChanged 58 days agoApache-2.0View on GitHub
Walks a developer through connectors end to end - the terms, turning them on in the router, connecting an account, giving an agent a connector's tools (one app account or each user's own), a channel such as the Slack bot, and what to check when something stays silent. Read before you connect a connector to an agent, set one up locally or on staging, or debug one.
- Reads credentials
- Installs packages
- Commits and pushes
7 other projects use a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Panza-Labs/floorbosstheir own version, first seen Nov 29, 2026
- microsoft/ignite26-PREL40their own version, first seen Nov 22, 2026
- stacksyncdata/skillstheir own version, first seen Oct 20, 2026
- autonomous-ai/lampOStheir own version, first seen Oct 15, 2026
- microsoft/rayfintheir own version, first seen Oct 13, 2026
- autonomous-ai/autonomous-ostheir own version, first seen Mar 30, 2026
Who's talking about GetStream/Agents
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.404 → 0.6.405”GitHub · Nov 30, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.403 → 0.6.404”GitHub · Nov 30, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.402 → 0.6.403”GitHub · Nov 29, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.399 → 0.6.402”GitHub · Nov 27, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.7.1 → 0.6.399”GitHub · Nov 27, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub (8 times).
On GitHub · 8
- Nov 30, 2026agent-skills.github.getstream.agents: 0.6.404 → 0.6.405 — sudosubin/agents.nix0 reactions
- Nov 30, 2026agent-skills.github.getstream.agents: 0.6.403 → 0.6.404 — sudosubin/agents.nix0 reactions
- Nov 29, 2026agent-skills.github.getstream.agents: 0.6.402 → 0.6.403 — sudosubin/agents.nix0 reactions
- Nov 27, 2026agent-skills.github.getstream.agents: 0.6.399 → 0.6.402 — sudosubin/agents.nix0 reactions
- Nov 27, 2026agent-skills.github.getstream.agents: 0.7.1 → 0.6.399 — sudosubin/agents.nix0 reactions
3 more on GitHub
- Nov 25, 2026fix: retain 7 reviewed references that left discovery (Nov 25) — tekvisions/voice-index0 reactions
- Nov 24, 2026agent-skills.github.getstream.agents: 0.7.0 → 0.7.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026agent-skills.github.getstream.agents: init at 0.7.0 — sudosubin/agents.nix0 reactions
Used with
Projects with it also use claude-buddy, face-enroll and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
autonomous-aiSkillclaude-buddy
Coordinate with the Claude Buddy companion (Claude Desktop + Claude Code on the user's Mac) — voice-approve tool permission prompts and stay aware of Claude activity.
Also in 3 projects that use this
autonomous-aiSkillface-enroll
Manage the device's face recognition roster — enroll new faces (3 paths: user-supplied photo, agent-captured snapshot on user request, or HAL's familiar-stranger prompt) and maintain the enrolled set (status / remove / reset). All enrolled persons are friends; strangers stay unnamed until promoted via one of the enroll flows.
Also in 3 projects that use this
- +10 more from autonomous-ai
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- microsoft/rayfin★ 646same name
- autonomous-ai/autonomous-os★ 593same name
- autonomous-ai/lampOS★ 593same name
- autonomous-ai/Physical-AI-Operating-System★ 593same name
- microsoft/ignite26-PREL40★ 3same name
- Panza-Labs/floorboss★ 2same name
- stacksyncdata/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/python.mdcCursor rule
- pr-reviewSkill
- typesafe-aiSkill
- vgpuSkill
- accelerate-sales-engineerSkill
- add-connectorSkill
- check_pricesSkill
- cliSkill
- commitSkill
- dashboardSkill
- decision_modelSkill
- deploySkill
- docsSkill
- generative-uiSkill
- good_morningSkill
- goSkill
- go-testingSkill
- integrate_new_modelsSkill
- llm-interfaceSkill
- loop_performance_benchSkill
- migrate-to-accelerateSkill
- new_modelsSkill
- paginationSkill
- parallel-agentsSkill
- performance_benchmarkSkill
- phonecheckSkill
- pricingSkill
- prospect-competitor-researchSkill
- provider_auditSkill
- prSkill
- querySkill
- refresh_model_statsSkill
- router-detectionSkill
- router-interfaceSkill
- router-llmSkill
- router-searchSkill
- router-stsSkill
- router-sttSkill
- router-ttsSkill
- scheduled-tasksSkill
- sdk-dartSkill
- sdk-dotnetSkill
- sdk-goSkill
- sdk-jsSkill
- sdk-kotlinSkill
- sdk-phpSkill
- sdk-rubySkill
- sdk-rustSkill
- sdkSkill
- sdk-swiftSkill
- securitySkill
- sttSkill
- telnyxSkill
- ttsSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 2 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 78
Only a connector whose manifest has an api_base takes direct calls.
- Very specific: line 94
Every other built-in, linear included, is MCP-only: a direct call answers 400 «connector "linear" has no api_base endpoint».
- Very specific: line 101
Read the callback URL: GET /v1/agents/connectors/linear_app, field redirect_uri.
- Very specific: line 105
Create a linear_app connection and run its OAuth consent as for any connector.
- Very specific: line 152
Test it in Playground. For a session binding the end user may have no connection yet.
- Very specific: line 253
Before each run a new credential revision updates the secret.
- Very specific: line 276
Read-only under the proxy broker (code_sandbox.broker: proxy): code in the sandbox reads a granted host and writes through the connector's …
- Very specific: line 327
Every router with this broker serves the proxy too, so it also needs ROUTER_CODE_SANDBOX_PROXY_ADDR and ROUTER_CODE_SANDBOX_PROXY_CA_KEY.
- Very specific: line 351
Before any code runs, the router writes the bundle: the image's own roots and that CA.
- Distinctive: line 388
A Slack app: Create it. In OAuth & Permissions › Redirect URLs, add the router's redirect URI.
- Very specific: line 423
Check the router log first (docker compose logs -f router locally).
- Distinctive: line 437
Every tool call is listed under the connection's Invocations.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Connectors
A connector lets an agent call tools at a provider (GitHub, Linear, Slack) with an account that someone connected. The router keeps the credential sealed and adds it to each call. The agent's own code never sees a token.
Connectors replaced plugins. The router refuses a config naming plugins, plugin_events or
mcp_servers and opens none a stored config still names.
To add a new connector to the catalog, read the add-connector skill.
Terms
One word, one meaning. The full table is in acceleration/internal/connectors/core/AGENTS.md.
| Term | What it is | Example |
| connector | One provider the router can reach. Built-in, or the app's own (custom_…) | linear, slack_bot, custom_demo_deepwiki |
| connection | One account at one connector, owned by the app or by one end user | the app's GitHub token; Ann's Linear login |
| binding | What one agent config may use from one connector: which connection and which tools | connectors[] on the agent config |
fixed | The binding always uses one app connection | the support bot reads one GitHub org |
session | The binding uses the connection of the session's verified end user | each user files Linear issues as themselves |
| provider app | The app the customer has at the provider, for a connector that receives messages | a Slack app with its signing secret |
connector (linear)
└── connection (Ann's Linear login, owner: user ann)
▲
binding on agent config "support": name linear, connection.type session, tools [list_issues]1. Turn connectors on in the router
| Setting | Why |
ROUTER_CONNECTORS_ENABLED=true | Off by default |
ROUTER_DEV_KEK on a laptop or in CI; ROUTER_AUTH_KMS_KEY + ROUTER_AUTH_KEK_V<n>_WRAPPED (+ ROUTER_AUTH_KEK_VERSION) on a hosted router | Seals the credentials. The router refuses to start without it when connectors are on, and refuses ROUTER_DEV_KEK beside a KMS setting. Changing it makes stored credentials unreadable. README, «The key encryption key in Cloud KMS» |
ROUTER_PUBLIC_URL | The provider sends the browser back to <ROUTER_PUBLIC_URL>/v1/agents/connectors/oauth/callback. The dashboard shows this redirect URI on each OAuth connector |
DASHBOARD_BASE_URL | The consent popup reports back only to this origin, unless the consent was started with a return_url (createAuthorization's, or for a login or step-up the chat asks for, the session's own from createSession), which then replaces it. Unset, a consent without one reports to the wrong place and the dashboard waits forever |
ROUTER_CORS_ORIGINS | The dashboard origin, when the browser calls the router directly |
<ENV>_MCP_CLIENT_ID, <ENV>_MCP_CLIENT_SECRET | Stream's own OAuth client for a connector whose manifest lists operator (for example SLACK_MCP_CLIENT_ID for slack, SLACK_BOT_MCP_CLIENT_ID for slack_bot). Without it, the app must set its own client |
Full list: acceleration/README.md, «Configuration». Local setup: the dashboard skill.
Restart the router after a change.
2. Connect an account
In the Volt dashboard: Library › Connectors. It has two tabs.
- Connectors: the catalog. Open a connector to see its auth, scopes and redirect URI. For an OAuth connector that needs the app's own client, set OAuth client (client id and secret, write-only). New connector adds a custom MCP server.
- Connections: New connection. Pick the connector, the owner (the app, or an end user id) and the auth: OAuth opens a consent popup; a bearer token or API key is typed in. Validate checks the credential at the provider.
The same with the API (operations in acceleration/api/openapi.yaml):
| Step | Operation |
| The catalog | GET /v1/agents/connectors |
| The app's own OAuth client | PUT /v1/agents/connectors/{id}/oauth-client |
| A custom MCP connector | POST /v1/agents/connectors (id starts with custom_) |
| A connection | POST /v1/agents/connections (connector_id, owner, auth_scheme) |
| OAuth consent | POST /v1/agents/connections/{id}/authorizations → open launch_url in a popup |
| A token or key | PUT /v1/agents/connections/{id}/credentials |
| Check it | POST /v1/agents/connections/{id}/validate, then GET /v1/agents/connections/{id}/tools |
Direct calls from your backend
Your backend can call the provider's own API with a connection's credential:
/v1/agents/connections/{id}/proxy/<path> sends <path> under the connector's api_base.
Only a connector whose manifest has an api_base takes direct calls.
| Built-in | api_base | Example path |
github (revision 4) | https://api.github.com | repos/octo/hello/issues |
slack_bot (revision 5) | https://slack.com/api | chat.postMessage |
linear_app (revision 1) | https://api.linear.app | graphql (POST a GraphQL body) |
A provider's Link header (RFC 8288) that names a URL under api_base, such as GitHub's
rel="next" page, comes back naming the same path and query under this connection's proxy
URL (ROUTER_PUBLIC_URL + /v1/agents/connections/{id}/proxy), so a client that follows it,
Octokit's paginate included, stays on the proxy. URLs in a body (url, comments_url) still
name https://api.github.com: never send the router's credential there; call their path
through the proxy. With ROUTER_PUBLIC_URL unset the router has no proxy URL to name, so it drops every
Link (fail closed): a connection then loses GitHub's pagination until the URL is set.
Every other built-in, linear included, is MCP-only: a direct call answers 400 «connector
"linear" has no api_base endpoint». Why Linear has none is in linear.yaml.
For Linear's GraphQL API, connect linear_app («Linear (own OAuth app)») instead. It signs in
with your own Linear OAuth app, and its token serves both the GraphQL API and Linear's MCP
tools:
- Read the callback URL:
GET /v1/agents/connectors/linear_app, fieldredirect_uri. - In Linear, create an OAuth app at https://linear.app/settings/api/applications/new with that callback URL.
- Give the router its client id and secret:
PUT /v1/agents/connectors/linear_app/oauth-client. - Create a
linear_appconnection and run its OAuth consent as for any connector.
Gong needs its tech admin first. In Gong: Admin center › Settings › MCP (under Ecosystem) › MCP
servers › New MCP server integration
(Gong's guide).
Set the redirect URI to the connector's redirect_uri, and the registration type to
Automatic for dcr (Manual issues your own client id and secret; the type cannot be changed later). Until then Gong refuses every consent with
unauthorized_client, «This MCP client is not authorized for your company». The connection
stays pending, and its last validation says why.
A linear connection stays as it is; it does not move to linear_app. A connection keeps
the revision it was made on, so a github connection made before revision 4 takes direct calls
only after its next consent or token save.
3. Give an agent the tools
Dashboard: open the agent › Tools › Connectors › Add connector.
- Pick the connector.
- Under Whose account, choose One app connection (
fixed) or Each user’s own (session). The list then shows «App connection<name>» or «Each user’s own account». - Connect lists the connection's tools. Tick the ones the agent may call. There is no wildcard: a tool that is not ticked is never offered.
- Save.
The agent sees each tool as <binding name>__<tool>, for example github__get_me.
github (revision 5) offers GitHub's Actions tools beside its default ones: actions_list,
actions_get, actions_run_trigger and get_job_logs. The manifest asks for them with the
X-MCP-Toolsets: default,actions header. A binding's tools still narrows them: a tool that is
not granted is never offered. A connection made before revision 5 lists them after its next
consent or token save.
With the API, the binding goes in connectors[] of the agent config
(AgentConnectorBinding):
{
"name": "linear",
"connector_id": "linear",
"connection": {"type": "session"},
"tools": [{"name": "list_issues"}]
}A fixed binding names connection.connection_id and pins each tool's schema_digest.
A session binding may grant a tool by name alone.
Test it in Playground. For a session binding the end user may have no connection yet.
The call then waits for them to sign in on its own ai_tool_call step, which is
awaiting_authorization and carries an authorization with the provider, title, url,
handoff_token and expires_at. The reply also carries a connector_authorization card, which
the dashboard renders. Connect opens the consent popup, and once they consent the same call
runs in the same reply. A tool_approval with only the tool_call_id and allowed: false
declines it, and a consent that is refused, fails or is not finished in ten minutes ends it.
Either way the model is told, and nothing runs. A native app opens
url#handoff_token=<handoff_token> in its web authentication sheet, with its own scheme as the
session's return_url. On iOS that is StreamChatAI's AIToolAuthorizationView, which
examples/voice_agents/swift_assistant uses for Gmail and Linear. A spoken turn on a call has
no reply to show it on, so by voice the binding answers that it is not available.
require_approval: ["create_issue", "delete_*"] on a binding holds each call of a tool it names
until the session's user allows it. The call's step is awaiting_approval, addressed to them, and
nothing reaches the provider before they answer with tool_approval (tool_call_id, the reply's
request_id, allowed), on their socket or their backend's. Declined, or not answered in ten
minutes, the call is not sent and the model is told. A session with nobody to ask (incognito, a
run, a shared chat, an MCP event's) refuses the call at once. In a channel of a type
chat_channels names, the call asks the writer of the message the reply answers, who answers
with their own user token through POST /v1/agents/conversations/{cid}/tool_approvals while a
member of the channel; the backend may answer any (api/conversations.go, AI-3154). There the
writer has two minutes, not ten, when the Router opened the session for the message, as it does
unless a session opened through the API answers in the channel: it answers one message for at
most two minutes (askTimeout, api/messagehooks.go) and then closes that session, which stops
the call, and an answer after that is a 404 (answerHosted, api/threadhooks.go). The model gets
no round to say why, so the reply ends with a line that the approval expired, that the step
waiting did not run (an earlier call of the reply may have), and that the person can ask again, and the step says "Not allowed in time" (ExpireApprovals, conversation/parts.go, AI-3302). An entry must match a tool the
binding grants, and sandbox: true is refused beside it (session/connector_approval.go).
Beside a sensitive connector (Nessy), a binding's write tool needs require_approval: the
config is refused unless each tool it grants only reads (read_only_tools) or is held, and a
tool_patterns binding needs an entry such as * that matches each pattern as written
(api/configs.go, sensitiveBindingsComplaint). In agent.yaml it is require_approval: on
the connector entry. Tools a caller declares at createSession are not checked. The caller runs
them, or a person's device does (executor: client). The router sends a client tool's
arguments to the caller on the events socket (api/sessionws.go). Every channel member can
also read them in the conversation's tool part, but only when they are 512 bytes or fewer
(conversation/parts.go, maxClientArguments) (AI-1642). If one of them
sends data on to anyone else, declare it with approval. On a voice call the router then asks
the user and sends the call only on yes. In text the router does not ask: the caller's client
must wait for tool_approval before it runs the tool.
For a session your backend creates, pass the end user's connection in
connector_bindings: [{"name": "linear", "connection_id": "…"}]. Leave it out and the
router uses the user's only connected connection to that connector, if there is exactly one.
agent.yaml: the sync API accepts connectors, and the Go SDK folder reader reads the block
(sdks/go/agents/config.go, connectorBindings). An entry whose connection: the app does not have
is left out with a warning, and the rest of the agent syncs; required: true makes it an error. sandbox: true lets code in the session's sandbox call the connector's API with the binding's connection.
The left-out entries go to the router as left_out_connectors and are served on the agent config.
Other SDKs: unverified, check git grep connectors sdks/js/src plugins/stream before relying on it.
Sandbox access
A binding with sandbox: true, on a config with sandbox: daytona, lets run_code call the
connector's API. Code reads a placeholder (dtn_secret_…) from the env var the manifest's
sandbox.env names, such as GITHUB_TOKEN, and sends it as Authorization: Bearer $GITHUB_TOKEN
over HTTPS to a host in sandbox.hosts. Daytona's egress swaps it for the token there
(https://www.daytona.io/docs/en/secrets.md); code never reads the token.
- With the Daytona broker, the router needs
ROUTER_CODE_SANDBOX_SECRET_PREFIX(stgon staging; lowercase letters and digits only, so one router's sweep never matches another's); without it a session with such a binding is refused. Each session's secret isva_<prefix>_<session>_<binding>_<8 hex>. - A prefix belongs to one deployment (one Redis), and
stgis never used locally: routers that share a prefix delete each other's secrets. - With the Daytona broker, the grant's hosts join the sandbox's domain allow list; a config with
network: trueor anetwork_allow_listkeeps its own. - A connection saved before its connector had a
sandboxblock (GitHub revision 5) gives the sandbox nothing, with a WARN «reconnect to use sandbox access»; arequiredbinding refuses the session. Where a later revision has the block, everyrun_coderesult says to ask the user to reconnect, which takes effect from the next session (Result.Reconnect). - Google Drive has a block from revision 5 (
GOOGLE_DRIVE_TOKEN, hostwww.googleapis.com; AI-1958), so its connections of revisions 2-4 give the sandbox nothing until reconnected. Its token carriesdrive.file, so code can also create files and change files the app opened. AsessionDrive binding of a user with no connection gets a late grant (below). - Linear has a block on
linear_appfrom revision 2 (LINEAR_ACCESS_TOKEN, hostsapi.linear.appanduploads.linear.app; AI-2082): code sendsAuthorization: Bearer $LINEAR_ACCESS_TOKEN, and under the proxy broker a POST to/graphqlpasses only with queries; a mutation gets 403. Its connections of revision 1 give the sandbox nothing until reconnected.linear(DCR) has no block: its token, issued formcp.linear.app, gets 401 fromapi.linear.app/graphql(probe 2026-10-27). - BigQuery has a block from revision 4 (
BIGQUERY_TOKEN, hostbigquery.googleapis.com; AI-2114): code reads with GETs and with jobs.query (client.query_and_wait), and under the proxy broker a POST to/bigquery/v2/projects/*/queriespasses only when BigQuery's dry run of it saysSELECT; a script, DML, DDL,EXPORT DATAand jobs.insert (client.query()) get 403. Its connections of revisions 1-3 give the sandbox nothing until reconnected. - A
sessionbinding whose user has not connected yet, in a chat they can log in in, gets a late grant: the env var is there from the start, built from the connector's latestsandboxblock, and a request with it gets a 401 (the proxy's «gives no token», or the host's own under Daytona).run_code's description tells the model to call<alias>__list_tools, which shows the consent card and waits. In a chat the run itself shows the card too, holding nothing, one open consent per binding; the session reads the connection every 3 s and carries on once it connects (AI-1982). Until the user has logged in, everyrun_coderesult adds a line that says so, whatever the code did: if the code needed the binding (a 401 from the grant's hosts), call<alias>__list_tools(Result.Unconnected). Once the user consents, the next run binds the grant: at once behind the proxy, within 18 to 24 s as a Daytona secret, whose run that binds it says to wait 20 s on a 401 (Result.Connected; a run the login finished during says it too). A login on a connection whose revision has nosandboxblock, or another env var or hosts, binds nothing: every run after it says to ask the user to reconnect, which takes effect from the next session (Result.Reconnect). A required binding still refuses the session, and a voice session gets no grant. - Before each run a new credential revision updates the secret; a connection that needs a
reconnect, or was deleted, withdraws it, and so does a binding the agent config dropped, no
longer marks
sandbox, or binds to another connector or connection (AI-1686, as the tool recheck refuses a call). A withdrawn grant stays withdrawn for the session, even when the binding is put back; the next session gets it. The proxy broker also checks the binding on every request, so the placeholder stops at once; it costs one agent config read per request. The Daytona broker withdraws a grant by puttingva_withdrawnin its secret, which it deletes at Close: deleted, the placeholder left in the env var got 502 «could not reach upstream host», which code cannot tell from the host failing; now the request reaches the host without a token, and GitHub answers 401 (live probe, 2026-10-29, AI-1876). Daytona refuses a request that carries a placeholder it does not substitute (another host, the query, another session's): 502 «could not reach upstream host». - Daytona substitutes
Authorization: Basic <placeholder>andBasic user:<placeholder>to a granted host when the value is not Base64-encoded (live Basic-auth check, staging 2026-10-21). It also substitutes inside a Base64-encoded Basic header, which is how git sends it (live staging E2E, 2026-10-22, session01a16514-923c-7843-9214-40a94453f194:git ls-remoteof a public repo withAuthorization: Basic b64(x-access-token:$GITHUB_TOKEN)exited 0, with a fake placeholder it got 502). Daytona's docs say it does not («Transformed placeholders»); the live result wins. - Git over HTTPS under both brokers:
run_codetells the modelgit clone https://x-access-token:$GITHUB_TOKEN@github.com/<owner>/<repo>.git. Shown live under Daytona:git ls-remoteof a public repo withx-access-token:<placeholder>as Basic auth (see above).unverifiedunder Daytona:git clone(upload-pack POST),git push(receive-pack), a private repo, a user name other thanx-access-token. The proxy broker's tests cover its clone (brokertestA15) and refuse its push. - Read-only under the proxy broker (
code_sandbox.broker: proxy): code in the sandbox reads a granted host and writes through the connector's tools. A request to a granted host that is not a GET or a HEAD gets 403 «… refused: code in the sandbox only reads through a connector; write with the connector's tools», unless the connector's latestsandbox.readslists it (GitHub revision 8:POST github.com/<owner>/<repo>.git/git-upload-pack, so clone and fetch work; push is refused). A read withgraphql: truetakes a POST whose every GraphQL operation is a query (GitHub revision 9:POST api.github.com/graphql, sogh's queries work and its mutations get the 403). A read withsql: truetakes a POST whose dry run the host says is one SELECT (BigQuery revision 4: jobs.query). A read withlfs: truetakes a POST to the LFS batch path whose operation isdownload(GitHub revision 11), sogit lfs pullworks andgit lfs pushgets the 403 at its first request,locks/verify. A refusal under/info/lfs/is an LFS error ({"message": ...}, the LFS media type), so git-lfs prints the hint after its own «Authentication error:» (git-lfs 3.3.0 and 3.8.1 against a fake, AI-2876). Daytona's default image has no git-lfs: give the configsandbox_options.setup: ["apt-get update && apt-get install -y git-lfs"]. A config withsetupand noimagebuilds on Debian slim (sdk.DebianSlim,internal/sandbox/daytona/daytona.go), which has no apt lists, so a bareapt-get installfinds no package. With it,git lfs pullof a public repository read its objects through the proxy (staging, 2026-11-05, AI-2066). Connections pinned to an earlier revision get the reads without a reconnect. Allowed domains take any method. Under the Daytona broker nothing checks methods: code can write with the token (internal/sandbox/egress/AGENTS.md, «Read-only»). GitHub refuses the token asAuthorization: Bearerfrom git (401 togit-receive-pack, probe 2026-10-22T03:53:09Z; Basicx-access-token:<token>was taken), sorun_code's description gives git the URL form. GitHub revision 7 grants github.com (AI-1576); a connection on revision 6 keeps its two API hosts until it is reconnected. sandbox: truelets the code call every API the token's scopes allow, outside the binding's tool grants, the connector limiter and the audit. That is intended; under the proxy broker the code only reads (above).- Known limit (A5, accepted for GitHub): Daytona scrubs only the token's literal value. A granted host that echoes the token escaped or encoded would hand it to the sandbox. Wave 14's proxy broker closes it.
- Known limit (any header, AI-1976, accepted): Daytona substitutes the placeholder in any request
header to a granted host, not only
Authorization(https://www.daytona.io/docs/en/secrets.md, «Substitution scope»; the live suite sends it inX-Probe). The proxy broker substitutes only inAuthorization(internal/sandbox/egress/AGENTS.md, step 5). A granted host that echoes that header would hand the token to the sandbox. - Known limit (Daytona lag): after the router withdraws a secret (connection deleted or needs a reconnect), Daytona keeps substituting it for a while. The withdrawal is an update, which takes effect within 15 seconds (https://www.daytona.io/docs/en/secrets.md); a live probe on 2026-10-29 saw the token gone within 8 s (a delete, before AI-1876, took 16 to 24 s). Wave 14's proxy broker resolves per request and stops substituting at once.
- Known limit: a router crash, or a Close that Daytona refuses, leaves the secret (a live token) and maybe the sandbox at Daytona until the sweep (w15-sweep, AI-1577) removes it. A Close that times out behind a running run deletes the secret (or the proxy's record) at once; the sandbox stays.
- A provider's error text never reaches a log or an error: both brokers log the error's class
(
sandbox.ErrorClass), and a required grant fails withsandbox.ErrNoCredentialor the class. ROUTER_CODE_SANDBOX_BROKER=proxyuses the router's egress proxy (internal/sandbox/egress) instead of Daytona Secrets. It needs Redis,ROUTER_CODE_SANDBOX_PROXY_PUBLIC_URL(the proxy as a sandbox reaches it,http://<public IPv4 address>:port: no path, query, user, or private, loopback or link-local address) andROUTER_CODE_SANDBOX_PROXY_CA_CERT. Every router with this broker serves the proxy too, so it also needsROUTER_CODE_SANDBOX_PROXY_ADDRandROUTER_CODE_SANDBOX_PROXY_CA_KEY; without them it does not start. A host name, an IPv6 address or a non-public address in the public URL also stops the start. It needs no secret prefix.- An
httpsROUTER_CODE_SANDBOX_PROXY_PUBLIC_URLruns a TLS tunnel in the sandbox (internal/sandbox/egress/AGENTS.md): the proxy env vars name127.0.0.1:3128, and the image needspython3. - How egress is forced: Daytona's network allow list holds the proxy's address alone
(
<address>/32). Daytona gets no domain allow list and noOutboundProxyUrl. The sandbox then reaches the proxy and, of Daytona's own network, only the netleash gateway (172.20.0.1:18080, which answers 403 without anOutboundProxyUrl), by TCP or UDP, and TLS passes as it is (live probe and CIDR probe, 2026-10-22). Either Daytona setting brings in its netleash. Under a domain allow list, netleash ends TLS itself and refuses the proxy's certificate for a granted host (staging E2E, 2026-10-22:tls: bad certificate). - Behind the proxy, the sandbox gets a placeholder (
va_ph_…) in the env var. Every command and run of code gets the proxy and the CA in its env, since netleash replaces the env vars a sandbox is created with, but not those of one command or run (live probes, 2026-10-21):HTTPS_PROXY,HTTP_PROXY,https_proxyandhttp_proxyarehttp://sbx:<credential>@<proxy address>:<port>;NO_PROXYandno_proxyarelocalhost,127.0.0.1,::1;SSL_CERT_FILE,REQUESTS_CA_BUNDLE,CURL_CA_BUNDLEandGIT_SSL_CAINFOname/tmp/va-egress-ca-bundle.pem, andNODE_EXTRA_CA_CERTSnames the proxy's CA certificate,/tmp/va-egress-ca.pem;GIT_HTTP_PROXY_AUTHMETHOD=basic: git sends the proxy credential on its firstCONNECTinstead of waiting for a 407 (git-config(1),http.proxyAuthMethod: https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpproxyAuthMethod). Before any code runs, the router writes the bundle: the image's own roots and that CA. Daytona's image is Debian 13, whose roots are/etc/ssl/certs/ca-certificates.crt(live probe, 2026-10-21). An image with no roots file runs no code. The proxy puts the token in place of the placeholder inAuthorization(Bearer,token, or Basic), so git works too:git push https://x-access-token:$GITHUB_TOKEN@github.com/<owner>/<repo>.git. The pushed content is never rewritten: a file holding the placeholder arrives with it (A15,brokertest).
- DNS behind the proxy: the sandbox has none. The proxy looks up each host. A client that does not read the proxy env vars (a raw socket, a DNS lookup) reaches nothing. Plain HTTP through the proxy is refused.
- The proxy does one of three things with a
CONNECT:- a host a grant covers: it ends TLS with its own CA and puts the token in;
- a host of
allowed_domainsonly: it sends the bytes on as they are, with no token, and reads none of them; - any other host, a non-public address or a port other than 443: it refuses.
A host both cover is a grant's. A config with
network: trueand noallowed_domains, or with anetwork_allow_list, is refused when a session with a sandbox grant starts: the proxy reaches hosts by name only.
- Known limit (accepted, Kanat 2026-10-22): the sandbox's proxy credential is in the env of every command and run, so sandbox code can read it and send it out to a granted host or an allowed domain. It is a proxy credential, never a token. It is the sandbox's own, it expires with the sandbox's record, and it reaches only the sandbox's grants and allowed domains.
- Sandbox code has root (
sudowith no password, live probe 2026-10-21). No control inside the sandbox protects anything: code can change its env, its CA files and its routes. The controls are the token, which stays in the router; Daytona's network allow list, which lets the sandbox reach the proxy alone (a route change as root: unverified); and the proxy's grant check. - A connection the proxy cannot get a token for just now (a provider outage) keeps its grant; a
connection that needs a reconnect gives the sandbox nothing, and refuses a
requiredbinding. - Revocation through the proxy is immediate: it resolves the token on every request and keeps no copy. A deleted or disconnected connection fails the next request.
go test -tags daytona_live -run TestLiveSuite ./internal/sandbox/daytonaruns the attacks against Daytona withDAYTONA_API_KEYand canary values.
4. A channel: the Slack bot
slack_bot also receives messages. Someone mentions the bot in Slack, and the agent answers
in the thread. It needs more than tools:
- A Slack app. Create it. In OAuth & Permissions › Redirect URLs, add the router's redirect URI. Do not set the Request URL yet.
- The app's client in the router.
PUT /v1/agents/connectors/slack_bot/oauth-clientwith the client id, secret,provider_app_idandsigning_secret(dashboard: Library › Connectors › Slack bot › OAuth client). Do this before the next step: Slack checks the Request URL at once, and the router must already hold the signing secret. Then, in the Slack app's Event Subscriptions, set the Request URL to<ROUTER_PUBLIC_URL>/v1/connectors/events/slack_bot/<slack app id>. - A connection. New connection › Slack bot › install the app into the workspace.
- One live agent per connection. Bind it
fixedon exactly one agent config. With two, the bridge does not know which agent answers. Stream Chat delivery. A Slack message is answered with no Stream Chat delivery: the bridge worker reads it from the events route (
internal/channelbridge/AGENTS.md). Delivery matters only for text written straight into the thread channel: Stream Chat deliversmessage.newto this router (POST /v1/chat/internal/messages, signed with a key inchat.inbound_keys). The router points no message hook any more: not when a provider app is put, not throughPUT …/oauth-client, not throughgo run ./cmd/phone hooks(it writes the call hook only). The old route/v1/chat/hooks/streamis still served for one release, as a way back. A local router behind a tunnel gets no Chat text written into a thread channel from a shared shard's app: Stream Chat delivers to the one router its shard names. Test a direct write on a router the shard delivers to, or a Stream app on a shard that delivers to yours. The Slack reply itself needs no such router.An app that an older router pointed keeps its message hook until someone drops it:
go run ./cmd/phone hooks -url <ROUTER_PUBLIC_URL> -remove <ROUTER_PUBLIC_URL> [-app <stream app id>]drops the call and the message hook of that base and keeps the call hook of the running router (-removealone drops the call hook too),hooksalone lists what is left. Hooks are one setting for the whole Stream app: look first, and change only your own. In the dashboard they are under Chat › Settings › Webhooks.- Test with a mention typed by hand. A message posted through another Slack app (an
MCP tool, a script) carries
app_id, and the bot skips it on purpose, so bots never answer each other.
5. When it does not work
Check the router log first (docker compose logs -f router locally).
| What you see | Cause | Fix |
GET /v1/agents/connections?owner_type=user lists every user's connections instead of one user's, or the browser console says a header is not allowed | The router got no X-Stream-User-Id, which lists every user's. A proxy or gateway in front dropped it | Forward the header for a server-side caller |
| The consent popup finishes, the dashboard keeps waiting | DASHBOARD_BASE_URL is unset or another origin | Set it to the dashboard origin |
| «no OAuth client available» on consent | No Stream client (<ENV>_MCP_CLIENT_ID) and no app client | Set one of them |
| 409 «Another customer's record already names this provider app» | That Slack app is registered to another customer on this router | Use another Slack app, or remove the old record |
A 401 on /v1/connectors/events/… with the text api_key is required | The gateway in front does not allow the route. The router's own refusal is a different body: it checks the provider's signature | Allowlist the events routes on the gateway |
| A message written straight into the thread channel gets no reply (a Slack message does not need delivery: step 4.5). The router you expect logs nothing, and the router the hook points at logs «an arriving message's channel names a config nobody in its app holds» | Stream Chat delivers the app's messages to another router (the shard's AGENTS_ROUTER_URL), or an old message hook of the app still points at one | Delivery goes to the router the shard names (step 4.5); drop an old message hook with phone hooks -remove. Also check that two configs do not bind the connection, and, for a Slack message, that the mention did not come from an app (steps 4.4, 4.6) |
A session binding opens with no tools | The user has no connected connection, or the caller is not a verified end user | Connect from Playground; check the user header |
| Validate says failed | The provider refused the credential | Replace the token, or Reconnect for OAuth |
The consent fails, and the connection's last validation has code connector_consent_refused with unauthorized_client | The provider does not let this client sign in for the organization. For Gong, its tech admin has not added the router as an MCP integration | An admin at the provider allows the client with the router's redirect URI (for Gong, see step 2), then consent again |
Every tool call is listed under the connection's Invocations. Every grant, refresh and revoke is under its Audit.
Where the code is
| Path | What |
acceleration/internal/connectors/ | The connector core, schemes, resolver, built-in manifests. Each package has an AGENTS.md |
acceleration/internal/api/connectors.go, connections.go, connector_events.go | The API |
acceleration/internal/channelbridge/ | Inbound messages from a channel to an agent, and the reply |
acceleration/internal/session/connector_tools.go | Bindings turned into tools for one session |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

