Skip to main content

Fuzzy Tuple Space for Agent Skills — index, search, and predict across skill git repos

Project description

skill-tuple-space

Fuzzy Tuple Space for Agent Skills.

Inspired by David Gelernter's Linda coordination language and JavaSpaces, skill-tuple-space indexes your agent skill git repos into a local SQLite store and lets you query them using two complementary mechanisms:

  • Fuzzy layer — membership-function scoring on structured metadata (skill_class, crud_verb, topic, requires_role). Pure Python, no heavy deps.
  • Semantic layer (optional) — cosine similarity on SKILL.md descriptions via sentence-transformers. Opt in only if you want it.

These are two distinct things: the semantic layer finds what is similar, the fuzzy layer reasons about how well something fits your current taxonomy and context.

Install

Default — fuzzy matching only, lightweight, no PyTorch:

pip install skill-tuple-space

With semantic search — adds sentence-transformers + PyTorch (~200MB CPU / ~3GB CUDA):

pip install "skill-tuple-space[semantic]"

Quickstart

# 1. Copy and edit config
mkdir -p ~/.skill-space
cp config.example.toml ~/.skill-space/config.toml

# 2. Index your repos
skill-space index run

# 3. Semantic + fuzzy search
skill-space search query "create something visual with 3d"

# 4. Linda-style template matching
skill-space search read "skill_class=Process, crud_verb=create, topic=*"

# 5. Learning journal
skill-space learn claim create-openscad-from-construction-image-en
skill-space learn done create-openscad-from-construction-image-en --level 4
skill-space learn next --topic agent-skills

# 6. Space health
skill-space space stats
skill-space space drift

Architecture

src/skill_space/
├── cli.py        # typer CLI entry point
├── indexer.py    # git clone + SKILL.md parse + embed
├── embedder.py   # sentence-transformers (all-MiniLM-L6-v2, 384-dim)
├── store.py      # SQLite + sqlite-vec persistence
├── matcher.py    # fuzzy membership functions + cosine combiner
├── journal.py    # learning events CRUD
├── predictor.py  # readiness scoring + next-skill suggestion
└── display.py    # rich terminal output

License

MIT

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

skill_tuple_space-0.3.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skill_tuple_space-0.3.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file skill_tuple_space-0.3.0.tar.gz.

File metadata

  • Download URL: skill_tuple_space-0.3.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skill_tuple_space-0.3.0.tar.gz
Algorithm Hash digest
SHA256 912acf8817730529aa173c7047223a2f0c6742297e7488a1d6654d48f6bcfd26
MD5 4e062e0955706a66c9c5b86eb3a9ec1c
BLAKE2b-256 b9bd1221408bc2dd8419542fc0ecbbfa9c504f8f867f238618caa8e23413a039

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_tuple_space-0.3.0.tar.gz:

Publisher: publish.yml on roebi/skill-space

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skill_tuple_space-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for skill_tuple_space-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8631ea36b9b6942cddc596b995e8079dbd91f91aed760e45a794e7669af587e0
MD5 24e2daf09c17bab55bae5a43c8e8f464
BLAKE2b-256 2e8fe6b3c6eeaba143a9be7625d538e48adf2bb37874777522260257bedf3471

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_tuple_space-0.3.0-py3-none-any.whl:

Publisher: publish.yml on roebi/skill-space

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page