local-gh-dev
Skill11k starsChanged 2 months agoMITView on GitHub
Run the Open SWE dashboard locally against real GitHub data, signed in with the `gh` CLI instead of a per-machine GitHub App. Use when asked to run the app locally, test a dashboard change against real PRs, reproduce something a screenshot shows, or when local login fails with "GITHUB_APP_CLIENT_ID not configured".
- Reads credentials
Trending
Quiet since October.about the whole repository
Who's talking about langchain-ai/open-swe
- @alexiskirke.bsky.social“I stumbled upon this excellent GitHub project about building safe, automated coding agents for internal …”Bluesky · Mar 21, 2026 · 6 likes
- copilot-coding-agent/user-feedback“Support for go mod operations against private repositories”GitHub · Sep 4, 2025 · 5 reactions
- A Hacker News story“An Open-Source Asynchronous Coding Agent”Hacker News · Aug 6, 2025 · 5 points
- @ai-nerd.bsky.social“Stripe, Coinbase, and Ramp all built internal coding agents independently and converged on the same …”Bluesky · Mar 19, 2026 · 3 likes
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 langchain-ai / open-swe ⭐ 5,813 (+454) 🗒 Python An Open-Source …”Bluesky · Mar 19, 2026 · 3 likes
The biggest 5 of 48 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 48
Talked about on GitHub, Bluesky and Hacker News (48 times).
On GitHub · 35
- Sep 4, 2025Support for go mod operations against private repositories — copilot-coding-agent/user-feedback5 reactions · 2 comments
- Mar 21, 2026feat: Support plugin system in opencli — jackwener/OpenCLI1 reaction · 1 comment
- Mar 19, 2026chore(vendor): add open-swe submodule — pleaseai/agent-please1 reaction · 3 comments
- Mar 18, 2026Implement all development tasks required by ADR for SWE agent integration — abuxton/pheromone1 reaction
- Mar 18, 2026review SWE as ADR for integration — abuxton/pheromone1 reaction
30 more on GitHub
- Oct 12, 2025Integrate open swe — wafflestudio/retrochat1 reaction
- Oct 6, 2026agent-skills.github.langchain-ai.open-swe: 0.2.13 → 0.3.0 — sudosubin/agents.nix0 reactions
- Oct 5, 2026fix(core): expose branded class type for provider declarations — langchain-ai/langchainjs0 reactions · 2 comments
- Oct 3, 2026agent-skills.github.langchain-ai.open-swe: 0.2.11 → 0.2.13 — sudosubin/agents.nix0 reactions
- Oct 3, 2026ci: allow deps-dev scope in PR titles — langchain-ai/langchainjs0 reactions · 1 comment
- Sep 29, 2026agent-skills.github.langchain-ai.open-swe: init at 0.2.11 — sudosubin/agents.nix0 reactions
- Sep 25, 2026chore(infra): drop held mcp-adapters 2.0 changeset to unblock main releases — langchain-ai/langchainjs0 reactions · 1 comment
- Sep 24, 2026wiki: bulk update 2026-09-24 — wikicommit/ai-driven-dev-wiki0 reactions
- Sep 24, 2026wiki: bulk update 2026-09-24 — wikicommit/ai-driven-dev-wiki0 reactions
- Sep 22, 2026feat(openai,anthropic): update provider sdks, add new model compat — langchain-ai/langchainjs0 reactions · 2 comments
- Sep 22, 2026wiki: bulk update 2026-09-22 — wikicommit/ai-driven-dev-wiki0 reactions
- Sep 18, 2026ci: link generated openwiki pull request — langchain-ai/openwiki0 reactions · 1 comment
- Sep 11, 2026model routing spike — langchain-ai/deepagents0 reactions · 2 comments
- Sep 4, 2026feat: add automated Open SWE Desktop cask updates — langchain-ai/homebrew-tap0 reactions
- Jul 27, 2026OpenSwe research — vikramsg/dotfiles0 reactions · 5 comments
- Jul 12, 2026Create wiki-open-swe-template for sandboxed coding agents with semantic Wiki validation — wazootech/wiki-templates0 reactions
- Jun 3, 2026[Add] Open SWE (langchain-ai/open-swe) — PyTorchKR/landscape0 reactions
- Mar 21, 2026🤖 AI 트렌드 리포트 - 2026-03-21 13:26 KST — leaf468/autothreads0 reactions
- Mar 21, 2026📱 SNS 콘텐츠 - 2026-03-21 13:26 KST — leaf468/autothreads0 reactions
- Mar 20, 2026📱 SNS 콘텐츠 - 2026-03-20 23:42 KST — leaf468/autothreads0 reactions
- Mar 20, 2026🤖 AI 트렌드 리포트 - 2026-03-20 23:42 KST — leaf468/autothreads0 reactions
- Mar 20, 2026📱 SNS 콘텐츠 - 2026-03-20 15:57 KST — leaf468/autothreads0 reactions
- Mar 20, 2026🤖 AI 트렌드 리포트 - 2026-03-20 15:57 KST — leaf468/autothreads0 reactions
- Mar 20, 2026📈 Bản tin xu hướng AI mã nguồn mở 2026-03-20 — compasify/agents-radar0 reactions
- Mar 18, 2026https://github.com/langchain-ai/open-swe/pull/1073 — yuvarajcloud/sep-ansible0 reactions
- Mar 18, 2026📱 SNS 콘텐츠 - 2026-03-18 22:15 KST — leaf468/autothreads0 reactions
- Mar 18, 2026🤖 AI 트렌드 리포트 - 2026-03-18 22:15 KST — leaf468/autothreads0 reactions
- Aug 16, 2025Convert project to Maestro — ahmedmayestro77/test0 reactions
- Aug 14, 2025[Suggestion] Temporal + Claude Code sample — temporal-community/code-exchange0 reactions
- Aug 10, 2025Design Negotiation Skills Training App Architecture — MaciejReimann/negotiator0 reactions · 1 comment
On Bluesky · 9
- Mar 21, 2026I stumbled upon this excellent GitHub project about building safe, automated coding agents for internal tools - with sandboxing,… — @alexiskirke.bsky.social6 likes and reposts · 3 replies
- Mar 19, 2026Stripe, Coinbase, and Ramp all built internal coding agents independently and converged on the same architecture, LangChain packaged those… — @ai-nerd.bsky.social3 likes and reposts
- Mar 19, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 langchain-ai / open-swe ⭐ 5,813 (+454) 🗒 Python An Open-Source Asynchronous Coding Agent — @github-trending.bsky.social3 likes and reposts · 1 reply
- Mar 20, 2026https://github.com/langchain-ai/open-swe — @tom-doerr.bsky.social2 likes and reposts
- Mar 21, 2026Anybody played with open-swe yet ? github.com/langchain-ai... — @0xmeow.bsky.social1 likes and repost
4 more on Bluesky
- Mar 20, 2026今日のGitHubトレンド langchain-ai/open-swe 組織内のコーディングエージェントを構築するためのオープンソースフレームワークです。 SlackbotやCLIなど、社内システムと連携し、安全な環境で自動的にPR作成を行うエージェントを構築できます。… — @dailygithubtrends.bsky.social1 likes and repost
- Mar 18, 2026今日のGitHubトレンド langchain-ai/open-swe 組織内のコーディングエージェントを構築するためのオープンソースフレームワークです。 SlackbotやCLIなど、社内システムと連携し、安全な環境で自動的にPR作成を行うエージェントを構築できます。… — @dailygithubtrends.bsky.social1 likes and repost
- Aug 11, 2025GitHub CopilotはAIがコードを提案してくれるツールらしい。コーディングのスピードアップに役立つかもしれない。 yug1224 starred langchain-ai/open-swe https://github.com/langchain-ai/open-swe — @yug1224.com1 likes and repost
- Aug 11, 2025ほう。LangChainから。 — @matsuu.bsky.social1 likes and repost
On Hacker News · 4
- Aug 6, 2025An Open-Source Asynchronous Coding Agent5 points
- Aug 7, 2025OpenSWE: Open Source Devin alternative2 points
- Mar 18, 2026OpenSWE1 point
- May 29, 2025Open SWE is an open-source cloud based coding agent1 point
In this repository12 other files it gives its agents.
- agent/middleware/AGENTS.mdAGENTS.md
- agent/sandboxes/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- agent/tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- baby-sitSkill
- html-artifactsSkill
- linear-ticketsSkill
- workspacesSkill
- bootstrap-repo-analysisSkill
- continual-learningSkill
- writing-pr-body-title-descriptionSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Check the ports. The backend wants 2024 and Vite wants 3000:
- Very specific: line 28
Make sure .env has these. The GitHub App keys are *not* needed.
- Very specific: line 41
Start the backend. make dev covers this when 2024 is free and you want its postgres container.
- Distinctive: line 48
Start Vite against it:
- Very specific: line 141
Use the ego-browser skill — it drives a real browser and keeps the session cookie.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Local dashboard on real GitHub data
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. gh already holds one, so local development
needs no GitHub App: /dashboard/api/auth/dev-login turns gh's credentials into a
session. It is refused unless langgraph dev is the runtime, and the
ALLOWED_GITHUB_USERS gate still applies.
Start it
- Confirm
ghis logged in.gh auth status— if not,gh auth login. Check the ports. The backend wants 2024 and Vite wants 3000:
lsof -nP -iTCP:3000,2024 -sTCP:LISTENOther worktrees run their own backends and E2E harnesses on 2024. Never kill one without asking. Use another port instead and point Vite at it — every command below takes
PORTfor exactly that reason.Make sure
.envhas these. The GitHub App keys are not needed; these are:Key Why DASHBOARD_JWT_SECRETsigns the session; any random string ALLOWED_GITHUB_USERSyour gh api user --jq .loginPOSTGRES_URIskips the container step when one is already up DASHBOARD_BASE_URLhttp://localhost:3000DASHBOARD_API_BASE_URLhttp://localhost:3000Startup aborts with
ALLOWED_GITHUB_ORGS or ALLOWED_GITHUB_USERS must be configuredwhen the allowlist is missing.Start the backend.
make devcovers this when 2024 is free and you want its postgres container; otherwise run it directly:uv run langgraph dev --no-browser --port 2026 --n-jobs-per-worker 10Start Vite against it:
DASHBOARD_API_URL=http://127.0.0.1:2026 pnpm run dev- Open
http://localhost:3000and press Continue with GitHub. With no App configured it redirects to theghlogin and lands you signed in. To skip the page, go straight to/dashboard/api/auth/dev-login?redirect_to=/agents/reviews.
Postgres
make dev starts an open-swe-postgres container unless POSTGRES_URI is set, and
fails with a name conflict when another worktree already started one. Reuse it:
docker ps --filter name=open-swe-postgres --format '{{.Names}} {{.Status}} {{.Ports}}'It binds 127.0.0.1:5433, so POSTGRES_URI=postgresql://postgres:postgres@127.0.0.1:5433/postgres.
The App token, and why gh covers it
Code paths that want an App installation token rather than the caller's — a published
review and its diff, inline review comments, the reviewer trigger — fall back to the
gh CLI's token under langgraph dev (agent/github/app.py::_local_dev_token). So
they work locally, and 503 GitHub App token unavailable means gh is logged out,
not that the feature needs an App.
The fallback is gated on the runtime being langgraph dev, so it never widens a
deployed installation's reach. That gate is why a standalone script cannot trigger
agent work: uv run python -c "...trigger_re_review(...)" fails with No GitHub App
token available, because dev_login_enabled() is false outside the server. Drive
those paths over HTTP instead (below).
Running a real agent
Agent and reviewer runs work locally against real models and real sandboxes. Nothing is stubbed; runs cost money and take minutes.
.envneeds a model key —ANTHROPIC_API_KEYorOPENAI_API_KEY. With both set,DEFAULT_MODEL_IDresolves to the OpenAI model; with only Anthropic, to Claude.- Set
SANDBOX_TYPE=local.langsmithsandboxes cannot work from a laptop: the run PATCHes a proxy config whosematch_hostsis the hostname of yourDASHBOARD_API_BASE_URL, and the sandbox API rejectslocalhostwith a bare422 unknownwhose body never reaches the log. It fails inPrepareReviewerRunMiddleware.before_agent, so the agent never starts and the review settles with zero findings — which reads exactly like a model that chose to say nothing. Either uselocal, or expose the dashboard on a real hostname (make tunnel, see docs/DEVELOPMENT.md) before usinglangsmith. Get a session cookie, then post the trigger. Mutations are CSRF-checked against
DASHBOARD_BASE_URL, so send a matchingOrigin— without it you get403 CSRF check failed:curl -sS -c /tmp/osw.txt -o /dev/null 'http://127.0.0.1:2026/dashboard/api/auth/dev-login?redirect_to=/review' curl -sS -b /tmp/osw.txt -X POST -H 'Origin: http://localhost:3000' \ http://127.0.0.1:2026/dashboard/api/reviews/OWNER/REPO/NUMBER/re-reviewA
{"success": true, "thread_id": "..."}means the run is queued, not finished.Watch it in the backend log. The run is minutes long and the failures worth catching are sandbox provisioning and model auth, so grep for both rather than only for the tool you care about:
tail -f logs/backend.log | grep -E --line-buffered "sandbox|Traceback|error_detail=[^N]|publish_review"Reviewer output lands where the dashboard reads it — findings in reviewer thread metadata, guidance points in
pull_request_guidance. Check the table directly when a page looks empty, to tell "the agent recorded nothing" apart from "the read path is broken":docker exec open-swe-postgres psql -U postgres -d postgres \ -c "SELECT kind, author, summary FROM open_swe.pull_request_guidance"
A local checkout has never run an agent, so no thread carries the messages that code
reading a PR's human turns looks for. scripts/seed_local_author_guidance.py writes them
into one thread's checkpoint and links it to a real PR.
Two traps when writing thread state by hand. update_state refuses a thread with no
graph_id, normally set by its first run — set it yourself with threads.update. And
messages appends, so an empty list clears nothing and the server will not coerce a
RemoveMessage arriving as state; re-seeding means deleting the thread and recreating it.
Checking a page
Use the ego-browser skill — it drives a real browser and keeps the session cookie.
curl gets a 401 or the login redirect, because it has no session.
Measure rather than eyeball when the question is about layout or density:
await page.evaluate(() => {
const r = (e) => e && e.getBoundingClientRect()
return { viewport: [innerWidth, innerHeight], first: r(document.querySelector('li')) }
})Rebuilding after a change
Vite hot-reloads ui/src. Python changes need the backend restarted — langgraph dev
watches files, but a failed import leaves it down, so check it came back:
curl -sS -o /dev/null -w '%{http_code}\n' http://127.0.0.1:2026/dashboard/api/me401 is healthy: the server is up and asking for a session. 000 means it is down —
read the backend log.
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.

