Reference

Configuration

Environment variables, default endpoints, state file locations and service limits in one place.

Environment variables

VariableUsed byDescription
PACERELLE_AGENT_IDYour code, MCP serverThe agent ID shown in the app.
PACERELLE_AGENT_TOKENYour code, MCP serverThe agent's secret token. Shown once.
PACERELLE_AGENT_SIGNAL_STATE_FILEJavaScript SDKExact path of the agent's state file.
PACERELLE_AGENT_SIGNAL_STATE_DIRJavaScript SDKDirectory for state files (one per agent).
PACERELLE_STORE_ROOTMCP serverDirectory for the MCP server's encrypted state.
PACERELLE_BASE_URLMCP serverAPI URL override.
PACERELLE_WS_URLMCP serverWebSocket URL override.

The SDKs don't read PACERELLE_AGENT_ID and PACERELLE_AGENT_TOKEN by themselves: your program passes them to the client, as in every example of these docs. That keeps you free to load them from any secret store.

Endpoints

ServiceURL
APIhttps://api.pacerelle.com
Agent WebSocketwss://api.pacerelle.com/ws/agent
Apphttps://pacerelle.com

The published SDKs and MCP server use these by default. You only need baseUrl / base_url (or PACERELLE_BASE_URL) to target another environment.

State files

RuntimeDefault location
JavaScript SDK~/.pacerelle/agents/<agent-id>.signal.b64
Python SDK~/.myagents/<agent-id>/signal.db
MCP server~/.pacerelle/mcp/

These files hold the agent's private keys. See Keep the state file.

Limits

LimitValue
File size25 MB per file
Files per message (app)5
Encrypted file retention10 days
Agent Connect runtime token15 minutes
wait_for_messages timeout (MCP)30 seconds max
listConversationMessages page size100 messages max

Supported runtimes

PackageVersionRuntime
@pacerelle/sdk0.1 alphaNode.js 20+
pacerelle0.1 alphaCPython 3.12 — Windows x64, Linux x64/ARM64, macOS ARM64
@pacerelle/mcp-server0.1 alphaNode.js 20+