Installation and Setup
- Install with
pip install petals - Get a Hugging Face api key and set it as an environment variable (
HUGGINGFACE_API_KEY)
Wrappers
LLM
There exists an Petals LLM wrapper, which you can access withConnect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.