Skip to main content

Deterministic package-manager-style resolver for AI skills

Project description

Aptitude Resolver banner

Aptitude Resolver

PyPI GitHub Python uv MCP Typer

A deterministic, package-manager-style resolver for AI skills.


Install

Install the published package as a CLI tool:

uv tool install aptitude-resolver
aptitude --help

Run it without a persistent install:

uvx aptitude-resolver --help

The package installs these console commands:

  • aptitude
  • aptitude-resolver
  • aptitude-mcp

aptitude is the command most users should run.

For MCP hosts that should launch the published package without a persistent install, use:

uvx aptitude-resolver mcp

Configure Registry Access

Registry-backed commands use the public Aptitude registry by default. Provide a read token:

export APTITUDE_READ_TOKEN=your-read-token

Override the registry URL only for local development or self-hosted registries:

export APTITUDE_SERVER_BASE_URL=http://localhost:8000
export APTITUDE_READ_TOKEN=reader-token

aptitude policy show can still inspect local policy without contacting the registry.


Usage

Launch the install-first wizard:

aptitude

Install a skill by query:

aptitude install "Postman Primary Skill"
aptitude install "Postman Primary Skill" --agent codex --scope project

Search and inspect before installing:

uvx aptitude-resolver search "Documentation Writing"
uvx aptitude-resolver inspect "Documentation Writing"

Inspect effective local policy and config layers:

aptitude policy show

Replay an existing lockfile:

aptitude sync --lock aptitude.lock.json

Show the full command and flag surface:

aptitude manifest

MCP Server

Aptitude ships a local stdio MCP server for agents and MCP-compatible apps. The recommended MCP host configuration runs the published PyPI package locally through uvx:

{
  "mcpServers": {
    "aptitude": {
      "command": "uvx",
      "args": [
        "aptitude-resolver",
        "mcp"
      ],
      "env": {
        "APTITUDE_READ_TOKEN": "your-local-read-token"
      }
    }
  }
}

The MCP server process still runs locally. uvx only resolves the published package and starts its mcp command over stdio.

The MCP server exposes tools for search, inspect, resolve, policy inspection, install destination preview, install, and lock sync. Mutating install calls require explicit agents and scope; lock sync requires an explicit filesystem target.

If Aptitude is already installed as a persistent tool, MCP hosts can also use the direct executable:

{
  "mcpServers": {
    "aptitude": {
      "command": "aptitude-mcp",
      "args": [],
      "env": {
        "APTITUDE_READ_TOKEN": "your-local-read-token"
      }
    }
  }
}

Replace APTITUDE_READ_TOKEN with a token accepted by the target Aptitude Server.


What Works Today

  • discovery-backed query resolution
  • candidate version selection
  • recursive dependency graph resolution
  • policy filtering and graph governance
  • lockfile generation and replay
  • archive-based skill materialization from verified tar.zst artifacts
  • agent-ready exports for project, global, and custom skill roots
  • local config loading from aptitude.toml
  • CLI and MCP interfaces

Source

Source and contributor documentation live in the project repository:

https://github.com/aptitude-stack/resolver

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

aptitude_resolver-0.2.6.tar.gz (94.6 kB view details)

Uploaded Source

Built Distribution

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

aptitude_resolver-0.2.6-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

File details

Details for the file aptitude_resolver-0.2.6.tar.gz.

File metadata

  • Download URL: aptitude_resolver-0.2.6.tar.gz
  • Upload date:
  • Size: 94.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aptitude_resolver-0.2.6.tar.gz
Algorithm Hash digest
SHA256 b00977b03c5d2eae2b80f1ccbb7e2ad1d9a66eb1339b0e9d7546b313ef15dbe4
MD5 0dca583d1e4fd28e7a4bbb701af8c577
BLAKE2b-256 f50952f08cd709135d3c5f31a32fdb3c0ce40a885536725368d494b3d5aefb04

See more details on using hashes here.

File details

Details for the file aptitude_resolver-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: aptitude_resolver-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 145.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aptitude_resolver-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4ce3389602f8e091c6e68da9ff6cfb1bf51b9f55a44d5312ef131b523bed3078
MD5 74bf949e0ce790cb1477983dc56eb55e
BLAKE2b-256 318bb866a81201e6ee5ab88d62bc9fe7f12d84cf1eecab7e94ff1b4069b90401

See more details on using hashes here.

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