# cogitod

`cogitod` is the customer-controlled continuity and learning loop for agent
work. It runs as a per-user service on macOS and Linux, keeps context, memory,
traces, policies, evidence, and outcomes on infrastructure the customer
controls, and can wire itself into Claude Code, Codex, and opencode.

## Install

```sh
npm install --global @cogitoagency/cogitod
```

The package supports macOS arm64, Linux arm64, and Linux x64 with Node.js 24–26. npm lifecycle scripts and optional dependencies must be enabled so the installer can select the native runtime and configure the local service.

Verify the installed command:

```sh
cogitod --help
```

## Client API

Install the package in an application that talks to the locally running daemon:

```sh
npm install @cogitoagency/cogitod
```

```js
import { BreatheClient } from '@cogitoagency/cogitod/client';

const client = new BreatheClient({ workspace: process.cwd() });
const memories = await client.search('release evidence');
```

The client connects to the loopback MCP endpoint. It does not start a daemon or provide remote authentication.

Documentation and product information are available at [cogito.cv](https://cogito.cv). Report problems through [Cogito support](https://cogito.cv/support).
