1
Get your API Keys
Get your Linkup API key
Create a Linkup account for free to get your API key.
Get your SambaCloud API key
Create a SambaCloud account for free to get your API key.
2
Set Up Your Environment
Initialize your project and create a virtual environment (Python 3.10+):Install dependencies:Configure your API keys as environment variables:
SambaNova’s sample notebook still pins
linkup-sdk==0.9.0. This tutorial uses the current Linkup SDK (0.19.0).3
Build the Agent
Create a file named
agent.py and add the following code:agent.py
4
Run the Agent
5
Try Different Scenarios
Internal knowledge (no tool call):Tool-augmented reasoning:
- How to Ground SambaNova LLMs with Real-Time Web Search Using Linkup
- SambaNova official Linkup notebook
- SambaCloud Documentation
Need help? Email
support@linkup.so, ping us on Discord, or talk to us.