open-pincery 1.0.1

Multi-agent platform for durable, event-driven AI agents
Documentation
1
2
3
4
5
6
7
8
use crate::api_client::ApiClient;
use crate::error::AppError;

pub async fn run(client: &ApiClient, agent_id: String, text: String) -> Result<(), AppError> {
    let json = client.send_message(&agent_id, &text).await?;
    println!("{json}");
    Ok(())
}