Composio
How to use Linkup in Composio
Overview
Linkup can be used with Composio as a Tool to get contextual information from the internet. This integration allows your Composio workflows to search the web and incorporate up-to-date information.
Setting Up Linkup in Composio
Access your Composio account
Log in to your Composio account at composio.dev.
Find and select the Linkup tool
Navigate to the All Apps section in Composio and search for “Linkup”.
Get your Linkup API Key
Configure the integration
Click on “Setup Linkup integration”.
Enter your Linkup API Key in the provided field and click on “Try connecting default’s linkup”.
Example with Composio and CrewAI
Composio gives you the ability to build with CrewAI, a powerful agentic framewwork.
Install required packages
Get your API keys
You’ll need:
- Your Composio API key
- An OpenAI API key (get one here)
Create your CrewAI script
Create a new Python file and add the following code:
Be sure to replace YOUR_COMPOSIO_API_KEY
and YOUR_OPENAI_API_KEY
with your actual API keys.
Run your script
Execute your Python script:
The script will use the Linkup tool through Composio to search for information about female Nobel Physics Prize winners and return the results.
Example Response
Advanced Usage
You can expand your CrewAI agents to use additional Linkup capabilities by specifying different actions in the get_tools()
function:
Facing issues? Reach out to our engineering team at support@linkup.so or via our Discord.