# Install Systeems

Systeems builds a business brain (a private GitHub repo of Markdown pages) that your agent keeps and learns from. No agent yet? Start with the step-by-step guide in Spanish: https://app.systeems.com/guia-de-instalacion.pdf (the Claude app or the ChatGPT app, then ask it to follow this page). These steps are written so your agent can follow them. **Agent inside the Claude app, ChatGPT or Codex: skip to "If you are an agent inside an app".** Agent: run each step, show the person what you're doing in one line, and ask before anything that needs their account or password.

## 1. Check what's installed

```
node --version    # needs 20 or newer
git --version
claude --version  # Claude Code, or: codex --version
gh --version      # GitHub CLI, used in step 4
```

- No Node: install it from https://nodejs.org (the LTS version), or `brew install node` on a Mac.
- No git: https://git-scm.com/downloads (on a Mac, `xcode-select --install` also installs it).
- No Claude Code or Codex: install one. Claude Code: https://claude.com/claude-code.
- No GitHub CLI: `brew install gh` on a Mac, `winget install GitHub.cli` on Windows, otherwise https://cli.github.com.

## 2. Install the Systeems CLI

```
npm i -g https://app.systeems.com/cli
systeems --version
```

If npm says it has no permission, use `sudo npm i -g ...` on a Mac or Linux, or fix npm's global folder (https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally).

## 3. Create your Systeems account and connect this computer

```
systeems login
```

It shows a code and opens app.systeems.com. The person creates an account (email and password) or signs in, checks the code matches, writes the business name, and approves. The terminal says "Connected to <business>".

## 4. GitHub

The brain lives in a private repo on the person's GitHub account.

- Ask: "Do you have a GitHub account?" If not, they create one at https://github.com/signup (free plan is enough).
- Then: `gh auth login` and choose GitHub.com, HTTPS, and log in with a web browser. Check with `gh auth status`.

The setup in step 5 creates the private repo and pushes to it.

## 5. Create the brain and run the setup

In the folder where the brain should live (for example the home folder):

```
systeems init
```

It asks the business name and one OK to look at the person's repos and connected tools (names and activity, plus the README of the 3 most active repos; never code or config). Then it opens the agent with the setup:

1. **First look (about 5 minutes):** "Here's what I see" (the business, people, active work, meetings, repos), the person corrects it, and they get one useful thing for today: a brief for their next meeting, or what's slipping. Nothing connected? It reads the business's website, or the person pastes their last meeting notes.
2. **Three questions:** what never to read, solo or team, who decides strategy.
3. **GitHub, then the full organize (about 10 minutes):** it shows what it will read (the person approves), organizes everything, and ends with a first review. The person can keep working meanwhile.

Tools the brain reads from (Gmail, Drive, Slack, Notion, a meeting recorder...) are connected in the agent, not in Systeems. In Claude Code, `/mcp` shows them. Connect the ones the person uses before the setup, or during it when the agent asks.

## If you are an agent inside an app (Claude app Code tab, ChatGPT / Codex app)

Everything lives in the folder the person opened: the CLI, the login and the brain. That way the app's sandbox doesn't ask for extra permissions, and it's the same folder they open every day.

**First, one message to the person, in their language, then one OK:**

> I'll install Systeems in this folder, connect it to your account (you approve a code in your browser), and build your brain with everything in this folder: first a look at what's here and at your connected tools (names and activity, and the README of your 3 most active projects; never code or config files), then I organize it all. I'll keep your panel at app.systeems.com up to date with counts and area names only, never contents. OK?

This one OK covers the whole setup, reading the files in this folder, and every `systeems save`. Don't ask again for any of them.

**Then, without asking again for each step:**

1. **Install the CLI in this folder** (no sudo, no global install):
   ```
   npm i --prefix ./.systeems-cli https://app.systeems.com/cli
   ```
   The command is then `./.systeems-cli/node_modules/.bin/systeems`. No Node? Ask the person to install the LTS from https://nodejs.org (macOS or Windows installer) and come back. On a Mac without git, `git --version` opens Apple's installer: they click Install.
2. **Connect, create the brain, look:**
   ```
   ./.systeems-cli/node_modules/.bin/systeems start --yes
   ```
   It opens app.systeems.com/connect with a code; tell the person to approve it. It needs internet: in a sandbox, allow network access for this command. It waits up to 10 minutes: run it in the foreground with a 10-minute timeout. If your app can only run it in the background, keep checking its output and **do not end your turn until it prints NEXT**: the person approves in the browser and won't come back to tell you. It uses the name of their Systeems account, so don't ask for one.
3. **Do what it prints under NEXT,** in the same session, right away (it's also saved in `.systeems/NEXT.md`): the first look, in the person's language, starting from their challenges, then the full organize of the folder right away. The first result must be about their work. If the app has no email, calendar or docs connected, say so and give the exact steps to connect them, or ask them to paste one real thread; never answer with advice about Systeems itself.
4. **GitHub can wait.** The brain works locally first. Offer the private GitHub repo during the rest of the setup (phase 3).
5. **Every session after that:** work in this folder and run `./.systeems-cli/node_modules/.bin/systeems save` when done.

## 6. Every day after that

```
cd <business>-brain
systeems
```

Opens the agent on the brain, runs the workflows that are on (turn them on at https://app.systeems.com), and at the end shows what it learned, saves and pushes. `systeems help` lists the rest.

## Claude Code plugin (optional)

The same skills as a Claude Code plugin, plus the Systeems MCP:

```
claude plugin marketplace add https://app.systeems.com/marketplace.json
claude plugin install systeems@systeems
```

It asks for a token: run `systeems token` and paste it. Skills show up as `/systeems:setup`, `/systeems:after-meeting`, and so on.

## Help

Write to t@systeems.com.
