Build-vs-borrow intelligence for agentic workflows - helps AI agents discover and evaluate open source packages
Project description
priorart is a deterministic package evaluation tool for build-vs-borrow decisions. Given a natural language task description and target language, it queries package registries directly, collects quantitative signals from GitHub and deps.dev, and produces a scored recommendation based on configurable, research-informed heuristics.
Research Inspiration
Noise-floor thresholds for registry metrics are informed by Koch et al. (MADWeb 2024), which quantified the weak, language-dependent correlation between GitHub stars and downstream adoption. Abandonment detection follows Coelho & Valente (ESEC/FSE 2017) on categorizing open-source project failure modes. Adoption saturation curves for committer diversity and reverse-dependency counts reference Borges & Valente (JSS 2018) and Zerouali et al. (ICSR 2018) on technical lag in dependency networks. Health dimensions are aligned with the CHAOSS Project metrics framework.
Pipeline
- Taxonomy Mapping — Maps task descriptions to curated, language-specific registry search queries.
- Registry Discovery — Fetches candidates from PyPI, npm, crates.io, or pkg.go.dev, ranked by download count.
- Signal Collection — Enriches each candidate with GitHub repository metrics (stars, forks, MTTR, commit regularity) and deps.dev dependency health data.
- Multidimensional Scoring — Computes weighted scores across reliability, adoption, versioning, activity regularity, and dependency health.
- Decision Classification — Classifies packages as
use_existing(≥75),evaluate(50–74), orbuild(<50).
Properties
- Registry-first discovery — Queries registries directly; does not rely on GitHub search.
- Latency — 50–200 ms cached, 3–5 s cold.
- Deterministic — Scoring is fully quantitative; no LLM-generated recommendations.
- Supply-chain checks — Identity verification (typosquatting), copyleft license detection, and dependency vulnerability flags.
Documentation
- SETUP.md: Installation, environment configuration, and MCP server setup.
- API.md: Comprehensive guide to the CLI, Python API, and MCP tool definitions.
- ARCHITECTURE.md: Deep dive into the scoring algorithms, data flow, and cache design.
- STYLE.md: Project coding standards and architectural invariants.
- TESTING.md: Guidelines for running unit and integration tests.
- AGENT_CONFIG.md: Specific protocols for AI agents using priorart in autonomous workflows.
- TAXONOMY.md: Guide for contributing new package categories and search terms.
License
See LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file priorart_agent-0.1.0.tar.gz.
File metadata
- Download URL: priorart_agent-0.1.0.tar.gz
- Upload date:
- Size: 71.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d39987f81cc671e91a1848f0a52adfb52761f6e9ce6bc11b6409397774091624
|
|
| MD5 |
a507a9c24d474bf8dd410d855fe43437
|
|
| BLAKE2b-256 |
b3a83f676df98b9f35ec502bd1d5bae85d0a059f23c5c04ec9505d8eefa6d9cc
|
Provenance
The following attestation bundles were made for priorart_agent-0.1.0.tar.gz:
Publisher:
publish.yml on akshatvasisht/prior-art
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
priorart_agent-0.1.0.tar.gz -
Subject digest:
d39987f81cc671e91a1848f0a52adfb52761f6e9ce6bc11b6409397774091624 - Sigstore transparency entry: 1321165108
- Sigstore integration time:
-
Permalink:
akshatvasisht/prior-art@9a56e642273746dc02bee46b2886d38de0b8b1cd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/akshatvasisht
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a56e642273746dc02bee46b2886d38de0b8b1cd -
Trigger Event:
release
-
Statement type:
File details
Details for the file priorart_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: priorart_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e78d9aefee621b0010bfe49bbc7b9d9d30af2b79e3ead93806a8947e4839d930
|
|
| MD5 |
8b005d9578854e37bca5f7609d1d31da
|
|
| BLAKE2b-256 |
f7bd10fe1696f6e8e87a835abcdb4c6183af2fc6f3823127ebebdd427fcc6e00
|
Provenance
The following attestation bundles were made for priorart_agent-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on akshatvasisht/prior-art
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
priorart_agent-0.1.0-py3-none-any.whl -
Subject digest:
e78d9aefee621b0010bfe49bbc7b9d9d30af2b79e3ead93806a8947e4839d930 - Sigstore transparency entry: 1321165281
- Sigstore integration time:
-
Permalink:
akshatvasisht/prior-art@9a56e642273746dc02bee46b2886d38de0b8b1cd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/akshatvasisht
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a56e642273746dc02bee46b2886d38de0b8b1cd -
Trigger Event:
release
-
Statement type: