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.

newtons-chat-agents

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"
newtons-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

1

Install the Skills

Run the universal skills installer (once per machine, requires Node.js 18+):

npx skills add https://newtons.dev
2

Get 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.

3

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"
4

Launch Your Coding Agent

Start your preferred agent from a terminal session where the variable is set.

Agent Configurations

AgentWire ProtocolBase URLAuth Variable / Header
Claude CodeAnthropic Messageshttps://newtons.dev/api/v1ANTHROPIC_AUTH_TOKEN=$NEWTONS_API_KEY
Codex CLIOpenAI Responseshttps://newtons.dev/api/v1env_key = "NEWTONS_API_KEY"
CursorOpenAI Chathttps://newtons.dev/api/v1$NEWTONS_API_KEY (OpenAI Key field)
WindsurfOpenAI Chathttps://newtons.dev/api/v1$NEWTONS_API_KEY (Custom Provider)
Cline / Roo CodeOpenAI Compatiblehttps://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-20250219

OpenAI 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.