Claude Code Agent Client

The Claude Code integration runs Claude coding tasks through the Claude Agent SDK. You can start Sessions from the Dashboard, answer tool requests, and resume the same conversation later.

Requirements

Install Node.js LTS and make node and npm available on your PATH. Confirm that they work for the user that runs Pontia:

node --version
npm --version

Sign in to Claude Code or configure its model provider as the same operating-system user that runs Pontia.

Install the integration

Select Claude Code when running:

pontia init

For later installation or repair, run pontia setup claude. This also enables the Claude Code Client.

On first setup, Pontia installs the @pontia/claude-client package and its Claude Agent SDK dependencies from npm into $PONTIA_HOME/clients/claude-client. This requires internet access and several hundred megabytes of disk space. Later setup runs reuse a working installation that matches the Pontia version.

Setup saves the Node.js and Claude Code configuration paths for the Pontia service.

Use a custom Claude Code configuration directory

Claude Code reads its configuration from ~/.claude by default. To use another directory, pass its absolute path during setup:

CLAUDE_CONFIG_DIR=/absolute/path/to/claude-config pontia setup claude

Use your own client installation

To use an existing @pontia/claude-client installation instead of the default one, pass the absolute path to its entry script:

PONTIA_CLAUDE_HOST_PATH=/absolute/path/to/node_modules/@pontia/claude-client/dist/src/main.js pontia setup claude

Setup checks that installation instead of installing the package.

Update the client

When Claude Code is enabled on a running managed service, pontia update updates the default @pontia/claude-client package to match the installed Pontia version. If you set PONTIA_CLAUDE_HOST_PATH, update that installation yourself to match Pontia.

How Claude Code Sessions run

After a Session exits, you can still browse its history and send another message to resume the same conversation.

When a request fails, the Claude Agent SDK may retry it. The Dashboard shows the failure, such as an authentication error, while the SDK retries. A retry notification does not mean the task has completed or failed. You can exit the Session while it is retrying.

See Troubleshooting if setup or authentication fails.