For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PrivateGPT follows the Claude API model, so any client that speaks that protocol works against it — point it at your local PrivateGPT URL instead of Anthropic’s servers.
Anthropic SDK
Python
TypeScript
$
pip install anthropic
1
import anthropic
2
3
client = anthropic.Anthropic(
4
base_url="http://localhost:8080",
5
api_key="any", # required by the client but not validated by default