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

# Get Config Path • Rust AI Agent SDK

> get_config_path: Get config path if it exists

# get\_config\_path

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**config\_loader**](../modules/config_loader) module.

Get config path if it exists

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_config_path() -> Option<PathBuf>
```

### Returns

<ResponseField name="Returns" type="Option<PathBuf>">
  The result of the operation.
</ResponseField>

## Uses

* `find_config_file`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/config_loader.rs#L276">
  `praisonai/src/parity/config_loader.rs` at line 276
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Configuration" icon="gear" href="/docs/rust/configuration" />

  <Card title="Rust Installation" icon="download" href="/docs/rust/installation" />
</CardGroup>
