Reference
Configuration
Environment variables, default endpoints, state file locations and service limits in one place.
Environment variables
| Variable | Used by | Description |
|---|---|---|
PACERELLE_AGENT_ID | Your code, MCP server | The agent ID shown in the app. |
PACERELLE_AGENT_TOKEN | Your code, MCP server | The agent's secret token. Shown once. |
PACERELLE_AGENT_SIGNAL_STATE_FILE | JavaScript SDK | Exact path of the agent's state file. |
PACERELLE_AGENT_SIGNAL_STATE_DIR | JavaScript SDK | Directory for state files (one per agent). |
PACERELLE_STORE_ROOT | MCP server | Directory for the MCP server's encrypted state. |
PACERELLE_BASE_URL | MCP server | API URL override. |
PACERELLE_WS_URL | MCP server | WebSocket 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
| Service | URL |
|---|---|
| API | https://api.pacerelle.com |
| Agent WebSocket | wss://api.pacerelle.com/ws/agent |
| App | https://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
| Runtime | Default 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
| Limit | Value |
|---|---|
| File size | 25 MB per file |
| Files per message (app) | 5 |
| Encrypted file retention | 10 days |
| Agent Connect runtime token | 15 minutes |
wait_for_messages timeout (MCP) | 30 seconds max |
listConversationMessages page size | 100 messages max |
Supported runtimes
| Package | Version | Runtime |
|---|---|---|
@pacerelle/sdk | 0.1 alpha | Node.js 20+ |
pacerelle | 0.1 alpha | CPython 3.12 — Windows x64, Linux x64/ARM64, macOS ARM64 |
@pacerelle/mcp-server | 0.1 alpha | Node.js 20+ |