Skip to content

Quickstart

Prerequisites

  • Rust toolchain — install via rustup if you don’t have it
  • Git — with submodule support

1. Clone and Build

Terminal window
git clone --recurse-submodules https://github.com/jacobprall/moneypenny.git
cd moneypenny
cargo build --release

Put the binary on your PATH:

Terminal window
cp target/release/mp /usr/local/bin/mp

Or use the setup script, which also downloads the local embedding model:

Terminal window
./scripts/setup.sh

2. Initialize

Terminal window
mp init

This creates:

  • moneypenny.toml — project configuration
  • mp-data/ — data directory with one SQLite file per agent
  • A default agent named main

3. Connect to Your Agent

Moneypenny exposes its full surface area as an MCP server. One command registers it with your agent runtime — no manual JSON editing required.

Terminal window
mp setup claude-code

Writes .mcp.json in your project root. For global registration across all projects:

Terminal window
mp setup claude-code --global

Restart Claude Code to pick up the new MCP server.

Verify

Start a conversation and ask:

What Moneypenny tools do you have?

Your agent should list the available MCP tools. Once connected, every operation below can be performed by asking your agent in plain English. The following steps show both ways.

4. Add Some Knowledge

Ingest a document:

Terminal window
mp ingest path/to/document.md

Or from a URL:

Terminal window
mp ingest --url "https://example.com/docs"

5. Add Facts

Store structured knowledge:

Terminal window
echo '{"op":"memory.fact.add","args":{"content":"Our API rate limit is 1000 req/min per tenant.","summary":"API rate limit: 1000 req/min/tenant","pointer":"API: rate-limit","confidence":0.95,"keywords":"api rate limit tenant"}}' \
| mp sidecar

List what was stored:

Terminal window
mp facts list
Terminal window
mp facts search "rate limit"
mp knowledge search "deployment"

7. Chat (Requires LLM)

For interactive conversation with your agent:

Terminal window
mp chat

For a one-shot message:

Terminal window
mp send main "What do you know about our deployment pipeline?"

8. Start the Gateway

For multi-agent, multi-channel operation:

Terminal window
mp start

This spawns worker processes for each agent, starts the scheduler, and binds configured channel adapters (HTTP, Slack, Discord, Telegram).

What’s Next