Run Robin on your machine: the backend and the dashboard on http://localhost:2024, with GitHub and Slack webhooks arriving through a tunnel.
Deploying it for a team is the installation guide.
- Python 3.14+ and uv
- LangGraph CLI (installed by
uv sync --extra dev) - Node 26+ and pnpm for the dashboard
- Rust (
cargo, e.g. via rustup):make dev-mdabuilds themdaCLI from the Managed Deep Agents SDK commitmda/pins (vendor/README.md) - A free ngrok account, so GitHub and Slack can reach your local backend (step 3)
- A Slack workspace where you may create apps, and a GitHub account or organization where you may create a GitHub App
git clone https://github.com/langchain-ai/open-swe.git
cd open-swe
uv venv
source .venv/bin/activate
uv sync --all-extrasFollow Create a GitHub App in the installation guide with these values, and install it on the repositories you want to test against:
- Callback URL:
http://localhost:2024/dashboard/api/auth/callback. This is where GitHub sends the browser after "Sign in with GitHub" on your local dashboard. - Webhook URL: your MDA deployment's
<deployment-url>/channels/github/events, whichmda deploysets, or leave the webhook off (untick Active) if you only start runs from the dashboard. The deployment's GitHub channel routes each delivery and calls your backend through the tunnel from step 3 (OPEN_SWE_BACKEND_URL); GitHub cannot deliver tolocalhost.
Use a name of your own (GitHub App names are unique), and give it a distinct mention handle (OPEN_SWE_MENTION_TAGS) if a shared deployment already answers to @robin-agent (or a legacy alias) in the same repositories.
Always run an ngrok tunnel when starting Robin locally. GitHub and Slack need a public HTTPS hostname that stays the same across restarts, and so does LangSmith's sandbox proxy, which asks the backend for a sandbox's GitHub credentials as its commands call GitHub. Reuse an existing tunnel and its exact configured domain, forwarding to the active backend (normally localhost:2024). If no tunnel is running, recover the domain from configuration or prior local runtime notes in the primary checkout before starting one; an automatically assigned hostname will not match existing webhook settings.
For a first-time setup, the free ngrok plan gives you a static domain:
-
Sign up at dashboard.ngrok.com and install the agent (
brew install ngrok, or the download the dashboard offers). -
Connect the agent to your account with the
ngrok config add-authtoken …command shown under Getting Started → Your Authtoken. -
Under Domains, claim the free static domain. It looks like
<name>.ngrok-free.dev. -
Start the tunnel and leave it running while you develop:
make tunnel NGROK_DOMAIN=<name>.ngrok-free.dev # or export NGROK_DOMAIN once in your shell
make tunnel runs ngrok http 2024 on that domain with examples/ngrok/webhooks-only.yml as its traffic policy, so only routes that check their own credentials are reachable from the internet: /webhooks/* (signed by GitHub and Slack), /dashboard/api/sandbox-proxy-callback (signed by LangSmith) and /dashboard/api/sandbox-tools/* (a sandbox's capability).
That restriction is not optional.
Under langgraph dev the LangGraph API itself (/threads, /runs, /assistants, /store, …) has no authentication at all: the dashboard API checks its session cookie and the webhook endpoints check their signatures, but anyone who can reach port 2024 can read and create threads and runs.
A tunnel that forwards the whole port publishes exactly that.
Everything except the webhooks stays on http://localhost:2024, where you keep opening the dashboard.
Check the policy once the backend is up (step 6): curl https://<name>.ngrok-free.dev/webhooks/slack answers {"status":"ok", …} from the backend, while /ok gets ngrok's own 404.
Without the tunnel and SANDBOX_PUBLIC_BASE_URL (step 5), sandboxes get no proxy callback: their commands reach GitHub without credentials, and there is no tool channel.
Preserve the existing webhook traffic policy.
For local Slack OAuth, also preserve the callback relay: requests to /dashboard/api/slack/callback on the ngrok domain must redirect to http://localhost:2024/dashboard/api/slack/callback with the complete query string intact.
The stock webhooks-only policy blocks this path, so reuse the local policy containing that redirect when Slack OAuth is configured.
The callback is a redirect to localhost; dashboard pages and API routes must remain inaccessible through the tunnel.
Slack delivers events to one URL per app, so a local backend needs its own Slack app rather than the one a shared deployment uses.
Follow Create the Slack app in the installation guide with your ngrok domain from step 3, <name>.ngrok-free.dev, as <your-url> (the manifest supplies the https://), and give it a name that says it is yours, for example robin-<you>; the bot's handle follows from it.
Copy the four values it lists into .env in the next step.
Slack checks the events Request URL against a running backend.
If you create the app before make dev is up, open Event Subscriptions afterwards and press Retry.
The same applies whenever you change SLACK_SIGNING_SECRET: restart the backend, then Retry.
Create .env in the repository root; langgraph dev loads it.
LANGSMITH_API_KEY="" # LangSmith → Settings → API Keys; also used for sandboxes and trace links
LANGSMITH_TRACING="true" # trace runs to LangSmith
LANGSMITH_PROJECT="" # optional project for traces and "View trace" links; default "default"
LANGSMITH_GATEWAY_API_KEY="" # LangSmith key with gateway:invoke; provider keys live in workspace Provider Secrets
GITHUB_APP_ID="" # step 2
GITHUB_APP_CLIENT_ID=""
GITHUB_APP_CLIENT_SECRET=""
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----" # one double-quoted line, \n between the PEM lines
GITHUB_APP_INSTALLATION_ID=""
DISABLE_ROBIN_APPROVES="true"
ALLOWED_GITHUB_USERS="" # your GitHub login; required unless ALLOWED_GITHUB_ORGS is set
SLACK_BOT_TOKEN="" # step 4: OAuth & Permissions → Bot User OAuth Token (xoxb-...)
SLACK_SIGNING_SECRET="" # Basic Information → App Credentials
SLACK_BOT_USER_ID="" # the bot's member id (bot profile → ⋮ → Copy member ID)
SLACK_BOT_USERNAME="" # the bot's handle, e.g. robin_you
SLACK_PUBLIC_BASE_URL="https://<name>.ngrok-free.dev" # your existing domain from step 3; used by Slack OAuth and the admin manifest
SANDBOX_PUBLIC_BASE_URL="https://<name>.ngrok-free.dev" # the same domain; LangSmith's sandbox proxy calls back there for GitHub credentials
TOKEN_ENCRYPTION_KEY="" # openssl rand -base64 32 (encrypts stored GitHub and Slack tokens)
DASHBOARD_JWT_SECRET="" # openssl rand -hex 32 (signs the session cookie and OAuth state)
CONFIGURED_ADMINS="" # your GitHub login or email; admins see the Admin pages
POSTGRES_URI="" # local dev defaults to localhost:5433; set this to use another database
MDA_RUNTIME_URL="http://localhost:2025" # `make dev-mda`; the backend refuses to start without it
REMOTE_RUNTIME_TOKEN_SECRET="" # openssl rand -hex 32 (signs the run tokens Managed Deep Agents calls back with)Every Robin thread runs its model loop on Managed Deep Agents, from the project in mda/.
Locally that is make dev-mda on port 2025, which reads its own mda/.env: set OPEN_SWE_BACKEND_URL=http://localhost:2024 there, plus LANGSMITH_API_KEY and the same model key as above (mda/README.md).
LANGGRAPH_URL defaults to http://localhost:2024, and DASHBOARD_BASE_URL / DASHBOARD_API_BASE_URL default to it, so none of the three is needed locally.
Keep them on localhost when setting SLACK_PUBLIC_BASE_URL and SANDBOX_PUBLIC_BASE_URL to the tunnel.
Model calls require a LangSmith Gateway credential (LANGSMITH_GATEWAY_API_KEY, falling back to LANGSMITH_API_KEY) with gateway:invoke.
Direct provider keys are not used.
How the running model is chosen is covered in the same section.
Linear, if you use it, comes from the Linear section of the installation guide, with your ngrok domain as the URL.
Robin needs a PostgreSQL database for its own tables, and langgraph dev does not provide one: it keeps LangGraph's threads and Store in memory, so the platform's Postgres is not there locally.
In LangGraph's local_dev runtime, Robin defaults POSTGRES_URI to postgresql://postgres:postgres@127.0.0.1:5433/postgres; make dev and make dev-ui run the matching postgres:16 container named open-swe-postgres when no explicit value is set.
Docker Compose binds the container to loopback only and keeps its data in the open-swe-postgres volume, so stopping or removing the container preserves your local users, integration bindings, and settings.
make postgres starts it on its own; use docker compose down to stop it.
Set POSTGRES_URI to skip the container and use any database you can create schemas in — see Analytics storage for what startup migrations create there, including the repository, user, and integration-binding tables.
With a database, every thread created from then on is also recorded into the append-only transcript event log and its LangGraph metadata is stamped transcript: v2.
The dashboard reads recorded threads from this log by default for everyone.
Threads with agent turns from before recording started are never recorded and always read LangGraph state.
TEST_ANALYTICS_POSTGRES_URI is the same thing for the test suite, and only for it: the tests that exercise those tables migrate one template database per test process, clone a throwaway database from it for each test, and drop both afterwards.
The role therefore needs CREATEDB; the postgres superuser of a throwaway container is simplest (docker run -d -p 5439:5432 -e POSTGRES_PASSWORD=postgres postgres:16, then postgresql+asyncpg://postgres:postgres@localhost:5439/postgres), or grant it with ALTER ROLE <user> CREATEDB.
Use a separate server from the one make dev uses.
Unset, every such test skips rather than fails, so a run without it proves less than it appears to; CI sets it, so a regression in that code is caught there either way.
make dev refuses to start while something else listens on port 2024, and names the process.
When switching worktrees, stop the previous backend gracefully and wait for it to release port 2024 before starting the replacement.
Prepare the worktree state before startup.
make build-dashboard # pnpm install + Vite build into ui/.output/public
make dev # langgraph dev on http://localhost:2024, serving the API and the dashboard (starts the Postgres container first)
make dev-mda # in a second terminal: Managed Deep Agents on http://localhost:2025, where every Robin thread runslanggraph dev serves the graphs, the FastAPI app, and the dashboard build together on port 2024.
The bundled UI is a static build, so rebuild it when you pull UI changes, or skip make build-dashboard if you only need webhooks and the API.
It reloads on code changes only: after editing .env, restart it.
Working on the UI? Have the backend front the Vite dev server instead of serving a build:
make dev-ui # Vite on :3000, the backend on :2024, and MDA on :2025, in one terminalmake dev-ui runs make web, make dev, and make dev-mda side by side, the backend with DASHBOARD_DEV_SERVER_URL=http://localhost:3000; Ctrl-C stops all three.
Do not also start make dev-mda in another terminal; the individual targets remain available for running services separately.
Open http://localhost:2024 as usual: the page, its modules, and hot module replacement come from Vite, while /dashboard/api/* and the LangGraph routes stay with the backend.
Nothing else changes, because the browser never leaves port 2024.
The HMR WebSocket connects straight to Vite's port; the UI's Vite config points the client there.
| Endpoint | Purpose |
|---|---|
/ |
Dashboard |
POST /webhooks/slack, POST /webhooks/slack/interactivity |
Slack events and Block Kit interactions |
POST /mda/channel-api/{endpoint} |
The MDA deployment's channels asking for what needs Robin's data (runtime_api.linear, runtime_api.github) |
GET /dashboard/api/auth/login, GET /dashboard/api/auth/callback |
GitHub login |
/dashboard/api/* |
Dashboard API |
GET /ok, GET /health |
Health checks |
make runserves the FastAPI app alone with uvicorn on port 8000, without the LangGraph runtime. Nothing that creates runs works there; usemake dev.
Before reporting readiness, verify /ok on localhost, open the dashboard in a browser, and check tunnel forwarding and the OAuth callback redirect.
A healthy /ok does not mean the UI is ready: make dev needs a dashboard build or a running Vite server to serve it.
Dashboard.
Open http://localhost:2024, click Sign in with GitHub, and you should land logged in.
With your login in CONFIGURED_ADMINS, the Administration pages appear.
Set Admin → Defaults → Default repository, then start a task from the composer.
Slack.
With the tunnel running and the Request URL verified, invite your bot to a channel and mention it: @robin_you what's in the repo?.
It replies in a thread; ngrok's inspector at http://localhost:4040 shows the event arriving.
GitHub.
With the tunnel running and the App's webhook pointed at it, comment @robin-agent what files are in this repo? on an issue in a repository where the App is installed.
Within a few seconds you should see a 👀 reaction, a run in your LangSmith project, and a reply comment.
GitHub-triggered runs act as the commenting user, so that account has to have signed in to your local dashboard once.
The App's Advanced tab lists every delivery and its response, and ngrok's inspector at http://localhost:4040 shows what arrived.
Use Defaults (/settings) for global behavior and sandbox configuration, and Integrations (/admin/integrations) to bind repositories and configure listening Slack channels and their per-channel instructions.
Bindings do not select different execution settings; see Defaults, routing, and sandbox images.
Channel name rules.
Add one under Integrations with Start listening → Channels named…; see channel name rules.
A rule's kickoff run is dispatched straight from the Slack webhook on the main agent graph, so make dev or make dev-ui is all that is needed.
Record the worktree, process IDs, fixed tunnel domain, and state location in ignored logs/local-dev/ notes in the primary checkout so the next session can reuse them.
swagger.json is the generated OpenAPI 3.1 schema for the custom FastAPI backend (openswe.webapp:app).
Import it into an OpenAPI 3.1-compatible viewer.
After local setup, make run serves interactive documentation at http://localhost:8000/docs and the live schema at /openapi.json; this server does not include the LangGraph runtime or support creating runs.
Regenerate the checked-in schema with make swagger after changing backend routes or models.
The checked-in file can lag the running backend; use its live schema when inspecting deployed routes.
Some request/response schemas and authentication requirements are not yet documented.
LangGraph runtime endpoints such as /runs, /threads, and /assistants are not included.
langgraph dev persists local threads, checkpoints, and Store data under .langgraph_api in its working directory.
Preserve existing local data when moving development to a new worktree unless you want a clean start.
The repository's .worktreeinclude includes the root .langgraph_api directory.
Local Codex-managed worktrees copy matching ignored files when they are created.
Stop the source backend gracefully so it flushes persistence, and back up its state before creating the worktree.
This is a snapshot, not ongoing synchronization.
Codex skips source symlinks and preserves files already present in the destination.
Create the worktree from the primary checkout containing the actual state directory.
For worktrees created with git worktree add, or when the source is a symlink, copy the stopped primary checkout's entire .langgraph_api directory manually, including hidden files.
Preserve any existing destination state rather than overwriting it automatically.
For one continuous local instance across worktrees, link .langgraph_api to the primary checkout's state directory instead of copying it.
Only one backend may use that shared directory at a time; restart from the desired worktree to switch code.
Independently copied state diverges after creation and also retains schedules and integration settings, so avoid running multiple copies against the same live integrations, which can duplicate background work.
Keep state, backups, and environment files ignored by Git.
Reuse the existing local environment, including its token-encryption settings, without printing credentials.
.worktreeinclude copies local state into worktrees; it does not add that state to version control.
The dashboard's per-user reads — the PR list, one PR's details, a PR preview — run on the signed-in person's own OAuth token, and the gh CLI already holds one.
GET /dashboard/api/auth/dev-login stores it and mints the session, so a machine-local GitHub App (step 2) is only needed for the App-backed endpoints.
With no GITHUB_APP_CLIENT_ID configured, Continue with GitHub redirects here on its own; /dashboard/api/auth/dev-login?redirect_to=/agents/reviews skips the page.
It is refused with a 404 outside langgraph dev, which is the only runtime reporting the local_dev API variant, and the ALLOWED_GITHUB_USERS allowlist still applies — set it to your own login.
DASHBOARD_JWT_SECRET signs the session.
What still needs the App, and answers 503 GitHub App token unavailable without one: a published review and its diff, inline review comment reads and writes, and the webhook flows.
The reviews list and each PR's preview read as you, so they work.
The local-gh-dev skill in .claude/skills/ walks through the whole loop, including the port and Postgres conflicts between worktrees.
make dev-ui is the simple way to develop the UI.
Opening Vite on http://localhost:3000 directly also works:
pnpm install # from the repo root: ui/ and desktop/ are one pnpm workspace
make web # Vite on http://localhost:3000, proxying /dashboard/api/* to DASHBOARD_API_URL (default http://localhost:2024)The browser now talks to http://localhost:3000, so the session cookie has to be set on that origin and the login callback has to return there:
DASHBOARD_BASE_URL="http://localhost:3000" # the frontend origin; allowed for the CSRF check and post-login redirects
DASHBOARD_API_BASE_URL="http://localhost:3000" # what browsers use for /dashboard/api/* and the OAuth callbackand the GitHub App needs http://localhost:3000/dashboard/api/auth/callback as an additional callback URL.
Keep both URLs on http:// locally so the cookie is SameSite=Lax.
DASHBOARD_ALLOWED_ORIGINS lists additional origins that may call the API with credentials; credentialed CORS is only enabled when it is set, and * is rejected.
pnpm run dev:prod runs the Vite dev server, hot reload and all, against a deployment instead of a local backend — UI work against real threads, repositories, and settings without running the agent locally.
Put the deployment in .env (step 5's file, gitignored):
DASHBOARD_API_URL=https://your-deployment.example.com # a preview deploy, not productionthen pnpm run dev:prod.
There is no default, because a fallback would be someone else's production.
DASHBOARD_API_URL in the environment overrides the file, and it is the only key read out of .env: the rest of it is the local backend's secrets, which have no business in the environment of a dev server the browser talks to.
The first run opens your browser to sign in.
That leg still runs against the deployment's own registered GitHub callback — nothing changes on the GitHub App, and nothing changes on the deployment.
It is the PKCE loopback handoff the desktop app uses (?desktop_handoff=…&desktop_port=…): the deployment redirects your browser to http://127.0.0.1:<port>/callback with a code that lives 120 seconds, and the script exchanges it at /dashboard/api/auth/desktop/exchange for a session.
That tab then waits for Vite and sends you on to the dev server, so signing in ends where you want to be.
The session lasts a week and is cached in ~/.cache/open-swe/dev-session.json; after that you sign in again.
The dev server then attaches that session to everything it proxies, and presents the deployment's own origin so its CSRF check accepts mutations.
The session is real.
A task started from http://localhost:3000 is a real run on that deployment, and the Admin pages edit its real settings.
pnpm run build, pnpm run typecheck, and pnpm run test run across the workspace through Turborepo (pnpm --filter open-swe-dashboard run <script> scopes one); pnpm run lint (oxlint) and pnpm run format / pnpm run format:check (oxfmt) run once from the root over every JS and TS file.
The shared preview environment is built from LangChain's internal monorepo, where Robin is developed, so pull requests in this repository are not previewed.
Staging follows main and is for post-merge testing.
For local UI iteration against a deployed backend, see Dashboard against a deployed backend.
The Electron app in desktop/ includes the compiled dashboard UI.
Run it next to the backend:
pnpm install # from the repo root
make dev # terminal 1
pnpm run dev:desktop # terminal 2Development connects to http://localhost:2024.
For a hosted backend run pnpm --dir desktop run start -- --backend-url=https://your-backend.example.com or set OPEN_SWE_BACKEND_URL.
pnpm --dir desktop run pack creates an unpacked application and pnpm --dir desktop run dist an installer.
Packaged builds ask for the organization's backend URL on first launch and never default to the maintainers' deployment.
The GitHub App must allow <backend-url>/dashboard/api/auth/callback for desktop login.
The dashboard records three performance spans, in every build, with the same code path locally and in production (ui/src/lib/perf/):
| Span | Starts | Steps | Ends |
|---|---|---|---|
thread_load |
The navigation to /agents/:threadId (or the document's time origin on a full page load, cold=true) |
detail (thread summary, GET /threads/:id), hydrate (SDK state fetch, GET /threads/:id/state), paint |
First frame after the transcript rendered. In the stream view the span stays open until the thread's reads settle (at most 10 s later), so run lookups that answer after the paint still count, and it still ends at that frame. |
thread_list_load |
A sidebar list mounts, its filters change, or a folder opens | data, paint |
After a frame with the list or its error state; scope distinguishes pinned, recents, repositories, and folder, cached distinguishes warm loads, items counts results, and outcome distinguishes success/error. Background refreshes and pagination do not start another span. |
agent_run |
Pressing send (joined=true when the run was started elsewhere, e.g. a queued message) |
accepted, stream_open, first_event, generation_start (first assistant message, so the run is visibly producing thinking or a tool call), first_text (first streamed assistant text) |
The run's streaming phase ends (reason: success, error, interrupt, stopped) |
Each span carries attributes: request time-to-first-byte and the backend's Server-Timing phases for the detail and state requests (detail_srv_thread_get_ms, state_srv_get_state_ms, …), the SDK state read's download after its headers and its parse (state_body_ms, state_parse_ms), the SDK's lookups for a run (running_lookup_1_ms sent with the state read, running_lookup_2_ms after it, pending_lookup_ms), whether the transcript painted from a cache before its read answered (thread_cache_hit), whether the detail came from the sidebar cache, message and chunk counts, time spent in streamMessagesToUi (build_ms), protocol event and text-delta counts, the lag between the server's event timestamp and receipt (lag_avg_ms, includes clock skew, read as a trend), and, in development builds only, React commit time for the transcript while streaming (commit_ms).
Locally.
Spans print to the console in dev builds ([perf] thread_load 812ms — detail 120 · hydrate 640 · paint 812).
Open a thread with ?perf=1 for an overlay listing recent spans with a copy-as-JSON button (?perf=0 hides it again; the flag persists in localStorage).
window.__openSwePerf.spans() and .export() return the same data for scripts and Playwright.
Every span is also a User Timing mark and measure named osw:*, so it appears on the Timings track of the Chrome Performance panel next to long tasks and network requests, which is where to look once a span says what is slow.
Compare cold and warm loads separately (cold, detail_cached), and reload a few times per change: single samples are noisy.
In production.
With Datadog RUM configured, ended spans are sent as custom duration vitals named thread_load, thread_list_load, and agent_run, attributes in the vital context and client (web or desktop) in the global context.
Use @type:vital @vital.name:thread_list_load @context.client:desktop for desktop list loading, and replace the vital name with thread_load for opening an individual thread.
Filter list measurements by @context.outcome:success and compare each @context.scope separately.
thread_load and agent_run carry thread_source, the backend that actually served the thread: transcript (the transcript event log) or stream (the SDK's useStream).
Threads without transcript metadata always use stream, whatever the stored preference.
Use @type:vital @vital.name:thread_load @context.thread_source:stream for useStream loads, and swap in transcript to compare.
Spans completed before RUM finishes initializing are replayed from the bounded local buffer.
Desktop RUM sessions use local storage because the robin://app origin cannot use ordinary browser session cookies; web sessions retain the SDK's cookie default.
Abandoned spans (navigated away, hydration failed) stay local only.
The backend side of the same picture is the Server-Timing header on GET /dashboard/api/threads/{id} and /state (logged as thread state timings) and the open_swe_dashboard_thread_ttft histogram, which measures the same thing as first_text rather than the first token of any kind.
For "how long until the agent answers", read @context.step_generation_start_ms; @context.step_first_text_ms sits after the opening tool calls and is much larger.
Desktop diagnostics. Installed builds keep View → Toggle Developer Tools and add Help → Save Diagnostics Report…, which writes the renderer's recent console output, the main process's warnings, app and OS versions, and the exported perf spans to a text file, with session cookies, bearer tokens and provider keys redacted. Ask users to attach that file to a report.
| Target | What it does |
|---|---|
make dev |
langgraph dev on port 2024: graphs, webhooks, dashboard API, and the bundled dashboard when a build exists |
make dev-mda |
mda dev on port 2025: the Managed Deep Agents runtime every Robin thread runs on |
make mda-cli |
Build the mda CLI from the SDK commit mda/ pins (make dev-mda does it first) |
make dev-ui |
Vite, the backend, and MDA together; the UI hot-reloads on port 2024 |
make web |
The Vite dev server alone on port 3000 |
make build-dashboard |
Installs the dashboard's dependencies and builds it into ui/.output/public |
make tunnel NGROK_DOMAIN=… |
ngrok http 2024 on your static domain, exposing only /webhooks/* |
make run |
The FastAPI app alone on port 8000, no LangGraph runtime |
make desktop |
The Electron app in development, against a backend on port 2024 |
make install |
uv sync --extra dev |
make test [TEST_FILE=tests/…] |
pytest -vvv on tests/ or the given path |
make lint, make format, make format-check |
ruff check and format (format rewrites files) |
make typecheck |
ty check openswe tests |
- The tunnel must be running (
make tunnel) against port 2024, and the URL in GitHub or Slack must be your ngrok domain. Do not swap in a tunnel that forwards the whole port; see step 3. GitHub shows each delivery under the App's Advanced tab; ngrok's inspector athttp://localhost:4040shows what arrived. With the webhooks-only policy, ngrok itself answers 404 for anything outside/webhooks/*, so test with/webhooks/slack, not/ok. - Restart the backend after changing
.env:langgraph devreloads on code changes only, so a newSLACK_SIGNING_SECRETis not picked up until then, and every delivery is rejected asInvalid signaturein the meantime. Slack then needs Retry on its Request URL under Event Subscriptions. - Webhook secrets are required: without
SLACK_SIGNING_SECRET, every request to/webhooks/slackis rejected with 401, and the GitHub and Linear channels' calls are verified withMDA_SERVICE_SECRET, the same value asmda/.env's; the MDA deployment verifies GitHub's and Linear's own signatures.
redirect_uri is not associated with this application: the App must listhttp://localhost:2024/dashboard/api/auth/callback(or the:3000one when you open Vite directly). Add it in the App's settings.- Login redirects but the session does not stick: keep local URLs on
http://so the cookie isSameSite=Lax. DASHBOARD_BASE_URL not configuredon Sign in with Slack or LangSmith: the backend has neither a dashboard build norDASHBOARD_DEV_SERVER_URL, so it does not know where the dashboard is. Runmake build-dashboardor usemake dev-ui.- Admin pages 403: add your GitHub login or email to
CONFIGURED_ADMINS.
- There is no dashboard build: run
make build-dashboard, or usemake dev-ui. - With Vite on port 3000,
curl -i http://localhost:3000/dashboard/api/meshould return the backend's401, not HTML; otherwise exportDASHBOARD_API_URLbeforemake web.
make dev-ui and make web refuse to start when another Vite is still running (Vite is configured with strictPort).
Stop the old one or check lsof -iTCP:3000 -sTCP:LISTEN.
For sandbox, token-encryption, and "agent not responding" problems, see the installation guide's Troubleshooting.