open-swe/pyproject.toml

69 lines
1.5 KiB
TOML
Raw Normal View History

[project]
name = "open-swe-agent"
version = "0.1.0"
description = "Open SWE Agent - Python agent for automating software engineering tasks"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"deepagents>=0.6.4",
"fastapi>=0.136.1",
"uvicorn>=0.46.0",
"httpx>=0.28.1",
"PyJWT>=2.12.1",
"cryptography>=41.0.0",
chore(deps): bump the minor-and-patch group with 11 updates (#1198) Bumps the minor-and-patch group with 11 updates: | Package | From | To | | --- | --- | --- | | [deepagents](https://github.com/langchain-ai/deepagents) | `0.5.0a4` | `0.5.3` | | [fastapi](https://github.com/fastapi/fastapi) | `0.128.3` | `0.135.3` | | [uvicorn](https://github.com/Kludex/uvicorn) | `0.40.0` | `0.44.0` | | [langgraph-sdk](https://github.com/langchain-ai/langgraph) | `0.3.4` | `0.3.13` | | [langsmith](https://github.com/langchain-ai/langsmith-sdk) | `0.7.31` | `0.7.32` | | [langchain-openai](https://github.com/langchain-ai/langchain) | `1.1.10` | `1.1.13` | | [langchain-daytona](https://github.com/langchain-ai/deepagents) | `0.0.3` | `0.0.5` | | [langchain-modal](https://github.com/langchain-ai/deepagents) | `0.0.2` | `0.0.3` | | [langchain-runloop](https://github.com/langchain-ai/deepagents) | `0.0.3` | `0.0.4` | | [exa-py](https://github.com/exa-labs/exa-py) | `2.10.1` | `2.12.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.15.0` | `0.15.10` | Updates `deepagents` from 0.5.0a4 to 0.5.3 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/deepagents==0.5.0a4...deepagents==0.5.3) Updates `fastapi` from 0.128.3 to 0.135.3 - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.128.3...0.135.3) Updates `uvicorn` from 0.40.0 to 0.44.0 - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](https://github.com/Kludex/uvicorn/compare/0.40.0...0.44.0) Updates `langgraph-sdk` from 0.3.4 to 0.3.13 - [Release notes](https://github.com/langchain-ai/langgraph/releases) - [Commits](https://github.com/langchain-ai/langgraph/compare/0.3.4...0.3.13) Updates `langsmith` from 0.7.31 to 0.7.32 - [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases) - [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.31...v0.7.32) Updates `langchain-openai` from 1.1.10 to 1.1.13 - [Release notes](https://github.com/langchain-ai/langchain/releases) - [Commits](https://github.com/langchain-ai/langchain/compare/langchain-openai==1.1.10...langchain-openai==1.1.13) Updates `langchain-daytona` from 0.0.3 to 0.0.5 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/langchain-daytona==0.0.3...langchain-daytona==0.0.5) Updates `langchain-modal` from 0.0.2 to 0.0.3 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/langchain-modal==0.0.2...langchain-modal==0.0.3) Updates `langchain-runloop` from 0.0.3 to 0.0.4 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/langchain-runloop==0.0.3...langchain-runloop==0.0.4) Updates `exa-py` from 2.10.1 to 2.12.0 - [Commits](https://github.com/exa-labs/exa-py/commits) Updates `ruff` from 0.15.0 to 0.15.10 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.15.0...0.15.10) --- updated-dependencies: - dependency-name: deepagents dependency-version: 0.5.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: fastapi dependency-version: 0.135.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: uvicorn dependency-version: 0.44.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: langgraph-sdk dependency-version: 0.3.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langsmith dependency-version: 0.7.32 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-openai dependency-version: 1.1.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-daytona dependency-version: 0.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-modal dependency-version: 0.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-runloop dependency-version: 0.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: exa-py dependency-version: 2.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: ruff dependency-version: 0.15.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 07:09:02 +00:00
"langgraph-sdk>=0.3.13",
"langchain>=1.2.17",
"langgraph>=1.1.10",
"markdownify>=1.2.2",
"langchain-anthropic>=1.4.2",
"langgraph-cli[inmem]>=0.4.24",
"langsmith>=0.8.3",
"langchain-openai>=1.2.1",
chore(deps): bump the minor-and-patch group with 11 updates (#1198) Bumps the minor-and-patch group with 11 updates: | Package | From | To | | --- | --- | --- | | [deepagents](https://github.com/langchain-ai/deepagents) | `0.5.0a4` | `0.5.3` | | [fastapi](https://github.com/fastapi/fastapi) | `0.128.3` | `0.135.3` | | [uvicorn](https://github.com/Kludex/uvicorn) | `0.40.0` | `0.44.0` | | [langgraph-sdk](https://github.com/langchain-ai/langgraph) | `0.3.4` | `0.3.13` | | [langsmith](https://github.com/langchain-ai/langsmith-sdk) | `0.7.31` | `0.7.32` | | [langchain-openai](https://github.com/langchain-ai/langchain) | `1.1.10` | `1.1.13` | | [langchain-daytona](https://github.com/langchain-ai/deepagents) | `0.0.3` | `0.0.5` | | [langchain-modal](https://github.com/langchain-ai/deepagents) | `0.0.2` | `0.0.3` | | [langchain-runloop](https://github.com/langchain-ai/deepagents) | `0.0.3` | `0.0.4` | | [exa-py](https://github.com/exa-labs/exa-py) | `2.10.1` | `2.12.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.15.0` | `0.15.10` | Updates `deepagents` from 0.5.0a4 to 0.5.3 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/deepagents==0.5.0a4...deepagents==0.5.3) Updates `fastapi` from 0.128.3 to 0.135.3 - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.128.3...0.135.3) Updates `uvicorn` from 0.40.0 to 0.44.0 - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](https://github.com/Kludex/uvicorn/compare/0.40.0...0.44.0) Updates `langgraph-sdk` from 0.3.4 to 0.3.13 - [Release notes](https://github.com/langchain-ai/langgraph/releases) - [Commits](https://github.com/langchain-ai/langgraph/compare/0.3.4...0.3.13) Updates `langsmith` from 0.7.31 to 0.7.32 - [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases) - [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.31...v0.7.32) Updates `langchain-openai` from 1.1.10 to 1.1.13 - [Release notes](https://github.com/langchain-ai/langchain/releases) - [Commits](https://github.com/langchain-ai/langchain/compare/langchain-openai==1.1.10...langchain-openai==1.1.13) Updates `langchain-daytona` from 0.0.3 to 0.0.5 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/langchain-daytona==0.0.3...langchain-daytona==0.0.5) Updates `langchain-modal` from 0.0.2 to 0.0.3 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/langchain-modal==0.0.2...langchain-modal==0.0.3) Updates `langchain-runloop` from 0.0.3 to 0.0.4 - [Release notes](https://github.com/langchain-ai/deepagents/releases) - [Commits](https://github.com/langchain-ai/deepagents/compare/langchain-runloop==0.0.3...langchain-runloop==0.0.4) Updates `exa-py` from 2.10.1 to 2.12.0 - [Commits](https://github.com/exa-labs/exa-py/commits) Updates `ruff` from 0.15.0 to 0.15.10 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.15.0...0.15.10) --- updated-dependencies: - dependency-name: deepagents dependency-version: 0.5.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: fastapi dependency-version: 0.135.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: uvicorn dependency-version: 0.44.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: langgraph-sdk dependency-version: 0.3.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langsmith dependency-version: 0.7.32 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-openai dependency-version: 1.1.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-daytona dependency-version: 0.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-modal dependency-version: 0.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: langchain-runloop dependency-version: 0.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: exa-py dependency-version: 2.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: ruff dependency-version: 0.15.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 07:09:02 +00:00
"langchain-daytona>=0.0.5",
"langchain-modal>=0.0.3",
"langchain-runloop>=0.0.4",
"exa-py>=2.12.1",
feat: tune reviewer for precision — web/wiki tools + recalibrated prompt (#1312) * feat: tune reviewer for precision — web/wiki tools + recalibrated prompt Reviewer agent now has web_search, fetch_url, and http_request alongside the finding tools, so it can verify library semantics and consult the DeepWiki auto-generated wiki for public repos (https://deepwiki.com/<owner>/<repo>) before flagging cross-file or architectural concerns. Prompt rewritten to push precision over recall: - explicit severity ladder pushing reviews toward bimodal high/low instead of defaulting to medium - ≤200-char description target (gold set averages ~186 chars; we were at ~436) - mandatory docs / wiki / code lookup before flagging concurrency, security, or perf — the three categories that dominated false positives - "do not flag" list covering compiler/linter-catchable nits, speculative claims without a concrete attacker/interleaving/scale, style preferences the codebase doesn't share, and test-quality nits on non-test diffs - smart file-selection guidance for large PRs (deprioritize generated / vendored / pure-rename hunks) Eval config switched to openai:gpt-5.5 + high reasoning effort for the next benchmark run. * trim prompt * subagent prompting * confidence ratings * added medium * enforce confidence threshold * . * reviewer: precision-tuned prompt + drop confidence gate Rewrites the reviewer system prompt around a defensibility bar (anchor + failure mode + maintainer wouldn't say "not a bug"), an explicit do-not-file list (style nits, speculation, scope-policing, same-bug fan-out), and a checklist of 10 bug archetypes drawn from a per-PR audit of the eval golden set. The audit showed 145 FPs in the last eval split ~28% speculative, ~26% style-nit, ~31% real-but-unscored (mostly same-archetype fan-out); the new prompt targets each class directly. Confidence is still recorded on every finding for post-hoc calibration but no longer gates publication — the audit showed the gate was a no-op (agent self-rated 65% of findings "high" regardless), and the prompt's defensibility bar is the actual discipline. Drops CONFIDENCE_ORDER, CONFIDENCE_THRESHOLD, the confidence_threshold kwarg on filter_findings_for_publish, the confidence_filtered score_mode, and the min_confidence kwarg on the eval target's _extract_comments — all dead once the gate is gone. Also removes the "informational" severity tier from the Severity enum, SEVERITY_ORDER, and all validators / tests / docstrings. It was reserved for FYI observations the dataset never rewards. * benchmax * adding google provider * slight steering * tuning * more tuning * fix * cleanup * reducing overfitting * Add per-repo review style profiles and inject them into the reviewer. Dashboard users can analyze historical PR review feedback per repository, edit the resulting style guide, and have it loaded from LangGraph Store at reviewer runtime (including Martian eval runs) keyed by owner/name. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix review style job errors leaking exception details to clients. Return generic dashboard messages while logging full stack traces server-side. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-20 11:35:00 -07:00
"langchain-google-genai>=4.2.2",
]
[project.optional-dependencies]
dev = [
chore(deps): bump the uv group across 1 directory with 3 updates (#1191) Bumps the uv group with 3 updates in the / directory: [langsmith](https://github.com/langchain-ai/langsmith-sdk), [pytest](https://github.com/pytest-dev/pytest) and [python-multipart](https://github.com/Kludex/python-multipart). Updates `langsmith` from 0.7.25 to 0.7.31 - [Release notes](https://github.com/langchain-ai/langsmith-sdk/releases) - [Commits](https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.25...v0.7.31) Updates `pytest` from 9.0.2 to 9.0.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/9.0.2...9.0.3) Updates `python-multipart` from 0.0.22 to 0.0.26 - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.22...0.0.26) --- updated-dependencies: - dependency-name: langsmith dependency-version: 0.7.31 dependency-type: direct:production dependency-group: uv - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:production dependency-group: uv - dependency-name: python-multipart dependency-version: 0.0.26 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-04-15 23:31:23 -07:00
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.12",
"Pygments>=2.20.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["agent"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]