Skip to main content

AG Skill Manager

agskillmanager

Governed, framework-agnostic Skill lifecycle management for AI agents.

CI PyPI Documentation Python Coverage Typed License

Reusable instructions become application assets: validated, discoverable, versioned, reviewable and ready to compose. Skill Manager produces a typed SkillBundle; your agent framework owns execution.

Why Skill Manager?

  • Canonical YAML and typed, validated domain models.
  • Immutable revision identity, dependency resolution and provenance lineage.
  • Async ABC extension points for storage, discovery, generation and telemetry.
  • Hybrid keyword, fuzzy and BM25 Skill discovery powered by RetrievalLoom, with pluggable embeddings, rerankers and NLI.
  • Human approval, rejection and feedback-informed regeneration.
  • MCP capability resolution, refresh scheduling and bounded caches.
  • Fully configured downstream runtimes stay injectable, including their stores, policies, plugins and transport options.
  • No LangChain or LangGraph dependency in core. Works with plain Python, Agno, CrewAI or any runtime that consumes instructions.

Install

Python 3.12 through 3.14.

pip install agskillmanager
pip install "agskillmanager[langchain]"     # xstructured generation and embeddings
pip install "agskillmanager[postgres,otel]" # PostgreSQL and OpenTelemetry
pip install "agskillmanager[all]"

Quickstart

import asyncio

from skill_manager import Skill, SkillManager, SkillMetadata


async def main() -> None:
    async with SkillManager() as manager:
        skill = await manager.register_skill(
            Skill(
                metadata=SkillMetadata(
                    name="incident-review",
                    version="1.0.0",
                    description="Review incidents using verified evidence.",
                ),
                instructions=(
                    "Separate confirmed facts from hypotheses.",
                    "Report unresolved risks explicitly.",
                ),
            )
        )
        matches = await manager.discover("review incident", top_k=1)
        bundle = await manager.build_bundle(matches)
        print(skill.skill_id)
        print("\n".join(bundle.instructions))


asyncio.run(main())

Add a FilesystemSkillSource for YAML persistence, or inject a PostgreSQL registry for a shared catalog. Enable require_human_approval=True when generating untrusted instructions. Restart-safe review needs durable registry and feedback storage.

Customize without losing downstream options

Runtime Inject through Configure in that runtime
feedback-manager feedback_manager= Storage, routing, policies and learning
mcp-capability-router mcp_runtime= Registry, retrieval, transport, auth, resilience
refresh-engine refresh_engine= Source, operation, fingerprint, storage and events
agxai xai_runtime= Provenance, disclosure, explanation and plugins
retrievalloom discovery=RetrievalLoomDiscoveryProvider(...) Embeddings, reranker, NLI, indexes, stores and retrieval config
xstructured XStructuredSkillGenerator(...) Runnable, repair and structured-output options

Caller-created collaborators remain caller-owned. See the full customization matrix.

Explore

Development

uv sync --locked --all-extras --all-groups
uv run --no-sync ruff check .
uv run --no-sync ruff format --check .
uv run --no-sync pyrefly check
uv run --no-sync pytest
uv run --no-sync zensical build --strict

CI measures 100% line and branch coverage with a PostgreSQL service, checks Python 3.12–3.14, validates docs and verifies a core wheel without optional frameworks. Service/model examples are live-tested when their documented environment variables are set. Never commit credentials.

Licensed under Apache-2.0.

Metadata

Release files for agskillmanager 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agskillmanager 2.0.0
File Size Uploaded Provenance Actions
agskillmanager-2.0.0.tar.gz 45.5 kB Without provenance Details for agskillmanager-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agskillmanager 2.0.0
File Interpreter ABI Platform Actions
agskillmanager-2.0.0-py3-none-any.whl Python 3 none any Details for agskillmanager-2.0.0-py3-none-any.whl

Total release size: 96.0 kB

Release files / agskillmanager-2.0.0.tar.gz

Download URL agskillmanager-2.0.0.tar.gz
Size 45.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2181ea1892b22e8ebccfdb382d8e9d200085b57090cfb28a58f876fdd88ca27a
BLAKE2b-256 checksum
How to use checksums
cc7e3891cee3650157d8c85aa7afa4e187a01a3b5d49c1e582ec7465d9d34bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / agskillmanager-2.0.0-py3-none-any.whl

Download URL agskillmanager-2.0.0-py3-none-any.whl
Size 50.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2744231e34dafc490491e7590981ce686f497bd633c2ed9273a81ea134645569
BLAKE2b-256 checksum
How to use checksums
d85424fda043c1bd460c5c6d376df911b254b34cdbf1c4feef133f4b213d1982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for agskillmanager 2.0.0

Provenance

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page