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.
  • 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.15.

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
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.15, 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 1.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 1.0.0
File Size Uploaded Provenance Actions
agskillmanager-1.0.0.tar.gz 45.0 kB Without provenance Details for agskillmanager-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 95.0 kB

Release files / agskillmanager-1.0.0.tar.gz

Download URL agskillmanager-1.0.0.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
95df6a734369257e11bd65f0907cd943193b15b1cb6f9e7783ed527e9617be07
BLAKE2b-256 checksum
How to use checksums
1f5a7b755625e68026381fa05aa89c14b8f9f60a305981140246e869a20431ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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-1.0.0-py3-none-any.whl

Download URL agskillmanager-1.0.0-py3-none-any.whl
Size 50.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ac2ccd25c8f442d228595f2d85cac16761101dcb0409f0789233ee97ddb57b2
BLAKE2b-256 checksum
How to use checksums
380488163da73a8d4b61ced2268fc79390e596c8fd61e42ee613b4dedb3eda06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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 1.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

1.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