Adds a `get_current_thread_id` agent tool to `deepagents-code` so models
can retrieve the active LangGraph thread ID and pass it to thread-scoped
tooling like the LangSmith CLI or an MCP server. The tool reads
`configurable.thread_id` from the injected `RunnableConfig` (so it takes
no model-visible arguments) and returns an explanatory message when no
thread ID is available. It is wired into the tool lists for both ACP
mode (`main.py`) and the server graph (`server_graph.py`).
Made by [Open SWE](https://openswe.vercel.app)
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Dependency floors are refreshed across the monorepo for newer
LangChain/LangSmith releases, provider integrations, pytest tooling,
`ruff`, and `ty`. The code changes are the compatibility work needed for
those newer lint and type checks, with small structural cleanups where
the tools needed clearer narrowing or less complex functions.
## Changes
- Raised runtime and test dependency minimums across SDK, CLI, Code,
ACP, evals, examples, and partner packages, including updated
LangChain/LangSmith/provider pins and current lint/test tooling
baselines.
- Reworked backend factory typing around `BACKEND_TYPES` with
`_resolve_backend`, widened file transfer error fields to support
backend-specific strings, and updated filesystem/summarization
middleware to use the shared resolver.
- Tightened `deepagents-code` typing for middleware stacks, MCP tool
filtering, update checks, and Textual compatibility patches, replacing
stale suppressions with `ty`-specific ignores where runtime behavior is
intentionally narrower than static types.
- Split large CLI command handlers into focused helpers such as
`_dispatch_command`, `_execute_agents_command`, and the MCP server
subcommand helpers while preserving existing command behavior.
- Updated Harbor LangSmith sandbox handling to rely on explicit
`NetworkPolicy` and `capabilities` instead of legacy property overrides,
with tests adjusted around the new capability checks.
- Applied lint/format/type-check cleanups across tests and examples so
the staged code passes the refreshed tooling expectations.
Add `deepagents-talon`, a local single-operator runtime host for
long-running Deep Agents over channels and scheduled jobs. The package
wires a Deep Agents runtime to channel adapters, cron tools, MCP
loading, optional voice transcription, LangSmith trace context, and a
runnable WhatsApp Docker Compose example.
This first PR focused is on the local host, WhatsApp adapter, scheduler,
and CI/release plumbing while reusing existing `deepagents-code` web and
MCP utilities (where practical).
Areas that need careful review:
- Whether the generic channel abstractions should stay in the first PR
or be narrowed to WhatsApp-only.
- WhatsApp exposure defaults, session storage, downloaded media
retention, and open-mode acknowledgement.
- The dependency boundary with `deepagents-code`, especially MCP helpers
and web tools.
---------
Co-authored-by: Deep Agent <agent@deepagents.dev>
Co-authored-by: Mason Daugherty <github@mdrxy.com>