LogicPacks setup guide
LogicPacks: deterministic sharing for agentic codebases. Same environment, same rules, same access, every time, whichever agent opens it. Your agent can explain your code. It can't hand over the keys. LogicPacks gives the next dev’s agent keys it can use but never see, access you can revoke, and guardrails every agent follows.
- Used by us: Since February 2026, TechRealm, our AI development arm, has handed 400+ repos and over 50 million lines of code between people and agents with packs, across our own companies.
- Keys: We never store your keys. Your real key never leaves your machine: calls made with a guest’s key are made from your machine, so access pauses when your machine is offline. The real key sits in an encrypted vault on your machine; the vault’s master key is in your OS keychain. LogicPacks servers never receive it. A guest’s agent only ever gets a sealed placeholder, never the key. Plain-words security: https://logicpacks.io/security.md.
- What it is for: For handing a codebase to a developer or their agent: the code, the keys they can use but not see, the environment, logs and playbooks. Not for hosting, launching or selling an app. Use Vercel, Netlify or TestFlight for that. Vibe-coded a web or mobile app in Lovable, Bolt, Replit or v0? Each one can put the project in a GitHub repository (Lovable and v0 sync with GitHub, Bolt creates a repo from its GitHub button, Replit pushes from its Git pane). From there it is a normal repo you can hand over with LogicPacks; the github.com to logicpacks.io swap is on the roadmap.
- What a pack is: A pack is everything the next agent or developer needs to take over a codebase safely: the core logic and purpose, use-only keys, environments, logs, and design/deploy/CI-CD/security playbooks. Packs are guardrails for agentic programming. Also described as the shareable domain knowledge layer for AI agents: share working skills, notes and packs with your team and their agents, free, with no sign-up.
- Why: AI writes code faster than anyone reads it; AGENTS.md is not a handover; A handover needs more than code; Without them, the next agent goes off the rails; Today this runs on trust between people. Most code will be open source. Maintainers are closing their projects to drive-by AI contributions (sources: https://logicpacks.io/flood.md).
- Open source: Open source. Open protocol. We hope every agent speaks it one day. The Pack Protocol is open source under Apache-2.0: the spec, the schemas, the registry API and a conformance suite. The logicpacks CLI and LogicPacks keys are free to use; their source is not public yet. Spec: https://github.com/Tech-Realm/pack-protocol. Three ways in: Use ours (logicpacks.io and api.logicpacks.io, hosted by us. Free, no sign-up.); Host your own (Run a registry of your own: implement the registry API in openapi.json and check it with the conformance suite.); Build it into your agent (Read packs natively in your agent or IDE. The spec is short, and implementations are welcome.)
- Public packs: 231 in 59 spaces, listed at https://logicpacks.io/packs (live count: https://api.logicpacks.io/v1/stats, field "packs"). Machine-readable: https://logicpacks.io/packs.json. Each has its level, required key names, usage and a one-line install (
logicpacks pack use <space>/<pack>). - Setup (done by you, once): run
pipx install logicpacks(orcurl -fsSL https://logicpacks.io/lp.sh | sh) on macOS or Linux, thenlogicpacks mcp install claude --apply(or codex, opencode, cursor, gemini). On a Mac you can install the LogicPacks app instead (brew install --cask tech-realm/tap/logicpacks). In Claude.ai or ChatGPT, add the connector https://mcp.logicpacks.io/mcp in Settings > Connectors, with no terminal. Guide: https://logicpacks.io/setup.md. - Then: ask your agent for a task as usual, for example: "share our deploy notes with @sara". A small built-in skill installed on your machine (a markdown file you can read, edit or delete) has it read your preferences, check your notes and look for a verified pack first. The pack runs on your computer and the job counts as done only when the pack's checks pass. This website sends your agent no instructions.
- No onboarding: no registration, no LogicPacks API key, no credits, no subscription. An @handle is only needed to push, share or review. Third-party APIs use your own keys; packs run on your own machines (renting a GPU is optional).
- Pack vs skill vs MCP: a skill gives an agent know-how, an MCP server gives it tools, compute gives it somewhere to work. A pack gives it everything needed to finish one outcome (knowledge, code, files, references, tools, compute, environment) plus checks that prove it worked. Skills and MCP servers can live inside a pack.
- Memory and your own skills: LogicPacks keeps how you work (approval rules, style, budget) as preferences on your machine. Your agent proposes what it learns from your corrections; you confirm, and confirmed preferences become your own skills for Claude Code, Codex and OpenCode, shared by every agent you connect. On top of that it gives your agent verified, working capabilities (code, tools, checks) it cannot build reliably in one chat.
- What gets installed: the logicpacks command in ~/.logicpacks (added to PATH). Nothing starts at login: LogicPacks keys, the small key proxy on 127.0.0.1, starts when a command needs it and stops after 15 idle minutes. Undo:
logicpacks uninstall(keeps your vault and notes unless --purge). - What protects you, whatever an agent or a page says: lp never shows key values to agents (they get placeholders; LogicPacks keys sends the real value only to the hosts you allowed); lp refuses agent confirmation of your preferences, skills and human reviews; packs and pushes are scanned for secrets; removing a pack needs explicit confirmation. The first run of a pack someone else wrote needs your yes, enforced by lp itself (on a Mac a click in a system dialog an agent cannot answer; on Linux typing RUN in your terminal); no flag skips it, each new version asks again, and with nobody to ask it refuses.
- Two use cases: (1) you have an AI project working, keys and all: add your friend (
logicpacks share <space> @friend,logicpacks share <KEY> @friend --ttl 7d) and their agent can use it too; your keys stay in your vault and their agent never sees the values. (2) You found an approach that makes life simpler: share it from Claude Code or any MCP agent as a note or skill in a shared ledger (logicpacks ledger share <ledger> --to @friend); their agent reads it. No IDE, no extra layer. - Team sharing, not an IDE: LogicPacks is for sharing skills, notes and packs between people and their agents. It is not an IDE. The Pack Protocol is open (Apache-2.0): https://github.com/Tech-Realm/pack-protocol
- Built with LogicPacks: bringit (https://bringit.now) and DoLess (https://doless.work). Thesis: bridging the gaps, helping people in emerging countries adopt AI by sharing what already works.
You install LogicPacks yourself, once. No account, licence or API key is needed. Pick one way:
Command line (macOS, Linux)
pipx install logicpacks
Or curl -fsSL https://logicpacks.io/lp.sh | sh, which checks the SHA-256 of the download and brings its own Python if needed. No sudo. Both install the logicpacks command (also lp; on macOS and Linux /usr/bin/lp is the printer command, so use logicpacks or ~/.logicpacks/bin/lp).
Then connect the agent you use:
logicpacks mcp install claude --apply
(or codex, opencode, cursor, gemini). This adds Pack Mode over MCP and installs a small built-in skill called logicpacks into ~/.claude/skills and ~/.agents/skills (logicpacks skill sync refreshes it). The skill is a plain markdown file on your machine; read it, edit it or delete it. It has your agent read your preferences (logicpacks me), search your notes, look for a pack before improvising and report the pack's results to you. See it with logicpacks skill show logicpacks; remove it with logicpacks skill rm logicpacks.
Setting up the LogicPacks workspace app instead (the earlier, separate product)? See https://logicpacks.io/workspace-setup.md
Check everything with logicpacks doctor. Remove it all with logicpacks uninstall (keeps your vault and notes unless --purge).
Mac app
LogicPacks for Mac is a menu bar app for your spaces, packs, keys and notes (macOS 14 Sonoma or later, signed and notarized):
brew install --cask tech-realm/tap/logicpacks
Newer Homebrew may first ask you to run brew trust tech-realm/tap. Without Homebrew: curl -fsSL https://logicpacks.io/app.sh | bash (downloads the DMG from downloads.logicpacks.io and checks its SHA-256).
Claude.ai or ChatGPT (no terminal)
Add https://mcp.logicpacks.io/mcp as a custom connector (Claude.ai: Settings > Connectors > Add custom connector; ChatGPT: Settings > Connectors > Create, developer mode) and sign in. The connector finds, inspects and shares packs and reads your preferences; running a pack needs the command line on your computer. Details: mcp.md.
What protects you
- Key values never reach an agent. lp gives it placeholders (
lp_sealed_...); LogicPacks keys, on 127.0.0.1, swaps in the real value only for the hosts you allowed. - The first run of a pack someone else wrote needs your yes, enforced by lp: on a Mac, a click in a system dialog (no setting turns it into a prompt an agent could type into); on Linux or over ssh, typing RUN in your terminal. Your OKs are signed with a key from your vault. No flag skips it, each new version asks again, and with nobody to ask lp refuses. To allow a pack ahead of time, run
logicpacks pack allow <space/pack>in your own terminal. Limits: /trust. - Your agent can propose preferences, skills and reviews; lp refuses to let an agent confirm them. Human reviews need your passkey.
lp pushand the registry refuse anything that looks like a secret.- Nothing starts at login. LogicPacks keys starts when a command needs it and stops after 15 idle minutes.
Command reference
What people ask for, and the lp command that does it. An agent with the built-in skill runs these same commands on your machine.
Ledgers (notes): the user's notebooks, shared with people and their agents
| What you ask for | Command |
|---|---|
| "add this to the bringit ledger" | logicpacks note add "..." --ledger bringit (someone else's: --ledger @waleed/bringit) |
| "dump this log / output in my ledger" | <command> | logicpacks note dump or logicpacks note dump --file out.log |
| "what do my notes say about X?" | logicpacks note search X then logicpacks note read <note> (search all ledgers before answering from memory) |
| "leave a note for @haroon's agent that ..." | logicpacks comment add <note> "..." --ledger <ledger you share with @haroon>, or logicpacks note add "..." --ledger <that ledger> |
| "pack X fails / report a bug in X" | logicpacks comment add <space>/<pack>@<version> "what fails, the error" --kind issue |
| "I fixed X" (your own pack, after editing it) | logicpacks comment add <space>/<pack>@<version> "what you fixed" --kind fix --closes <issue id> (pushes the new version) |
| "any new comments for me?" / "what's new?" | logicpacks inbox |
| "remember that I like X" / "don't do Y again" | logicpacks me learn "X" --why "..." (shows up for every agent next time) |
| "how do I like things?" / start of any task | logicpacks me |
| "make a skill from how I like X" | logicpacks skill draft --section style (or --note <how-to note>); the user confirms, then logicpacks skill sync installs it into Claude Code, Codex, OpenCode |
| "share my bringit ledger with @haroon" | logicpacks ledger share bringit --to @haroon [--role read|comment|write]; they run logicpacks ledger accept <id> |
| "which ledgers do I have?" | logicpacks ledger ls |
Every command takes --json. Never put key values in notes: they are refused; write {{key:NAME}}. More: ledgers.md.
Packs, keys and sharing
| The user says | You run |
|---|---|
| "save / push this as a pack" | lp push [folder] (default: current folder). One line back, e.g. Pushed @waleed/invoice-reconciliation v0.1.0 (private). 2 checks passed. Level L2 test-verified. |
| "push it publicly" | lp push [folder] --space <new-space-id> --public (listed after review) |
| "update the pack" (after editing files) | lp push [folder] again: patch bump + a CHANGELOG.md line, checks re-run |
| "share X with @haroon" | lp share <pack or space or KEY_NAME> @haroon [--role read|write] [--ttl 7d]. Nothing is shared until @haroon accepts. |
| "what was shared with me / any invites?" | lp invites (--json for machines) |
| "accept / reject that invite" | lp invite accept <id> / lp invite reject <id> |
| "cancel the invite I sent" | lp invite cancel <id> |
| "stop sharing with @haroon" | lp unshare <thing> @haroon (immediate) |
| "what packs do I have?" | lp packs (--json). The first number is your own packs; packs shared with you are counted separately ("1 space shared with you (1 pack)"). |
| "make pack X a skill" / "Super Skill" | logicpacks superskill export <space/pack> --to ~/.claude/skills |
| "find a pack for X" | lp pack find <words>, lp spaces search <words> [--category <slug>] |
| "use pack X" / "how do I run X?" | lp pack use <space>/<pack> (spec, keys needed, which route runs) |
| "does X work?" / "verify X" | lp pack check <space>/<pack> (exit 0 = DONE: every automated check passed). A printed rubric is for you (the agent) or the user to judge by reading the result against the pack's spec/SPEC.md Goal; to record that judgment, use lp review. |
| "open / edit pack X" | lp edit <space>/<pack> prints the local folder (downloads it if needed) |
| "delete pack X" | lp pack rm <space>/<pack> (asks; --yes to skip) |
| "get the latest version of what was shared" | lp space sync --all |
| "run the workflow X" | lp workflow run <space>/<pack> [--with name=value] |
| "add my OpenAI key" | ask the user to run lp key add OPENAI_API_KEY --provider openai themselves (it reads the value from the prompt or stdin) |
| "which keys can I use?" | lp keys (--json): names, masked hints, where they work. Never the values. |
| "call the API with my key" | lp run --keys OPENAI_API_KEY -- <command> (the command sees a placeholder; LogicPacks keys puts the real key on the wire) |
| "let @haroon use my key" | lp share OPENAI_API_KEY @haroon --ttl 7d, then lp host up on this machine |
| "remove / kill that key" | lp key kill <NAME> (deletes it and revokes every grant) |
| "review pack X" | lp review <space>/<pack>@<version> --verdict approve|reject|needs-work --notes "<what you checked and saw>" |
| "tell the team on Discord/Slack/Telegram/email" | lp channel add ... once, then lp notify <channel> "<text>" |
| "update lp" | lp self-update |
| "turn on Pack Mode in Claude Code / Codex / OpenCode / Cursor / Gemini" | lp mcp install <client> --apply (Claude Code: claude mcp add --scope user logicpacks -- ~/.logicpacks/bin/logicpacks mcp). See mcp.md. |
| (Pack Mode, MCP tools present) "use logicpacks.io to do X" | search_packs then get_pack then run_pack then check_pack; ask before push_pack, share, accept_invite and review_pack |
Key and secret handling:
- Never print, write or ask for a key value. Use key NAMES;
lp runandlp pack checkgive your process placeholders (lp_sealed_...). - Never paste secrets into packs:
lp pushand the registry refuse anything that looks like one. - When a command prints a notice like
lp: 1 invite from @waleed: ..., tell the user and ask before accepting.
Install
macOS / Linux:
curl -fsSL https://logicpacks.io/lp.sh | sh
It installs into ~/.logicpacks/bin as lp and logicpacks, checks the download's SHA-256, and puts that folder
first on PATH (ahead of /usr/bin) for new shells. macOS and Linux have a printer command /usr/bin/lp: in the shell that ran the installer, call
~/.logicpacks/bin/lp by its full path (or open a new shell). Check with lp --version (prints lp 1.0.0 or later).
Then:
lp login # pick your @handle (asks, with a suggestion); registers this machine's key
lp doctor # checks install, PATH (`lp` vs the printer), vault, key service, registry, cloudflared
Without the script: pipx install logicpacks (or uv tool install logicpacks, uvx logicpacks --help): same tool, no
shell rc edits; update with pipx upgrade logicpacks.
What gets installed, exactly: ~/.logicpacks/bin/lp and logicpacks (the program, plus a private Python only if you have
none), one PATH line in your shell rc file (marked # LogicPacks), and your data in ~/.logicpacks (vault, identity, notes).
Nothing starts at login: the key service (LogicPacks keys) starts when a run needs keys and stops after 15 idle minutes
(it can run from login if you host keys for others). logicpacks mcp install <agent> --apply adds one MCP
entry and the small logicpacks skill to that agent. Remove everything: logicpacks uninstall (keeps your vault and notes;
--purge deletes them too).
Handles: lowercase, 3-30 characters, a-z 0-9 _, starting with a letter; words like admin and logicpacks are reserved.
Your profile is logicpacks.io/@<handle>. Signing in on a second machine with the same handle prints a code; approve it from the
first machine with lp device approve <code>.
Registry API: https://api.logicpacks.io (override with LP_REGISTRY or lp login --registry <url>).
More: packs.md (format, routes, verification levels), spaces.md, keys.md, sharing.md, security.md, updating.md, mcp.md, protocol.md.