Agentic experience kit — package and distribute agent skills as portable .xp files.
Project description
Leaxp
Learn -> experience — an agentic experience kit. Package and distribute agent skills as portable, deduplicated, model-agnostic
.xpfiles.
Leaxp learns agent skills from examples (text, code, images) and packages them into *.xp files that any agent can load and recall via MCP. Smaller context, cheaper inference, model-agnostic.
Status: pre-alpha bootstrap.
Install
# minimal
pip install leaxp
# with the local-first stack (Chroma + sentence-transformers)
pip install "leaxp[chroma,local-embed]"
# everything
pip install "leaxp[all]"
Quickstart
exp init # configure providers + create leaxp.toml
exp learn ./docs --goal "use leaxp" # extract records, embed, store
exp try ./docs/index.md --goal "use leaxp" # debug a single doc
exp forge # cluster, consolidate, dedupe (optional)
exp build my-skill.xp # export to a portable .xp
exp load my-skill.xp # load + locally re-embed
exp mcp --port 8822 # serve via MCP for any agent
exp use --local 8822 --claude # wire MCP into Claude Code
Concepts
- Claim — undisputable fact the agent must know but cannot modify.
- Hint — adjustable best-practice the agent can adapt to context.
- Recall — the MCP tool agents call; returns records grouped by
Useful WHEN: <condition>. .xpfile — zip with a manifest + JSONL of raw records (no embeddings). Embeddings are computed locally onexp loadso the same pack works with any embedding model.
Project structure
See CLAUDE.md for the package architecture overview.
Development
uv sync # create venv, install deps
uv run pre-commit install # enable hooks
uv run ruff check . && uv run pyright # lint + typecheck
uv run pytest --cov # tests with coverage
uv run exp --help
License
Apache-2.0 — see LICENSE.txt.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leaxp-0.0.4.tar.gz.
File metadata
- Download URL: leaxp-0.0.4.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f16316111de4e643ecad490e4be8219dabe8313466647fb02ebf6e3c2dba3e94
|
|
| MD5 |
ee655b3c19ba411a2c95c4ac51e35563
|
|
| BLAKE2b-256 |
dddf41acf29f3c695379054439000396914eed20b135cdc9fbe8d32892c43be7
|
Provenance
The following attestation bundles were made for leaxp-0.0.4.tar.gz:
Publisher:
release.yml on vunone/leaxp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
leaxp-0.0.4.tar.gz -
Subject digest:
f16316111de4e643ecad490e4be8219dabe8313466647fb02ebf6e3c2dba3e94 - Sigstore transparency entry: 1454180280
- Sigstore integration time:
-
Permalink:
vunone/leaxp@c849ab59145953d1201ff67c92fda21d8508a6ca -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/vunone
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c849ab59145953d1201ff67c92fda21d8508a6ca -
Trigger Event:
push
-
Statement type:
File details
Details for the file leaxp-0.0.4-py3-none-any.whl.
File metadata
- Download URL: leaxp-0.0.4-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a6771d503add283229c9f3c6fed43bbca68e70c50a1e81f08ae0537b91f7bed
|
|
| MD5 |
f49f1ef53de7229c0edc1aa3f2deb309
|
|
| BLAKE2b-256 |
4cc66576eedaf30435ad883f325b46a165124494216b3a9c92ea0c66e8d870e5
|
Provenance
The following attestation bundles were made for leaxp-0.0.4-py3-none-any.whl:
Publisher:
release.yml on vunone/leaxp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
leaxp-0.0.4-py3-none-any.whl -
Subject digest:
3a6771d503add283229c9f3c6fed43bbca68e70c50a1e81f08ae0537b91f7bed - Sigstore transparency entry: 1454180320
- Sigstore integration time:
-
Permalink:
vunone/leaxp@c849ab59145953d1201ff67c92fda21d8508a6ca -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/vunone
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c849ab59145953d1201ff67c92fda21d8508a6ca -
Trigger Event:
push
-
Statement type: