JSPM

@economicagents/resolver

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q68161F
  • License Apache-2.0

Intent resolution engine for AEP - matches intents to providers

Package Exports

  • @economicagents/resolver
  • @economicagents/resolver/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@economicagents/resolver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@economicagents/resolver

Intent resolution for AEP: discover providers from the index, filter by capability and reputation, score, plan execution (including multi-step decomposition and max_total).

Install

pnpm add @economicagents/resolver

From a local clone of economicagents/AEP: cd packages/resolver && pnpm run build.

Usage

Used by aep resolve, MCP resolve_intent, and REST POST /resolve when those entrypoints run locally.

import { resolveIntent } from "@economicagents/resolver";

const plan = await resolveIntent(intent, {
  indexPath,
  graphPath,
  accountAddress,
});

Configuration

  • Index: indexPath — provider index directory (default ~/.aep/index/)
  • Graph: graphPathgraph.db for recommendation boost
  • Account: accountAddress — personalized ranking when set

Dependencies

  • @economicagents/graph — Credit scoring, recommendations
  • @economicagents/indexer — Index search APIs
  • @economicagents/sdk — Intent schema, config helpers

Build & test

pnpm run build
pnpm run test

Documentation