> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust Agent SDK इंस्टॉलेशन

> phaseo-agent install करें और इसका Phaseo Gateway client configure करें।

## आवश्यकताएँ

* Rust 1.86 या नया
* Phaseo Gateway API key

## इंस्टॉल करें

```toml theme={null}
[dependencies]
phaseo = "0.1"
phaseo-agent = "0.1"
serde_json = "1"
```

या चलाएँ:

```bash theme={null}
cargo add phaseo@0.1 phaseo-agent@0.1 serde_json
```

## प्रमाणीकरण कॉन्फ़िगर करें

`create_gateway_agent_client(...)` और `GatewayAgentClient::from_env(...)`, `PHASEO_API_KEY` पढ़ते हैं:

```bash theme={null}
export PHASEO_API_KEY="phaseo_v1_sk_..."
```

Underlying `phaseo` client optional `PHASEO_BASE_URL` भी स्वीकार करता है।

## इंस्टॉलेशन की पुष्टि करें

```rust theme={null}
use phaseo_agent::{create_agent, AgentDefinition};

fn main() {
    let _agent = create_agent(AgentDefinition::new(
        "verification-agent",
        "openai/gpt-6-astra",
    ));
    println!("Phaseo Rust Agent SDK installed");
}
```

## आगे क्या करें

* [अपना पहला Rust एजेंट बनाएँ](./agent-sdk.mdx)
* [टूल और अनुमोदन](./agent-sdk-tools.mdx)
* [Agent API संदर्भ](./agent-sdk-api-reference.mdx)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.