use acpr::Acpr;
use agent_client_protocol::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Connecting to auggie agent via sacp...");
let agent = Acpr::new("auggie");
match Client
.builder()
.connect_with(agent, |_cx| async {
println!("Connected to agent successfully!");
Ok(())
})
.await
{
Ok(_) => println!("Client connection completed"),
Err(e) => println!("Client connection failed: {}", e),
}
Ok(())
}