Prima Book a call
Primacode 0.1.1

A coding agent that works from your own context.

Primacode runs in your terminal, calls Prima and nothing else, and writes what it learns back into your company Stone. It spends the same balance as the chat and the API.

Install

One line on macOS and Linux, one file on Windows.

The script downloads the build for your machine, puts it in ~/.primacode/bin and adds that to your PATH. On Windows, download the .exe below and run it from a terminal.

curl -fsSL https://github.com/dimitrisurber/primacode-releases/releases/latest/download/install | bash

Then set your key: export PRIMA_API_KEY=... with a key from developer.prima.li › Schlüssel (scope ai). Without a key Primacode stops and says so; it never runs on another provider.

Builds

Five builds, one file each, checksummed.

Each download is a single binary. Checksums for all five are in SHA256SUMS on the release. The row marked as probably yours is a guess from your browser, not a decision.

  • macOS, Apple silicon

    primacode-darwin-arm64.zip

  • macOS, Intel

    primacode-darwin-x64.zip

  • Windows, x64

    primacode-windows-x64.exe

  • Linux, x86_64

    primacode-linux-x64.tar.gz

  • Linux, aarch64

    primacode-linux-arm64.tar.gz

These builds are not code-signed yet. On macOS a file you download in the browser is quarantined and will not open; the install line above is not quarantined, and for a browser download "xattr -d com.apple.quarantine primacode" clears it. On Windows, SmartScreen shows "Windows protected your PC"; "More info" then "Run anyway" starts it. On Linux nothing stands in the way. Signing follows once the Apple Developer ID and Azure Trusted Signing identities are issued; this note goes away on that day.

Updates

Where the tool takes updates from.

Primacode checks the same release page for a newer version and tells you; it does not update itself. Re-running the install line replaces the binary.

Release page
github.com/dimitrisurber/primacode-releases
Version today
0.1.1
Desktop app
not released
Signing
identities not issued yet
What Primacode is, in full
Before you install

One account, one balance, one repository.

Account
A Prima account and an API key with the ai scope
What it spends
The same Spark balance as the API and PrimaChat
Free to try
1,000 Sparks once, on a new account
Where its memory lives
Your own Stone repository, cloned to your machine
Network
Prima only. PRIMACODE_EGRESS=1 refuses every other host
See what it costs