A playground for experimenting with LLM providers, powered by CLIver's AgentCore.
- Python 3.10+
- uv
- A CLIver config at
~/.cliver/config.yamlwith at least one provider configured. A sample is provided — copy and edit it:Then set the API keys as environment variables (e.g. in yourmkdir -p ~/.cliver cp config.yaml.sample ~/.cliver/config.yaml
.envfile):DEEPSEEK_API_KEY=sk-... OPENAI_API_KEY=sk-...
make installThis installs all dependencies and registers a "LLMs Playground" Jupyter kernel.
from llmlib import get_agent
agent = get_agent(default_model="deepseek/deepseek-chat")
result = agent.chat("Hello!")
print(result)make notebookOpens JupyterLab at http://localhost:8888. Select the "LLMs Playground" kernel when creating or opening a notebook.
make docker-runBuilds and runs a Docker container with JupyterLab at http://localhost:8888. Your notebooks/ directory, .env file, and CLIver config are mounted automatically.
- Install the Jupyter extension (
ms-toolsai.jupyter) from the Extensions panel (Cmd+Shift+X) - Run
make install - Reload the VS Code window (
Cmd+Shift+P→ "Developer: Reload Window") - Open a notebook and click the kernel picker (top right)
- Choose "Select Another Kernel..." → "Jupyter Kernel..." → "LLMs Playground"
If the kernel doesn't appear, choose "Python Environments..." → select the .venv interpreter instead.
make clean