{"_id":"@d3ara1n/pi-provider-agnes","_rev":"4-6e3c1cdb7e415a5bc920f16092828b7f","name":"@d3ara1n/pi-provider-agnes","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@d3ara1n/pi-provider-agnes","version":"1.0.0","keywords":["pi-package","pi"],"license":"MIT","_id":"@d3ara1n/pi-provider-agnes@1.0.0","maintainers":[{"name":"d3ara1n","email":"d3ara1n@outlook.com"}],"homepage":"https://github.com/d3ara1n/pi-extensions#readme","bugs":{"url":"https://github.com/d3ara1n/pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"2cee18d2713d03ac1bece724090bd51bd8c7d956","tarball":"https://registry.npmjs.org/@d3ara1n/pi-provider-agnes/-/pi-provider-agnes-1.0.0.tgz","fileCount":3,"integrity":"sha512-JK8l6qUSlwOTMn5vBs3dFPzfmaKpCsllICzV7ASzX3vYVfdFdqCj12VNY6tBJztyA3601zlxNHB9SQSnbalnsA==","signatures":[{"sig":"MEQCIAd2TKU/eitw2oYr/Aj8n0MGXGFItoZY9JLoQGw6eppuAiAQJnVhbnreRrh9W3TVbRln+lIGQqt02gvHzZY54kREGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5307},"main":"src/index.ts","type":"module","gitHead":"99c63ee5e7e42512be7048893f2cf5a51b8a277a","_npmUser":{"name":"d3ara1n","email":"d3ara1n@outlook.com"},"repository":{"url":"git+https://github.com/d3ara1n/pi-extensions.git","type":"git","directory":"packages/pi-provider-agnes"},"_npmVersion":"11.17.0","description":"Agnes AI provider for pi — registers agnes (token billing) and agnes-plan (subscription) providers with text models","directories":{},"_nodeVersion":"26.5.0","_hasShrinkwrap":false,"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-provider-agnes_1.0.0_1783708297466_0.41090091149526753","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@d3ara1n/pi-provider-agnes","version":"1.1.0","keywords":["pi-package","pi","pi-extension"],"license":"MIT","_id":"@d3ara1n/pi-provider-agnes@1.1.0","maintainers":[{"name":"d3ara1n","email":"d3ara1n@outlook.com"}],"homepage":"https://github.com/d3ara1n/pi-extensions#readme","bugs":{"url":"https://github.com/d3ara1n/pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"b71ca1d406d26604bc9590ae17ba2d170d8576ee","tarball":"https://registry.npmjs.org/@d3ara1n/pi-provider-agnes/-/pi-provider-agnes-1.1.0.tgz","fileCount":3,"integrity":"sha512-qWrmecDcYgcK3wMDnBHWyp9fSIDvDKVkIMZ+nPI/yBzQiEp/4p1ilgSWPaGk3rKeI7UUMzzDFG9TqVGw2Z9WGQ==","signatures":[{"sig":"MEUCICgoq5j0D1iL1mi/X2mGPzDOmhFWqLmy/aThi66TFncLAiEAwT5lzOO6W7X8qoZj7a9ONQTk/nWVGVRS/2TOQM2/CTA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d3ara1n%2fpi-provider-agnes@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5327},"main":"src/index.ts","type":"module","gitHead":"71d965173d55c50b1626364be3daa593576d506d","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8ff4853-0d20-4d82-8223-72937025f6c7"}},"repository":{"url":"git+https://github.com/d3ara1n/pi-extensions.git","type":"git","directory":"packages/pi-provider-agnes"},"_npmVersion":"11.16.0","description":"Agnes AI provider for pi — registers agnes (token billing) and agnes-plan (subscription) providers with text models","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-provider-agnes_1.1.0_1783716930602_0.4672238580648349","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@d3ara1n/pi-provider-agnes","version":"1.1.1","keywords":["pi-package","pi","pi-extension"],"license":"MIT","_id":"@d3ara1n/pi-provider-agnes@1.1.1","maintainers":[{"name":"d3ara1n","email":"d3ara1n@outlook.com"}],"homepage":"https://github.com/d3ara1n/pi-extensions#readme","bugs":{"url":"https://github.com/d3ara1n/pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"27462a333592baab6229ecf43645bc623bc84e9f","tarball":"https://registry.npmjs.org/@d3ara1n/pi-provider-agnes/-/pi-provider-agnes-1.1.1.tgz","fileCount":3,"integrity":"sha512-NBqeHWgJqOi1J+Evjf2FLvgfgiZDmkijqFN8ZnZgKOm3zN8t6ko/ADpygDXRUVkS2vtbU8KuVEW+ybVEaVYUsA==","signatures":[{"sig":"MEUCIQDybcjXFyHlL93d4mqq8KKLPJxysd0UD0ODfet6G/myJAIgBDsyBpTgDlAcqx9D5tD0TbFaO53OtxiQXA7etxRRupg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d3ara1n%2fpi-provider-agnes@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5372},"main":"src/index.ts","type":"module","gitHead":"84ae5180458120d087fe324feccc367afb85b758","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8ff4853-0d20-4d82-8223-72937025f6c7"}},"repository":{"url":"git+https://github.com/d3ara1n/pi-extensions.git","type":"git","directory":"packages/pi-provider-agnes"},"_npmVersion":"11.17.0","description":"Agnes AI provider for pi — registers agnes (token billing) and agnes-plan (subscription) providers with text and image input models","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-provider-agnes_1.1.1_1786705910607_0.5942259629706639","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@d3ara1n/pi-provider-agnes","version":"1.2.0","type":"module","description":"Agnes AI provider for pi — registers agnes (token billing) and agnes-plan (subscription) providers with text and image input models","keywords":["pi-package","pi","pi-extension"],"main":"src/index.ts","peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"pi":{"extensions":["./src/index.ts"]},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/d3ara1n/pi-extensions.git","directory":"packages/pi-provider-agnes"},"gitHead":"1e4d2f0c17c48ddaac199020bfb595117177710a","_id":"@d3ara1n/pi-provider-agnes@1.2.0","bugs":{"url":"https://github.com/d3ara1n/pi-extensions/issues"},"homepage":"https://github.com/d3ara1n/pi-extensions#readme","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-8vnG4ufpLGSplz9yQM2te8r8Q9sEijriQTw/bGKSSQ1GnriIpB4PnySV8QLRwyKUXBa2Fk3gZmwNBwqbtHl13A==","shasum":"6e95e30b485a2df90ccd393fb979340ec65c9b63","tarball":"https://registry.npmjs.org/@d3ara1n/pi-provider-agnes/-/pi-provider-agnes-1.2.0.tgz","fileCount":3,"unpackedSize":5509,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d3ara1n%2fpi-provider-agnes@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDCFcsphHNrWyjZ1p6a6p3Xvziy7qCNy+TIdkifMH3NsQIhAIz8VjsQgX0znhF6pfgi+b6W521RIjHsOPT02LFLnt1D"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8ff4853-0d20-4d82-8223-72937025f6c7"}},"directories":{},"maintainers":[{"name":"d3ara1n","email":"d3ara1n@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-provider-agnes_1.2.0_1787848462086_0.2586622648591981"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-10T18:31:37.244Z","modified":"2026-08-27T16:34:22.573Z","1.0.0":"2026-07-10T18:31:37.613Z","1.1.0":"2026-07-10T20:55:30.729Z","1.1.1":"2026-08-14T11:11:50.762Z","1.2.0":"2026-08-27T16:34:22.217Z"},"bugs":{"url":"https://github.com/d3ara1n/pi-extensions/issues"},"license":"MIT","homepage":"https://github.com/d3ara1n/pi-extensions#readme","keywords":["pi-package","pi","pi-extension"],"repository":{"type":"git","url":"git+https://github.com/d3ara1n/pi-extensions.git","directory":"packages/pi-provider-agnes"},"description":"Agnes AI provider for pi — registers agnes (token billing) and agnes-plan (subscription) providers with text and image input models","maintainers":[{"name":"d3ara1n","email":"d3ara1n@outlook.com"}],"readme":"# @d3ara1n/pi-provider-agnes\n\nAgnes AI provider for pi — registers two providers sharing the same text + image models but differing in billing model.\n\n## Providers\n\n| Provider ID | Name | Billing | API Key Env |\n|---|---|---|---|\n| `agnes` | Agnes AI | Token billing | `$AGNES_API_KEY` |\n| `agnes-plan` | Agnes AI (Token Plan) | Subscription plan | `$AGNES_PLAN_API_KEY` |\n\n### `agnes`\n\nToken-based billing provider. Agnes has not published official token pricing, so cost values are 0 (no cost shown). Update when Agnes publishes pricing — use the non-discounted regular-period price (see [PROVIDER.md](../../PROVIDER.md)).\n\n### `agnes-plan`\n\nSubscription plan provider. Cost set to zero — the subscription fee is a fixed monthly charge, not per-token.\n\n## Models\n\nBoth providers export the same models:\n\n| Model | Reasoning | Input | Context | Max Output |\n|---|---|---|---|---|\n| `agnes-2.0-flash` | Yes | text, image | 256K | 64K |\n| `agnes-1.5-flash` | No | text, image | 256K | 64K |\n\n## Installation\n\n```bash\npi install npm:@d3ara1n/pi-provider-agnes\n```\n\nOr add to `~/.pi/agent/settings.json`:\n\n```jsonc\n{\n  \"extensions\": [\n    \"/absolute/path/to/pi-extensions/packages/pi-provider-agnes\"\n  ]\n}\n```\n\nSet your API key(s) via environment variable:\n\n```bash\nexport AGNES_API_KEY=\"sk-...\"       # for agnes provider\nexport AGNES_PLAN_API_KEY=\"sk-...\"  # for agnes-plan provider\n```\n\nOr configure via `/login` or `auth.json`.\n\n## Dependencies\n\nNone — this is a standalone provider with no pi-extension dependencies. It uses pi's built-in `openai-completions` streaming.\n\n## Usage Quota Reporting\n\nNot yet implemented. Agnes AI does not currently expose a public quota or balance API. When one becomes available, quota reporting will be added via `@d3ara1n/pi-usage-block-core`. See [`plans/pi-provider-agnes.md`](../../plans/pi-provider-agnes.md) for the integration plan.\n","readmeFilename":"README.md"}