cognetivy
v0.1.34
Published
Reasoning orchestration state: workflow structure, run logs, and versioned mutations
Readme
Cognetivy
Cognetivy is an open-source state layer for AI-assistants like Claude Code, Cursor, OpenClaw, etc. It helps you define workflows, track runs and events, and store structured collections in a local .cognetivy/ workspace. No LLMs inside - just the data and tools your editor's agent uses via Skills and MCP. Works with Claude Code, Cursor, OpenClaw, and other Skills and MCP-compatible clients.
Project status: Actively maintained. We welcome issues and pull requests.
Requirements
- Node.js ≥ 18
- A project directory (or an empty folder) to create a workspace in
- A coding agent (Claude Code, Cursor, OpenClaw, etc.) working on that directory
Install
Run once with npx (no global install):
npx cognetivyOr install globally for use from any directory and for MCP:
npm install -g cognetivyStep-by-step
Step 1 - Run cognetivy
Open a terminal in your project folder (or an empty folder) and run:
npx cognetivyAn installer will open in the terminal:
Step 2 - Use the installer
- In the installer, choose your coding agent (Claude Code, Cursor, OpenClaw, etc.)
- Cognetivy will create a
.cognetivy/workspace in the current folder. - Cognetivy will install its skills into the workspace.
Step 3 - Studio opens
When the installer finishes, Cognetivy Studio opens in your browser.
- You’ll see the read-only UI: workflow, runs, and collections.
Step 4 - Ask your agent to create a workflow and run it
In another chat window, ask your agent to create a workflow and run it.
- "Create a workflow with three nodes: one that gathers requirements, one that writes a plan, and one that writes a summary. Save it as the current workflow."
- "Start a run for the current workflow with input with the topic 'user onboarding'."
Connect your agent (MCP)
Cognetivy works best with agent skills, but you can connect via MCP so cognetivy tools appear in chat.
Cursor
- Open Settings → Tools & MCP (or Features → MCP).
- Click Add new MCP server.
- Set Name to
cognetivy. - Set Command to
cognetivy(or the full path if not on PATH). - Set Arguments to
mcp. If your project root is not the folder that contains.cognetivy/, add--workspaceand the path to that folder (e.g.--workspace ./example-usage). - Save and restart Cursor.
Cognetivy tools (workflow, run, event, collection, node, etc.) will then be available in chat.
Optional - config file: You can instead add the server to ~/.cursor/mcp.json (or your project’s .cursor/mcp.json):
{
"mcpServers": {
"cognetivy": {
"command": "cognetivy",
"args": ["mcp"]
}
}
}Use "args": ["mcp", "--workspace", "/path/to/folder/with/.cognetivy"] if the workspace is not your current project root.
Commands
| Command | Description |
|--------|-------------|
| npx cognetivy | Run installer and open Studio (first time) or open Studio |
| cognetivy workflow get | Print current workflow |
| cognetivy run start --input <file> | Start a run |
| cognetivy studio | Open Studio in the browser |
| cognetivy mcp | Start MCP server (for your editor) |
| cognetivy install cursor | Install skills into Cursor (claude, agents, gemini, qwen, factory, opencode, openclaw, workspace also supported) |
Community
- Contributing - how to run the project, run tests, and submit changes
- Code of Conduct
- Report a bug · Request a feature
