# Secret AI SDK

Secret AI SDK is an advanced security layer designed to integrate seamlessly with [DeepSeek](https://www.deepseek.com/), ensuring a secure and efficient API interaction. By requiring an API Key for access, it provides an additional layer of authentication and data protection, safeguarding sensitive communications.&#x20;

This security protocol enhances the reliability and safety of DeepSeek's operations, offering developers confidence in managing and deploying their applications within secure boundaries. With Secret AI SDK, users can ensure that their interactions remain private and protected against unauthorized access.

Secret AI SDK caters to diverse application needs by supporting two types of clients: Synchronous and Asynchronous. Each client type is designed to check for the environment variable `SECRET_AI_API_KEY`, which must be correctly set to facilitate secure communication with the confidential LLM.&#x20;

{% hint style="info" %}
An API master key is available for developer preview; later on developers will be able to request individual API keys through the developer portal.
{% endhint %}

This configuration ensures that all interactions are authorized and protected, offering a robust framework for developing secure, reliable AI-driven applications.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scrt.network/secret-network-documentation/secret-ai/sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
