DEVELOPER AGENTS › AGENT SKILLS
Use Newton’s from Your Coding Agent
Newton’s provides native agent skills and wire-protocol parity for leading coding agents. Run Claude Code, OpenAI Codex CLI, Cursor, Windsurf, or Cline with your Newton’s credits and zero retail markup.
⚡ Instant key generation · $1 free testing credit · No credit card required
The Two Newton’s Agent Skills
A skill is a self-contained instruction package that your agent loads automatically. One command installs both skills, and your agent chooses the appropriate capability based on your prompt.
Run Coding Agents on Newton’s
Configure Claude Code, Codex CLI, Cursor, Windsurf, or Cline to route through Newton’s endpoints using your Newton’s wallet credits.
# Example user prompt:
"Configure Claude Code to use Newton's models"Discover & Invoke Foundation Models
Search all 9 live Claude models, query token pricing, inspect parameter schemas, and submit tasks directly from your agent.
# Example user prompt:
"List all reasoning models available on Newton's"Quick Start
Install the Skills
Run the universal skills installer (once per machine, requires Node.js 18+):
npx skills add https://newtons.devGet Your API Key
Generate an instant key starting with newt_ (includes $1 free testing credit, no card required) via Onboarding or in the Developer Console.
Export Environment Variables
Set your API key in your shell profile (e.g. ~/.zshrc or ~/.bashrc):
export NEWTONS_API_KEY="newt_your_api_key_here"Launch Your Coding Agent
Start your preferred agent from a terminal session where the variable is set.
Agent Configurations
| Agent | Wire Protocol | Base URL | Auth Variable / Header |
|---|---|---|---|
| Claude Code | Anthropic Messages | https://newtons.dev/api/v1 | ANTHROPIC_AUTH_TOKEN=$NEWTONS_API_KEY |
| Codex CLI | OpenAI Responses | https://newtons.dev/api/v1 | env_key = "NEWTONS_API_KEY" |
| Cursor | OpenAI Chat | https://newtons.dev/api/v1 | $NEWTONS_API_KEY (OpenAI Key field) |
| Windsurf | OpenAI Chat | https://newtons.dev/api/v1 | $NEWTONS_API_KEY (Custom Provider) |
| Cline / Roo Code | OpenAI Compatible | https://newtons.dev/api/v1 | $NEWTONS_API_KEY |
Claude Code Setup
Claude Code connects to Newton’s using Anthropic Messages wire protocol:
export ANTHROPIC_BASE_URL="https://newtons.dev"
export ANTHROPIC_AUTH_TOKEN="$NEWTONS_API_KEY"
# Start Claude Code
claude --model claude-3-7-sonnet-20250219OpenAI Codex CLI Setup
Add Newton’s as a custom provider in ~/.codex/config.toml:
model = "gpt-5.5"
model_provider = "newtons"
model_reasoning_effort = "high"
[model_providers.newtons]
name = "Newton's"
base_url = "https://newtons.dev/api/v1"
env_key = "NEWTONS_API_KEY"
wire_api = "responses"List Available Models
Query the live models catalog to discover active IDs and pricing:
curl -s -H "Authorization: Bearer $NEWTONS_API_KEY" \
https://newtons.dev/api/v1/models | jq -r '.data[].id'Good to Know
Dynamic Model Resolution
Both skills query Newton’s live API catalog directly rather than relying on cached model names. Newly published models become immediately usable without reinstalling the skills.
Zero Retail Markup Pass-Through Billing
Every request executed by your coding agents is settled against your prepaid Newton’s wallet with exact per-token pricing and zero retail markup. View real-time logs and token receipts in the Developer Console.