{"id":59133,"library":"ic-agent","title":"IC Agent","description":"Agent library for communicating with the Internet Computer blockchain following the Public Specification.","status":"active","version":"0.47.3","language":"rust","source_language":null,"source_url":"https://github.com/dfinity/agent-rs","tags":["internet-computer","blockchain","agent","icp"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nic-agent = \"0.47.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ic-agent","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Agent","correct":"use ic_agent::Agent;"}],"quickstart":{"code":"use ic_agent::Agent;\n\n#[tokio::main]\nasync fn main() {\n    let agent = Agent::builder().with_url(\"https://ic0.app\").build().unwrap();\n    println!(\"Agent created\");\n}","lang":"rust","description":"Creates an agent to interact with the Internet Computer."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main] or another async runtime.","message":"Requires an async runtime like Tokio for execution.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'agent':2,3,20 'blockchain':11,19 'communic':6 'comput':10,18 'follow':12 'ic':1 'icp':21 'internet':9,17 'internet-comput':16 'librari':4 'public':14 'specif':15","created_at":"2026-06-16T16:51:36.923262+00:00","updated_at":"2026-06-16T16:51:36.923262+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://docs.rs/ic-agent","github":"https://github.com/dfinity/agent-rs","docs":"https://docs.rs/ic-agent/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}