@dfinity/agent
JavaScript and TypeScript library to interact with the Internet Computer
@dfinity/agent@3.4.3 was published on 2025-11-19. Its manifest declares 2 runtime dependencies and 3 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: This package has been deprecated. Use @icp-sdk/core/agent instead. Migration guide: https://js.icp.build/core/latest/upgrading/v5
All @dfinity/agent versions · Permanent reference to 3.4.3 · View npm registry JSON
Package specifications
| Version | 3.4.3 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2025-11-19T16:32:50.520Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 3 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1047.97 KiB |
| Published file count | 243 |
| Package type | Not declared |
| ES module entry | ./lib/esm/index.js |
| Default entry | ./lib/cjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 171 |
| Repository forks | 97 |
Install @dfinity/agent 3.4.3
npm install @dfinity/agent@3.4.3 pnpm add @dfinity/agent@3.4.3 yarn add @dfinity/agent@3.4.3
Runtime dependencies
- @dfinity/cbor ^0.2.2
- @noble/curves ^1.9.2
Peer requirements
- @noble/hashes ^1.8.0
- @dfinity/candid 3.4.3
- @dfinity/principal 3.4.3
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @dfinity/cbor@0.2.3 — direct
- @noble/curves@1.9.7 — direct
- @noble/hashes@1.8.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-05T13:41:17.459Z
- https://api.deps.dev/v3/systems/npm/packages/%40dfinity%2Fagent/versions/3.4.3 — retrieved 2026-11-05T13:41:17.698Z
- https://api.deps.dev/v3/systems/npm/packages/%40dfinity%2Fagent/versions/3.4.3:dependencies — retrieved 2026-11-05T13:41:17.725Z
- https://api.deps.dev/v3/projects/github.com%2Fdfinity%2Ficp-js-core — retrieved 2026-11-05T13:41:17.874Z