Docent- An Open Source Private AI assistant in your terminal Smartloop released Docent, an open-source private AI assistant that runs in the terminal and lets users chat with PDFs and Office files, search the web, and connect MCP servers, with the CLI automatically downloading the SLP framework 1.2.8 and its models when no local agent is running. The tool installs as both `docent` and `smartloop`, ships prebuilt binaries for Linux (x86_64, aarch64, statically linked against musl), macOS (Apple Silicon and Intel) and Windows (x86_64), and on first use downloads the bge-m3-Q4_K_M.gguf embedding model (~417 MB) plus a default base model into ~/.smartloop/1.2.8/. Your private AI assistant. Chat with your PDFs and Office files, search the web, and connect MCP servers, all from the terminal. If no local agent is running, the CLI downloads the framework and models it needs and starts one itself. It installs as both docent and smartloop ; the two are the same command. More at: docs.smartloop.ai https://smartloop.ai/docs/intro/ macOS and Linux curl -fsSL https://smartloop.ai/install | sh Windows PowerShell : irm https://smartloop.ai/install.ps1 | iex The binary goes to $CARGO HOME/bin ~/.cargo/bin when a Rust toolchain already owns that directory, since it is on your PATH anyway; otherwise to ~/.local/bin . If the chosen directory is not on your PATH , the installer appends an export line to the startup file for your shell — ~/.bashrc , ~/.zshrc , or fish add path in config.fish — so a new terminal picks it up. Re-running the installer will not add that line twice. On Windows the binary goes to %USERPROFILE%\.smartloop\bin and the installer sets your user PATH through the registry. Restart the shell to pick it up. Set SMARTLOOP CLI INSTALL DIR to install elsewhere, or SMARTLOOP CLI VERSION to pin a specific release. Prebuilt binaries are published for Linux x86 64, aarch64 — statically linked against musl , macOS Apple Silicon and Intel and Windows x86 64 . Requires Rust 2024 edition : cargo install --path . Any command that talks to the agent starts it when none is running. It listens on a free port it picks itself and writes it to ~/.smartloop/server.port , where the CLI reads it. On first use that means: 1. Download the agent SLP framework 1.2.8 from https://dl.smartloop.ai/slp/1.2.8/ into ~/.smartloop/1.2.8/ . Studio desktop uses the same folder and marker files, so the two share one install. 2. Start slp agent start in the background with SLP HOME=~/.smartloop , logging to ~/.smartloop/server.log . The agent keeps running after the CLI exits. 3. Download the embedding model bge-m3-Q4 K M.gguf , ~417 MB into the workspace's models/embeddings/ folder for document search. 4. Run the agent's bootstrap, which downloads the default base model, creates the default project and loads the model. Each step is skipped when its files are already there. Progress shows as a checklist on stderr under the Docent banner that redraws in place, with the active download's bar in Smartloop pink: ✓ Agent 1.2.8 667 MB ✓ Start agent port 50578 ✓ Embeddings bge-m3 417 MB • Base model sl-mini ██████████████▋░░░░░░░░░░░░░░░ 49% 377 MB/769 MB Default project Load model Skills and connections A step without a bar shows its elapsed time once it runs past a couple of seconds, and it ends with ✓ Setup complete in 1min 12s . When stderr isn't a terminal, each step prints one line as it finishes instead. docent model enable shows the same checklist for its download. To do this up front, or to stop the agent: docent agent start docent agent stop docent login Opens app.smartloop.ai in the browser to sign in, the same way the desktop app does: once you're in, the page hands the session to the local agent, which stores it and uses it for every platform call. The command waits up to five minutes and prints the account it signed in as. If the browser doesn't open, visit the URL it prints. To sign in with a token instead, run docent login --token and paste it at the prompt input is hidden , or use --token