Skip to main content

Deterministic package-manager-style resolver for AI skills

Project description

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 need an Aptitude Server URL and read token:

export APTITUDE_SERVER_BASE_URL=https://your-aptitude-server.example
export APTITUDE_READ_TOKEN=your-read-token

For local development against the default server:

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"

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_SERVER_BASE_URL": "http://localhost:8000",
        "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, and lock sync. Mutating tools require explicit filesystem targets.

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_SERVER_BASE_URL": "http://localhost:8000",
        "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
  • 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.1.1.tar.gz (83.1 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.1.1-py3-none-any.whl (132.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aptitude_resolver-0.1.1.tar.gz
  • Upload date:
  • Size: 83.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.1.1.tar.gz
Algorithm Hash digest
SHA256 c9bf4f057a5b817e8af6bd89e299c17556b400639eaac0297e2f988673e743be
MD5 84e3d57f4c3ada04d81984aca7cf0de5
BLAKE2b-256 7b6f90f113669789f8a63fd83896bced624b6b0b35f84a9989176ecba3e14064

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aptitude_resolver-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 132.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e8baf00b8d2ee6adcf10a3e9abfc5697c3b48375a8709cec71c840aa4d1a82c
MD5 faa1364c5d0cc367f8b13eeadd651a90
BLAKE2b-256 c2da46c58170590b6ff5ac225339632dd66ab11cf82d09e346dbae786bcaaec8

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