@economicagents/resolver
v0.2.0
Published
Intent resolution engine for AEP - matches intents to providers
Maintainers
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/resolverFrom 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:
graphPath—graph.dbfor 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 testDocumentation
- Cookbook — Intent resolution
- API reference
