points
Configure how AI coding harnesses route to model sources.

points is a planned CLI for configuring Claude Code, Codex, Pi, and OpenCode
to route through an operator-selected source such as Bifrost, a direct vendor,
or OpenRouter. It writes static configuration and exits; it is not a proxy or
daemon.
Status: pre-release scaffold. Help and version output work. Routing commands
are not implemented yet. The sections marked Target experience use a Working
Backwards format: they describe the intended user experience defined by the
verified specification, not functionality available in the current binary.
Platforms: macOS and Linux.
Current Quick Start
Go 1.26.11 or newer is required while the project is in source-only development.
make build
./points --help
The current binary reports unimplemented routing commands with exit status 2.
Binary releases and an installer will be added when the functional CLI is
ready.
Diagnostics and usage telemetry
Diagnostics are written to ~/.punt-labs/points/logs/points.log, with up to
five rotated backups. Usage telemetry is stored separately on this machine at
~/.punt-labs/points/telemetry.db for 90 days; points does not send it over
the network. It records the command category, outcome, and duration, not raw
arguments or user data.
Set POINTS_TELEMETRY=off to disable capture for points,
PUNT_TELEMETRY=off to disable it globally, or run
points --no-telemetry <command> to disable it for one invocation.
Target Experience
The operator selects one source and default model per harness. points owns the
session-wide endpoint, authentication, and default. User-authored agent model
choices remain untouched.
points route claude codex --source bifrost --model anthropic/claude-sonnet-5
points status
points verify
The target guarantee is routability: the configured source serves the selected
model's protocol and authentication mode. The operator can inspect and verify
the resulting state without reading several harness-specific files.
Target Commands
The following commands are specified but not yet implemented:
| Command |
Intended behavior |
points route <harness...> |
Select a source, default model, and authentication mode |
points status |
Show each harness's source and default model |
points verify |
Check protocol, authentication, and upstream routability |
points list --source <source> |
List providers served by a source |
points unroute <harness...> |
Restore vendor-direct defaults |
Design
The target design is formalized in Z and reviewed separately from the Go
scaffold. The central decisions are:
- Routing is session-wide per harness; per-agent model selection is user-owned.
- The program writes configuration and does not enter the request path.
- Sources are selected per harness, with no precedence or overlap rules.
- Delivery backends may inject environment variables, while harnesses that
require files always receive native configuration files.
Documentation
Target specification |
Architecture |
Test strategy |
Development workflow |
OpenCode diagnostics |
OpenCode permissions |
OpenCode models |
OpenCode skills |
OpenCode instructions |
OpenCode config |
OpenCode plugins |
OpenCode tools |
OpenCode sessions |
OpenCode concurrency |
OpenCode clients |
OpenCode worktrees |
OpenCode compaction |
OpenCode tool output |
OpenCode CLI |
OpenCode maintenance |
Development setup |
Public release readiness |
Contributing |
Security |
Changelog
License
MIT