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

# Overview

> Overview of Tinfoil SDKs and their use cases

The Tinfoil SDKs are drop-in replacements for OpenAI clients with automatic security verification on every connection. Available for Python, TypeScript/Node, Go, Rust, and Swift. The CLI can also act as a reverse proxy.

## Available SDKs

V3 attestation verification in the Go and Swift SDKs, CLI, and [Tinfoil Proxy](https://docs.tinfoil.sh/local-proxy/app.md) is [beta](https://docs.tinfoil.sh/resources/feature-status.md) while deployment is ongoing. This label applies to client versions that use V3.

Read the full documentation for your SDK:

> [card] [Python](https://docs.tinfoil.sh/sdk/python-sdk.md)

> [card] [JavaScript](https://docs.tinfoil.sh/sdk/javascript-sdk.md)

> [card] [Go](https://docs.tinfoil.sh/sdk/go-sdk.md)

> [card] [Rust](https://docs.tinfoil.sh/sdk/rust-sdk.md)

> [card] [Swift](https://docs.tinfoil.sh/sdk/swift-sdk.md)

> [card] [CLI](https://docs.tinfoil.sh/sdk/cli-sdk.md)

If you'd like to see an SDK for a different language or runtime, please reach out at [contact@tinfoil.sh](mailto:contact@tinfoil.sh) and we'll prioritize adding support for it.

## Why you should use the SDKs

The SDKs make it easy to integrate Tinfoil into your applications without having to
worry about encryption, attestation verification, or other security pitfalls.
All the privacy and integrity features offered by Tinfoil are automatically verified
for you and all connections are blocked in case of verification failure.

Each SDK is designed to be a **drop-in replacement** for OpenAI clients.
This means you can continue to use the chat completions or responses API formats
with Tinfoil models. However, not all backend features are supported or enabled
for all models. If you experience issues, please don't hesitate to contact us.

For accessing the inference endpoint directly via HTTPS without an SDK (which we discourage for production workloads), see [Direct API Access](https://docs.tinfoil.sh/sdk/direct-api-access.md).

## Guides

> [card] [Prompt Caching](https://docs.tinfoil.sh/sdk/prompt-caching.md)
>
> Reuse prompt prefixes with automatic per-user cache scoping.

> [card] [Web Search](https://docs.tinfoil.sh/guides/web-search.md)
>
> Enable AI models to search the web with optional PII protection.

> [card] [Tool Calling](https://docs.tinfoil.sh/guides/tool-calling.md)
>
> Learn how to use function calling capabilities with AI models.

> [card] [Structured Outputs](https://docs.tinfoil.sh/guides/structured-outputs.md)
>
> Use JSON schema validation for reliable data extraction.

> [card] [Image Processing](https://docs.tinfoil.sh/guides/image-processing.md)
>
> Process images with multimodal AI models.

> [card] [Document Processing](https://docs.tinfoil.sh/guides/document-processing.md)
>
> Upload and process documents securely.

> [card] [Proxy Server](https://docs.tinfoil.sh/guides/proxy-server.md)
>
> Keep your API key server-side while preserving end-to-end encryption.


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