← Back to Plugins
Tools

Minds Sdk

l1felabs By l1felabs 👁 12 views ▲ 0 votes

Minds (OneOS memory) developer packages: TypeScript and Python SDKs, Vercel AI, CrewAI and LlamaIndex packages, the minds CLI, MCP servers, and plugins for Claude Code, Codex, Cursor, Copilot, JetBrains and OpenClaw.

Homepage GitHub

Install

pip install onesi-minds`

README

# Minds developer packages

Minds is the OneOS memory service: your agents remember what happened, who said what and what was decided, and recall it in later sessions, across tools and teammates. Every package here talks to the same public API every developer gets (`https://os.one.ml/api`), with an organization API key or a One sign-in.

| Package | Install | What it is |
|---|---|---|
| TypeScript SDK | `npm i @onesi/minds` | `remember`, `recall`, Mind lifecycle and all 198 Minds operations; ESM and CommonJS; no dependencies; a local Mind with no account (`@onesi/minds/local`) |
| Python SDK | `pip install onesi-minds` | The same surface, sync (`Minds`) and async (`AsyncMinds`), typed, plus `LocalMind` |
| Vercel AI SDK | `npm i @onesi/minds-ai` | `mindsTools()` for the model to call and `withMinds(model)` middleware that adds relevant memories to every call |
| CrewAI | `pip install onesi-minds-crewai` | `minds_tools()` for agents and `MindsStorage` for CrewAI `ExternalMemory` |
| LlamaIndex | `pip install onesi-minds-llamaindex` | `MindsMemoryBlock` for agent `Memory`, `MindsRetriever` and FunctionTools |
| CLI | `npx -y @onesi/minds-cli init` | The `minds` command. Start with a local Mind and no account; later `minds login`, `minds use`, `minds push` |
| MCP servers | `npx -y @onesi/minds-mcp` | Account server (memory, lifecycle, usage, every operation through `find_operations` + `call_operation`, or `--all-tools`) and end-user server (`--user`: one Mind only; `--local`: no account). Hosted OAuth version: `https://mcp.minds.sh/mcp` |
| Claude Code | `/plugin marketplace add l1felabs/minds-sdk` then `/plugin install minds@minds` | MCP (OAuth), a memory skill, `/minds:remember` and `/minds:recall` |
| Codex, Cursor, GitHub Copilot, JetBrains, OpenClaw | `npx -y @onesi/minds-cli setup <codex\|cursor\|copilot\|jetbrains\|openclaw>` | MCP wiring plus the memory skill, rule or guidelines for each tool ([plugins/](plugins)) |

## Sixty seconds, no account

```bash
npx -y @onesi/minds-cli init
npx -y @onesi/minds-cli remember "Releases go out Tuesdays at 14:00 UTC" --tags ops
npx -y @onesi/minds-cli recall "when do we release?"
```

## With an account

Create an organization API key with `minds:read` and `minds:write` at [os.one.ml](https://os.one.ml), then:

```ts
import { Minds } from '@onesi/minds';
const minds = new Minds({ apiKey: process.env.MINDS_API_KEY });
const mind = await minds.minds.create('support-bot', { wait: true });
await minds.remember('Riley prefers email over phone', { mind: mind.mind_id, tags: ['riley'] });
const rows = await minds.recall('how should I contact Riley?', { mind: mind.mind_id });
```

```python
from onesi_minds import Minds
minds = Minds()  # MINDS_API_KEY, MINDS_MIND_ID
minds.remember("Riley prefers email over phone", tags=["riley"])
print(minds.context("how should I contact Riley?"))
```

Errors carry the API's own code (`MindsError.code`, for example `MIND_NOT_READY`, `SCOPE_MISSING`, `MIND_DELETE_NOT_OWNER`) and request id.

## Repository

- `packages/`: npm packages (TypeScript). `python/`: PyPI packages. `plugins/`: editor and agent plugins. `.claude-plugin/marketplace.json`: the Claude Code marketplace.
- `scripts/gen-ops.mjs` regenerates the operation catalog from the Genesis OpenAPI document.
- `ci/`: Google Cloud Build pipelines. `qualify.yaml` builds every package, installs it in a clean container and runs a live remember/recall proof; `publish.yaml` publishes to npm and PyPI and reads the registry back.

Apache-2.0. © L1fe AI, Inc.
tools

Comments

Sign in to leave a comment

Loading comments...