Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

feat: deprecate tavily, exa, video, and journal tools - #604

Merged
liramon2 merged 5 commits into
strands-agents:mainfrom
liramon2:deprecation-1
Sep 15, 2026
Merged

liramon2 merged 5 commits into
strands-agents:mainfrom
liramon2:deprecation-1

Conversation

@liramon2

@liramon2 liramon2 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Deprecated tavily, exa, search_video, chat_video, and journal. These tools now log a warning naming where to go instead during static analysis and runtime. Warnings ship in v0.8.9 and become error logs in v0.9.0.

Tool module Points at Kind
tavily (tavily_search, tavily_extract, tavily_crawl, tavily_map) official Tavily MCP server MCP
exa (exa_search, exa_get_contents) official Exa MCP server MCP
search_video official TwelveLabs MCP server MCP
chat_video official TwelveLabs MCP server MCP
journal vended notebook SDK Tool

The replacements are deliberately not all one-for-one. The MCP servers expose a curated tool set rather than a passthrough to every parameter the old wrapper accepted, so the migration notes call out the gaps rather than implying a drop-in swap.

Related Issues

Follows #566.

Type of Change

Other (please describe): Deprecation of existing tools

Testing

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

On the last two: this intentionally adds deprecation warnings, which is its purpose. No dependent changes are required — every replacement is an externally hosted vendor MCP server, so nothing in this repo or the SDK needs to land first.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@liramon2

Copy link
Copy Markdown
Contributor Author

@strandly-the-agent Review this PR.

@liramon2
liramon2 marked this pull request as ready for review September 14, 2026 18:04
@liramon2
liramon2 requested a review from a team as a code owner September 14, 2026 18:04
strandly-the-agent

This comment was marked as outdated.

strandly-the-agent

This comment was marked as outdated.

@liramon2 liramon2 changed the title feat: deprecate tavily, exa, and video tools in favor of official MCP servers feat: deprecate tavily, exa, video, and journal tools in favor of official MCP servers Sep 14, 2026
@liramon2 liramon2 changed the title feat: deprecate tavily, exa, video, and journal tools in favor of official MCP servers feat: deprecate tavily, exa, video, and journal tools Sep 14, 2026
@liramon2
liramon2 deployed to auto-approve September 14, 2026 19:23 — with GitHub Actions Active
@liramon2
liramon2 deployed to auto-approve September 14, 2026 19:26 — with GitHub Actions Active
@liramon2

Copy link
Copy Markdown
Contributor Author

@strandly-the-agent Review this PR.

@strandly-the-agent strandly-the-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up on 94c747d: the 🔴 is fixed and every finding from my first pass is addressed. One thing left: CI's Lint job is red — tests/test_search_video.py:276 is 121 chars (E501, limit 120). Inline fix below; I'd approve once that's green.

Previous findings

  • 🔴 async @deprecated wrapper → fixed. category=None on all six sites; re-ran the repro through .stream() on py3.10.21 / 3.11.16 / 3.13.15, also under -W error::DeprecationWarning: real results on all three, __deprecated__ still set on all six.
  • 🟡 journal→notebook note / video gaps → fixed (README:293-298).
  • 🟡 README preamble → fixed (count dropped); the v0.8.6 sentence comes with the #602 rebase as you said — confirmed #602 rewrites it.
  • 🟡 untested warnings + env isolation → fixed. Deleting one logger.warning in tavily.py now fails a test; with TAVILY_API_KEY/EXA_API_KEY exported the deprecation tests no longer reach the network.
✅ Verified, one nit
  • Touched test files on py3.10 and py3.13: 200 passed, 20 skipped, 1 failure = the pre-existing test_reexports_resolve_at_runtime extras failure that is identical on main.
  • ruff check src tests → E501 tests/test_search_video.py:276:121 (the only error; main is clean). ruff format --check also wants to reformat that one file — the suggestion below is ruff's own output. Matches the failing call-test-lint / Lint job on this SHA.
  • Evidence: strands-agents/tools/pr/604/repro_async_v2.py, repro_async_94c747d.log, pytest_94c747d.log.

Nit (non-blocking): src/strands_tools/journal.py:67 and :218 still say notebook is for “session-scoped notes and tasks” while the README now (correctly) says there is no add_task equivalent. Dropping “and tasks” from the message keeps the two in step — both literals must change together or test_decorator_literal_matches_the_logged_message fails.

Comment thread tests/test_search_video.py Resolved
@liramon2
liramon2 deployed to auto-approve September 14, 2026 19:39 — with GitHub Actions Active
@liramon2 liramon2 self-assigned this Sep 14, 2026
@liramon2
liramon2 deployed to auto-approve September 15, 2026 14:17 — with GitHub Actions Active
@liramon2
liramon2 requested review from mehtarac and removed request for gautamsirdeshmukh September 15, 2026 14:17
@liramon2
liramon2 merged commit 00251ae into strands-agents:main Sep 15, 2026
19 checks passed

This branch was successfully deployed

1 active deployment
auto-approve — 8e9dd911 Deployed Sep 15, 2026 by liramon2 via check-access-and-checkout #607
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants