A profile-based personal AI agent for terminal, desktop & mobile apps, and private ALP networks
pip install alpi-agent==0.16.22 Copy PIP instructions
alpi starts as the agent in your terminal, then grows with you: profiles for work, cron, home servers, research, and workgroups with other alpis. Each profile owns its memory, keys, model, skills, approvals, and trust boundary. ALP links them across machines without a registry, central account, or mandatory cloud.
Bring any model. Keep every key. Run one alpi, or a network that stays yours.
Most useful agents eventually become infrastructure: they hold memory, touch files, run commands, answer from a phone, wake up on schedules, and coordinate work across machines. alpi treats the profile as the unit of that infrastructure, not the chat.
uv tool install alpi-agent alpi setup alpi alpi doctor During setup, pick a model, paste the relevant key, and pin a workspace. For local-only inference, install Ollama first and add it in alpi setup -> Model.
The browser tool downloads the Chromium headless shell (~340 MB) on first use, cached under your platform's Playwright directory. No manual step.
alpi # interactive TUI alpi -c # resume last session alpi -p work # use named profile alpi chat --once "status?" # one-shot stdout turn alpi setup # model, email, MCPs, sandbox, daemon alpi doctor # live health checks alpi update # check PyPI and upgrade alpi-agent alpi logs # merged profile logs alpi audit-log # administrative activity, never chat content alpi profile list alpi profile create work alpi profile remove work alpi daemon start|stop|restart|status # unified per-machine supervisor alpi schedule run-once|fire # operational scheduler verbs alpi peers key alpi peers list alpi peers add alpi peers ping alpi workgroup list alpi workgroup create --member alpi workgroup join For the first-day walkthrough, see QUICKSTART.md.
Profiles are the isolation primitive. A profile is one directory, one identity, one model choice, one memory, one skill set, one schedule surface, and one ALP peer list. The default profile lives at ~/.alpi/; named profiles live under ~/.alpi/profiles/ /.
Memory is plain Markdown. USER.md captures facts about the user, MEMORY.md captures environment quirks and durable operational facts, and AGENT.md shapes how alpi should respond. Memory is updated inline during conversations; there is no post-session reflection loop.
Skills are reusable recipes with a strict directory contract. They can include instructions, scripts, references, assets, secrets, and state. Mutations go through validation and a security scanner; secrets live in either .env or a per-skill secrets/ directory.
Workspace is the default root for relative paths, not a fake security wall. File tools and terminal can use absolute paths except for a sensitive-path denylist. Real workspace-only isolation is the opt-in OS sandbox.
ALP is the Alpi Link Protocol. Each profile owns an Ed25519 keypair. Peers pin pubkeys out of band and grant explicit capabilities such as link.ping, link.ask, and workgroup.post. ALP.1 handles same-machine profiles over Unix sockets. ALP.2 handles inter-machine links with Noise_XK over TCP plus budgets and rate limits. ALP.3 adds hub-anchored workgroups.
Host plane is separate from ALP. It is the device-facing control surface used by paired desktop and mobile clients to talk to their own daemon (host.* over a local Unix socket or remote WebSocket). Connections groups one operational identity, its profile access, sessions and usage with one or more independently revocable device credentials. Peer TCP listener configures ALP peer traffic.
alpi assumes the LLM is powerful, fallible, and sitting next to user credentials. The guardrails are local and layered:
uv run --with pytest pytest -q uv run --with pytest pytest --integration -q uv run --with pytest pytest --llm License alpi is source-available from day one. The agent core is published by Satoshi Ltd. under the Business Source Licence 1.1, with a scheduled conversion to Apache 2.0 on 2030-04-23, or four years after each version's first public release, whichever comes first.
Individuals are free. A natural person running alpi on machines they control may use it in production for any personal, research, or non-commercial purpose. Legal entities are free for evaluation, internal development, and experimentation; production deployment by a company, or offering alpi as a hosted, embedded, or managed service, needs a Satoshi Ltd. commercial licence.
agent ai cli llm personal-agent privacy agent-to-agent email
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.




