Juniper is an OpenAI-compatible API gateway for Palantir Foundry's AIP LLM Proxy.
# Requires: Git, Bun
git clone https://github.com/hazelcaffe/juniper.git
cd juniper
bun i.env:
## SERVER CONFIGURATION (Optional) ##
HOST=0.0.0.0
PORT=3000
## LOG CONFIGURATIO (Optional) ##
LOG_DIR=logs/
LOG_LEVEL=INFO
JUNIPER_TOKEN_STORE=data/tokens.json
### REQUIRED ###
JUNIPER_API_KEY=demo
## TEST CONFIGURATION (Optional) ##
TEST_FOUNDRY_URL=https://example.palantirfoundry.com
TEST_FOUNDRY_KEY=your-foundry-token
bun start
Use any AI SDK you like! As long as it supports OpenAI-compatible APIs, it'll work.
Docs are available at /docs.