Prerequisites
Before you begin, ensure you have:- A SambaCloud account.
- Visual Studio Code installed.
- KiloCode extension installed from the VS Code Extensions Marketplace.
Setup
Follow these steps to connect SambaCloud models in KiloCode:-
Open KiloCode
In VS Code, open the KiloCode panel (usually located in the sidebar). -
Add your SambaCloud API key
- Click Use your own API key.
- In the API Provider dropdown, select SambaNova.
- Enter your SambaCloud API key.
- Choose a model from the Model dropdown (e.g.,
Llama-4-Maverick-17B-128E-Instruct
). - Select your preferred output verbosity.
- Click Let’s go!
Usage
-
Choose an interaction mode
From the bottom-right panel, select one of the following modes:architect
code
ask
debug
orchestrator
You can customize interaction modes in the Edit section. -
Start coding with SambaCloud in KiloCode
- Provide a task or prompt.
- Review the assistant’s plan.
- Approve the actions you want KiloCode to execute.
The model was prompted to build a basic calculator app with a FastAPI backend that performs addition, subtraction, multiplication, and division. The frontend uses HTML/CSS/JavaScript to accept input, select an operation, and display results, communicating with the backend via a fetch API call. The KiloCode panel displays executed tasks, token usage, and session cost at the top bar.