# proxy_config

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_proxy_config/proxy_config)

Build a sandbox proxy config from one or more proxy rules.

Use provider-specific rule helpers such as ``aws_auth`` and ``gcp_auth``
when a sandbox needs multiple auth flows.

## Signature

```python
proxy_config(
    *,
    rules: Sequence[SandboxProxyRule] | None = None,
    no_proxy: Sequence[str] | None = None,
    access_control: dict[str, Any] | None = None,
) -> SandboxProxyConfig
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/d6cd6082f09e7826a2d6afe444ae6119e61b82a6/python/langsmith/sandbox/_proxy_config.py#L88)