Tavily integration example#197
Open
lakshyaag-tavily wants to merge 4 commits intocartesia-ai:mainfrom
Open
Conversation
- Introduced main.py for handling voice interactions and web searches using Tavily API. - Added web_search and web_extract tools for real-time information retrieval and content extraction. - Created README.md for setup instructions and usage details. - Added pyproject.toml for project metadata and dependencies. - Included cartesia.toml for configuration settings.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2e87093. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Adds a new example integration under
example_integrations/tavily/that demonstrates a voice agent capable of real-time web research using the Tavily API.The agent exposes two
@loopback_tools:web_search— Calls Tavily's async search API (fastdepth, 5 results) for low-latency, voice-friendly web lookups with configurable time-range filtering.web_extract— Extracts full page content from a URL via Tavily's extract API, useful when search snippets aren't sufficient to answer a question.Type of change
Testing
How did you test this?
Checklist
make formatNote
Low Risk
Adds a new, self-contained example integration and dependencies; no changes to core runtime or security-sensitive logic. Main risk is dependency/version compatibility for the new example.
Overview
Adds a new
example_integrations/tavily/example that demonstrates a voice agent performing real-time web research via Tavily.The example includes two new
@loopback_tools (web_searchwith optionaltime_rangeandweb_extractwith 3k-char truncation), wires them into anLlmAgent/VoiceAgentAppwith a voice-optimized system prompt, and documents setup/run instructions. It also introduces a dedicatedpyproject.tomlwith the required Tavily/Line SDK dependencies and atavily-searchscript entry point.Reviewed by Cursor Bugbot for commit 2e87093. Bugbot is set up for automated code reviews on this repo. Configure here.