Commit graph

416 commits

Author SHA1 Message Date
aran-yogesh
c30e5cc58d dict team mapping 2026-02-13 14:44:55 -08:00
aran-yogesh
9fb959529e feat: route LangChain OSS/Applied AI/Docs issues to correct repos 2026-02-13 14:44:55 -08:00
Brace Sproul
8601b08b05
chore: Delete unused apps code (#948) 2026-02-13 14:10:47 -08:00
aran-yogesh
93aee88aa4 ix: resolve circular import by moving sandbox helpers to integrations 2026-02-12 17:39:59 -08:00
aran-yogesh
267aa47fad fix: resolve circular import in commit_and_open_pr 2026-02-12 17:02:41 -08:00
aran-yogesh
4e800dfb50 fix: resolve circular import by moving sandbox utils to separate module 2026-02-12 16:47:03 -08:00
aran-yogesh
5c6b9b26b2 fix: resolve circular import in commit_and_open_pr 2026-02-12 16:32:45 -08:00
Aran Yogesh
fdee31eb8b
Merge pull request #935 from langchain-ai/yogesh/centeralize-gitops
refactor: centralize git ops and implement commit_and_open_pr flow
2026-02-12 15:27:54 -08:00
Aran Yogesh
d6930a801d
Update apps/agent/agent/tools/commit_and_open_pr.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-02-12 15:25:17 -08:00
aran-yogesh
426505584f sandbox (get config) correction 2026-02-12 15:21:04 -08:00
aran-yogesh
8755933364 using sandbox api instead of failing 2026-02-12 15:10:26 -08:00
aran-yogesh
5dc4969755 prompt changes for long commands 2026-02-12 12:46:39 -08:00
aran-yogesh
a62110341b prompt changes after the sandbox correction 2026-02-12 12:09:35 -08:00
aran-yogesh
59402594a1 prompt changes 2026-02-11 16:40:05 -08:00
aran-yogesh
6e4f58d7d8 Dep installation changes 2026-02-11 15:33:08 -08:00
aran-yogesh
07cb78bfaf refactor: installation changes 2026-02-11 12:54:38 -08:00
aran-yogesh
269ce4557f feat: add background execution guidance for long-running commands 2026-02-11 11:14:51 -08:00
aran-yogesh
8ebc71266f refactor: open_pr.py changes 2026-02-11 10:52:29 -08:00
aran-yogesh
cb9154b76f refactor: centralize git ops and implement commit_and_open_pr flow 2026-02-11 10:48:12 -08:00
aran-yogesh
d4f1b14a92 refactor: not to install dependecies 2026-02-10 18:39:08 -08:00
aran-yogesh
4fd73e9f2d refactor: server.py changes 2026-02-10 18:18:04 -08:00
aran-yogesh
e7085154da refactor:langsmith.py changes 2026-02-10 17:38:32 -08:00
aran-yogesh
838e042fe4 fix: avoid ARG_MAX on sandbox writes by using SDK write() 2026-02-10 17:30:45 -08:00
Aran Yogesh
1ecf8306a7
Fix formatting in pyproject.toml 2026-02-10 14:31:08 -08:00
Aran Yogesh
f925f6161d
Add LangSmith SDK dependency
Added LangSmith SDK as a dependency for sandbox management.
2026-02-10 14:10:23 -08:00
Aran Yogesh
d118184f44
Apply suggestion from @bracesproul
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-02-10 14:05:52 -08:00
Aran Yogesh
259136162d
Remove deepagents dependency from langgraph.json 2026-02-10 13:44:12 -08:00
aran-yogesh
16aafaf7ad refactor: move LangSmithProvider into open-swe, drop deepagents-cli dependency 2026-02-10 13:35:50 -08:00
aran-yogesh
8c9bc67335 refactor: extract shared utils from server.py into agent/utils/ package 2026-02-10 11:25:19 -08:00
aran-yogesh
2b7ce6b691 refactor: extract inline middleware from server.py into separate files 2026-02-09 15:34:18 -08:00
aran-yogesh
765c9c1c52 fix: bump langchain and langgraph to latest versions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 14:14:03 -08:00
aran-yogesh
7480688e81 fix: use PyPI package for deepagents instead of git source
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 13:53:41 -08:00
aran-yogesh
1104f494ee fix: resolve merge conflict in tool_error_handler.py
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 13:39:37 -08:00
aran-yogesh
823291f841 feat: switch from deepagents-cli to deepagents library [closes #898] 2026-02-09 13:36:59 -08:00
Aran Yogesh
bfaf361f25
Update exception handling in tool_error_handler.py
Refine exception handling in tool error handler to capture specific exceptions.
2026-02-09 13:16:08 -08:00
Aran Yogesh
770fcd4e1d
Change exception handling to catch all exceptions
Removed specific exception handling to catch all exceptions.
2026-02-09 13:10:54 -08:00
aran-yogesh
810bf412e9 Refactor middleware into package and update repo config 2026-02-09 12:53:34 -08:00
aran-yogesh
03744fbf2d feat: add error normalization middleware for tool and model calls []Closes #904] 2026-02-09 12:08:40 -08:00
aran-yogesh
7413befa79 feat: add error normalization middleware for tool and model calls 2026-02-09 11:52:54 -08:00
aran-yogesh
9f78cf0b90 feat: copy SandboxBackendProtocol from deepagents to reduce coupling (#897)
- Add local protocol.py with SandboxBackendProtocol, ExecuteResponse, WriteResult, EditResult
- Update server.py to import from local protocol instead of deepagents
- Reduces dependency coupling between open-swe and deepagents

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 18:40:34 -08:00
aran-yogesh
dec020b5ae fix: edited custom prompting 2026-02-06 18:02:59 -08:00
aran-yogesh
b89ead0794 feat: add commit_and_open_pr tool and custom agent prompting 2026-02-06 17:16:00 -08:00
aran-yogesh
8f4fd4a555 fix: add langgraph-cli dependency, fix ChatAnthropic import, and wire up Claude model 2026-02-06 16:11:24 -08:00
Brace Sproul
23887d41da
chore: Update dep to master (#895) 2026-02-06 13:28:24 -08:00
Brace Sproul
78542b226f
refactor: Remove all imports from deepagents_cli & pull in custom tools (#894) 2026-02-06 13:23:09 -08:00
aran-yogesh
841aa536f5 feat: add configurable sandbox template and fix sandbox lifecycle 2026-02-06 10:37:28 -08:00
aran-yogesh
db2a755463 feat: add LANGSMITH_API_KEY_PROD fallback for LangGraph Cloud
Add helper function to check LANGSMITH_API_KEY first, then fall back to
LANGSMITH_API_KEY_PROD for LangGraph Cloud deployments where
LANGSMITH_API_KEY is reserved by the platform.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-05 17:36:05 -08:00
aran-yogesh
9c29e3c9e0 Fix sandbox creation by removing unsupported cleanup parameter
- Remove cleanup=False argument from create_sandbox_async calls
  - Fixes TypeError: Received unsupported arguments: ['cleanup']
  - Allows agent to create and connect to sandboxes successfully
2026-02-05 17:00:54 -08:00
aran-yogesh
1083989723 env var changed to LANGSMITH_API_KEY_PROD isntead of LANGSMITH_API_KEY 2026-02-05 13:36:02 -08:00
Aran Yogesh
bee2165b0d
Add README for Open SWE Agent 2026-02-05 12:00:13 -08:00