Commit graph

704 commits

Author SHA1 Message Date
Aran Yogesh
6fc82d9edd
feat: default org to langchain-ai when repo name specified without org (#1099)
* feat: default org to langchain-ai when repo: is used without org prefix

* chore: use SLACK_REPO_OWNER for repo shorthand default org and document in CUSTOMIZATION.md

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2026-03-20 12:05:30 -07:00
Aran Yogesh
150ff6f0c8
fix: allow open-swe to be triggered on any GitHuh branch (#1100)
* fix: allow open-swe to be triggered on any GitHuh branch

* formmatting
2026-03-20 10:53:33 -07:00
Aran Yogesh
ea27978d51
fix: queue Slack follow-up messages instead of interrupting active runs (#1050)
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-19 13:59:25 -07:00
Brace Sproul
352f787989
fix: log all exceptions (#1089) 2026-03-19 10:26:26 -07:00
dependabot[bot]
075e163746
chore(deps): bump pyasn1 in the uv group across 1 directory (#1078)
Bumps the uv group with 1 update in the / directory: [pyasn1](https://github.com/pyasn1/pyasn1).


Updates `pyasn1` from 0.6.2 to 0.6.3
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.3
  dependency-type: indirect
  dependency-group: uv
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 21:40:10 -07:00
dependabot[bot]
64b41b4f8b
chore(deps): bump the uv group across 1 directory with 2 updates (#1031)
Bumps the uv group with 2 updates in the / directory: [cryptography](https://github.com/pyca/cryptography) and [langgraph](https://github.com/langchain-ai/langgraph).


Updates `cryptography` from 46.0.4 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.4...46.0.5)

Updates `langgraph` from 1.0.8 to 1.0.10rc1
- [Release notes](https://github.com/langchain-ai/langgraph/releases)
- [Commits](https://github.com/langchain-ai/langgraph/compare/1.0.8...1.0.10rc1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.5
  dependency-type: direct:production
  dependency-group: uv
- dependency-name: langgraph
  dependency-version: 1.0.10rc1
  dependency-type: direct:production
  dependency-group: uv
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 04:36:43 +00:00
Aran Yogesh
b64d871913
feat: send LangSmith trace URL on run trigger from Slack and Linear (#1057)
* feat: send LangSmith trace URL on run trigger from Slack and Linear

* fix: check LANGSMITH_PROJECT before LANGSMITH_PROJECT_PROD for project name lookup

* fix: pass LangSmith API key explicitly to Client and remove global variable

* Update agent/utils/langsmith.py

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* refactor: move trace notification helpers out of webapp and use env vars for LangSmith URL base

* docs: add LangSmith tenant and project ID env vars to installation guide

* fix: remove unused comment_on_linear_issue import from webapp

* nit: remove lru_cache, make get_langsmith_trace_url sync, and move langsmith import to top level

* Update INSTALLATION.md

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Update INSTALLATION.md

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Update INSTALLATION.md

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-18 12:17:45 -07:00
Brace Sproul
d7d9bc5179
fix: better custom backend support (#1071)
* fix: better custom backend support

* cr
2026-03-17 11:55:36 -07:00
Mason Daugherty
d524e3ba92
chore: add badges and tagline to readme header (#1069)
* Add badges, tagline, and ecosystem links to README header

* Match README header syntax exactly to langchain-ai/langchain repo style

* Apply suggestion from @mdrxy

Co-authored-by: Mason Daugherty <github@mdrxy.com>

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-17 18:25:48 +00:00
Palash Shah
3e64399d13
feat: inject LANGSMITH_AGENT_VERSION metadata into all run creation calls (#1066)
Reads LANGCHAIN_REVISION_ID env var (set by LSD from LANGSMITH_LANGGRAPH_GIT_REF_SHA)
and injects it as LANGSMITH_AGENT_VERSION metadata on every runs.create() call.
This enables the agent_deployments sync job to track which agent version produced each trace.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:49:32 -07:00
Brace Sproul
633d80bf0e
fix: Add back logo to readme (#1068) 2026-03-17 10:41:41 -07:00
Brace Sproul
82e2bcc94b
chore: Update announcement blog post link in README (#1067) 2026-03-17 10:38:51 -07:00
Brace Sproul
226ddde8a6
chore: Update debug log to error log (#1064) 2026-03-16 16:22:00 -07:00
Aran Yogesh
c2af14383b
fix: skip full test suite in sandbox, run only task-related tests (#1058) 2026-03-16 12:05:43 -07:00
Brace Sproul
3e73447920
fix: better docs, github auth (#1055)
* fix: Update github auth methods

* cr
2026-03-11 22:57:56 -08:00
agent-forge-app[bot]
ebfa8eb388
fix: extend Slack repo detection to support space syntax and GitHub URLs (#1046)
`get_slack_repo_config` previously only matched `repo:owner/name` (colon).
Messages using `repo owner/name` (space) or containing a GitHub URL like
`https://github.com/langchain-ai/langgraph-api` fell back to the default
repo. This extends the detection with both patterns — additive, no existing
behavior changed.

Co-authored-by: Forge Agent <forge-agent@anthropic.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 13:33:05 -07:00
agent-forge-app[bot]
d98cd9ddc1
fix: skip no_op injection when PR is committed and user is notified (#1047)
* fix: skip no_op injection when PR is committed and user is notified

- Root cause: ensure_no_empty_msg Branch 1 (empty AI message) lacked the
  same completion checks as Branch 2 (text-only AI message), causing a
  spurious no_op injection after commit_and_open_pr + user notification
- Change: add check_if_model_already_called_commit_and_open_pr AND
  check_if_model_messaged_user guard to Branch 1 of ensure_no_empty_msg
- Verified: 7/100 production traces no longer get an extra LLM call

* updated

* pass tests

---------

Co-authored-by: Auto Fix Bot <auto-fix@langchain.ai>
Co-authored-by: Palash Shah <palash@langchain.dev>
Co-authored-by: Palash Shah <35114859+Palashio@users.noreply.github.com>
2026-03-10 12:56:44 -07:00
Aran Yogesh
2f38484451
email-update (#1048) 2026-03-10 11:28:34 -07:00
Brace Sproul
6f04cea26c
chore: Add langsmith deployments data plane linear project (#1044)
* chore: Add langsmith deployments data plane linear project

* cr
2026-03-09 18:36:00 -07:00
Aran Yogesh
b735afb445
feat: add GitHub PR comment trigger and reply support [closes OPE-1] (#1014)
* feat: add GitHub PR comment trigger and reply support

* refactor: improve readability of GitHub integration

* linting

* fix: resolve github token from thread metadata and improve PR trigger flow

* fix: fall back to OAuth for GitHub webhook when no token in thread metadata

* give me commit message github integeration working without a breaking

* auth.py refactor

* fix: validate cached GitHub token before use to handle expiry

* liniting

* ci unitest formatting

* feat: post PR comments as GitHub App bot instead of user OAuth token

* resolved comments

* slack resolveed comments

* Refactor docstring and comments in get_slack_repo_config

Removed unnecessary comments and cleaned up docstring formatting.

* cr

* cr

* cr

* cr

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2026-03-09 17:14:13 -07:00
Brace Sproul
9763835873
fix: Slack tests (#1032) 2026-03-09 12:10:41 -07:00
Harrison Chase
da5c0f36f6 cr 2026-03-07 13:24:22 -08:00
Harrison Chase
5c493ea1c7 cr 2026-03-07 13:24:10 -08:00
Brace Sproul
bd52e5e09d
chore: Drop monorepo (#1029)
* chore: Drop monorepo

* cr
2026-03-06 16:10:34 -08:00
Aran Yogesh
ee3f88bd49
Merge pull request #1028 from langchain-ai/yogesh/readme-update
chore: readme update
2026-03-06 15:25:42 -08:00
aran-yogesh
abd26fbbaf readme updates 2026-03-06 15:21:38 -08:00
aran-yogesh
229cc08713 readme update 2026-03-06 15:06:16 -08:00
Aran Yogesh
86ea40e04f
Update README.md
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:56:12 -08:00
Aran Yogesh
f80bb37d6a
Merge pull request #1023 from langchain-ai/yogesh/concise-pr-description
chore: make agent PR bodies more concise by removing change lists and redundant test steps
2026-03-06 14:53:56 -08:00
aran-yogesh
75bc943ac5 order update instructions 2026-03-06 14:47:05 -08:00
Aran Yogesh
c75f3da53b
Update apps/agent/agent/prompt.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:44:29 -08:00
Aran Yogesh
a9fc706cc0
Update apps/agent/agent/prompt.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:43:51 -08:00
Aran Yogesh
93eb7aaa77
Update apps/agent/agent/tools/commit_and_open_pr.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:43:41 -08:00
Aran Yogesh
ebce0e1f49
Update apps/agent/agent/tools/commit_and_open_pr.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:43:35 -08:00
aran-yogesh
a6d05a86b2 lineaer webhook update instructions 2026-03-06 14:36:26 -08:00
aran-yogesh
1d19c05b7e chore: readme update 2026-03-06 14:23:29 -08:00
aran-yogesh
06c47794f5 chore: make agent PR bodies more concise by removing change lists and redundant test steps 2026-03-06 10:43:04 -08:00
Brace Sproul
cd671fdca2
fix: Only send using repo msg if not already sent (#1019)
* fix: Only send using repo msg if not already sent

* cr

* cr
2026-03-05 13:11:10 -08:00
Brace Sproul
659dd71433
feat: Make error slack messages only visable to user (#1018) 2026-03-05 13:00:23 -08:00
Brace Sproul
eb47c86c80
chore: Use anthropic models (#1012) 2026-03-04 18:20:43 -08:00
Brace Sproul
f2dc5950f6
fix: Dont return another no-op tc if no-op already in state (#1011) 2026-03-04 18:15:00 -08:00
Brace Sproul
c0f17d32d8
fix: Middleware to ensure no empty msg (#1010) 2026-03-04 17:59:52 -08:00
Brace Sproul
a1fcb23498
fix: Add important prompting to always call tools (#1009) 2026-03-04 17:33:20 -08:00
Brace Sproul
d18318404b
fix: persist selected repo (#1008)
* chore: Better err handling for extracting repos, always post reply

* cr

* fix: persist selected repo
2026-03-04 17:31:01 -08:00
Brace Sproul
163649197b
chore: Better err handling for extracting repos, always post reply (#1007)
* chore: Better err handling for extracting repos, always post reply

* cr
2026-03-04 16:55:50 -08:00
Brace Sproul
51b4b27c2e
feat: Add slack trigger webhook (#1006)
* feat: Add slack trigger webhook

* cr

* better username tagging, react with eyes

* cr

* cr

* cr
2026-03-04 16:43:28 -08:00
Aran Yogesh
b5951413d7
chore: resolve github token in get_agent and read from thread metadata (#1002)
* chore: resolve github token in get_agent and read from thread metadata

* feat: add linear_comment tool and fix middleware PR response

* refactor: simplify github token resolution flow

* linting

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* refactor: simplify auth helpers and token flow

* linting

* open_pr changes

* Update open_pr.py

* refactor: centralize github token helpers and config lookup

* Apply suggestions from code review

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-04 15:57:03 -08:00
Aran Yogesh
3dee480e82
refactor: remove duplicate comment_on_linear_issue from webapp, import from utils (#996)
* refactor: remove duplicate comment_on_linear_issue from webapp, import from utils.linear

* linting
2026-03-03 14:35:24 -08:00
Aran Yogesh
5bced68e72
feat: add linear_comment tool, remove auto-comment middleware (#994)
* feat: add linear_comment tool, remove auto-comment middleware

* ⏺ feat: pass triggering user name to linear_comment tool for @mentions

* linting

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* feat: add ticket_id arg to linear_comment tool and
  include it in agent prompt

* Apply suggestions from code review

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-03 14:34:29 -08:00
Aran Yogesh
4c94404b76
Merge pull request #1001 from langchain-ai/yogesh/add-open-swe-repo
feat: add Open SWE Linear team mapping to langchain-ai/open-swe repo
2026-03-03 09:29:46 -08:00