Commit graph

43 commits

Author SHA1 Message Date
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
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
Aran Yogesh
0c1076f3e7
Add schema and Python version to langgraph.json 2026-02-05 11:46:36 -08:00
Aran Yogesh
8c7216f2bc
Delete apps/agent/agent/__init__.py 2026-02-05 11:22:56 -08:00
Aran Yogesh
3681bb2503
Delete apps/agent/README.md 2026-02-05 11:18:20 -08:00
Aran Yogesh
08f73fba19
Delete apps/agent/uv.lock 2026-02-05 11:17:00 -08:00
Aran Yogesh
217bca8c8b
Delete apps/agent/agent/__pycache__ directory 2026-02-05 11:16:01 -08:00
Aran Yogesh
2f814183bc
Delete apps/agent/__pycache__ directory 2026-02-05 11:14:55 -08:00
Aran Yogesh
1c3000473d
Delete apps/agent/__pycache__/server.cpython-311.pyc 2026-02-05 11:04:36 -08:00
Aran Yogesh
79f80810ff
Delete apps/agent/__pycache__/encryption.cpython-311.pyc 2026-02-05 10:55:45 -08:00
aran-yogesh
b2c466dfb7 Add Python agent with LangSmith sandbox support
- Add apps/agent/ with server.py, webapp.py, encryption.py
- Configure to use deepagents branch with LangSmith sandbox
- Add langgraph.json for deployment
- Add pyproject.toml with dependencies
2026-02-04 18:30:38 -08:00