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.2.0.tar.gz (16.2 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.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skill_tuple_space-0.2.0.tar.gz
  • Upload date:
  • Size: 16.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 2fd4b13a1ad8f131097b1dcd09564f73900dde811862c3416d6d3eda8c72442f
MD5 e3fb0326697e9be71ebb3f587875cf33
BLAKE2b-256 66414d717863ef196b9212e7befbe6e22d11209dbc97d112b0b1c00e8c48b2c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_tuple_space-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for skill_tuple_space-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce551745d4130ff7563c8492dc1a5d5dad84172ee43837e31a66762b4acb97b6
MD5 20c8ac18afa5e23b97065d05ae8dbe42
BLAKE2b-256 fc40abdb237e6488126ed16d0fbde3591630e64a37d7403bf471a33f13ee4d75

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_tuple_space-0.2.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