Skip to main content

Calling IC from a Rust agent


The Rust agent by DFINTY is a simple-to-use library that enables you to build applications and interact with the Internet Computer. It serves as a Rust-based low-level backend for the IC SDK.

The ic-agent is a Rust crate that can connect directly to the Internet Computer through the Internet Computer..

The agent is designed to be compatible with multiple versions of the replica API, and to expose both low-level APIs for communicating with Internet Computer components like the replica and to provide higher-level APIs for communicating with software applications deployed as canisters.

One example of a project that uses the ic-agent is dfx, which you can find here.

  • Rust agent documentation here.
  • Rust agent source code here.