Requirements
- Rust 1.86 or newer
- a Phaseo Gateway API key
Install
Configure authentication
create_gateway_agent_client(...) and GatewayAgentClient::from_env(...) read PHASEO_API_KEY:
phaseo client also accepts an optional PHASEO_BASE_URL.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Install phaseo-agent and configure its Phaseo Gateway client.
[dependencies]
phaseo = "0.1"
phaseo-agent = "0.1"
serde_json = "1"
cargo add [email protected] [email protected] serde_json
create_gateway_agent_client(...) and GatewayAgentClient::from_env(...) read PHASEO_API_KEY:
export PHASEO_API_KEY="phaseo_v1_sk_..."
phaseo client also accepts an optional PHASEO_BASE_URL.
use phaseo_agent::{create_agent, AgentDefinition};
fn main() {
let _agent = create_agent(AgentDefinition::new(
"verification-agent",
"openai/gpt-5.6-sol",
));
println!("Phaseo Rust Agent SDK installed");
}
Was this page helpful?