Skip to main content
SambaCloud provides sub-second inference on open models like Llama and DeepSeek. With Linkup, you can ground these models in real-time web data, giving them the ability to retrieve current facts, news, and source-backed information beyond their training data. This guide demonstrates the integration using GPT-OSS 120B, but the same approach works with any model available on SambaCloud that supports function calling. For a deeper walkthrough of this pairing, see our blog post: How to Ground SambaNova LLMs with Real-Time Web Search Using Linkup.
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:
SambaNova’s sample notebook still pins linkup-sdk==0.9.0. This tutorial uses the current Linkup SDK (0.19.0).
Configure your API keys as environment variables:
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:
For more information, visit:
Need help? Email support@linkup.so, ping us on Discord, or talk to us.