# إدماج الذكاء الاصطناعي

> دع مساعدي التشفير والوكلاء يعملون مع Sendtern بأمان

Copy a setup prompt for Codex, Claude Code or OpenCode. Paste it into an agent that has access to your repository. The agent can implement the integration and use the Playground to test it.

## أعطي عميلك الوثائق

| الملف | يحتوي على |
| --- | --- |
| [/setup.md](https://sendtern.com/setup.md) | Repository integration, test capture and migration |
| [llms.txt](https://sendtern.com/llms.txt) | A concise index of the setup and API resources |
| [/docs/llms.txt](https://sendtern.com/docs/llms.txt) | A Markdown article index grouped by topic |
| [llms-full.txt](https://sendtern.com/llms-full.txt) | A bundle of core guides and reference links |

## القواعد المتعلقة بالوكلاء

1. استخدم مفتاح **إرسال فقط** لا تعطى أبدا الوكيل الوصول الكامل.
2. قراءة المفتاح من `SENDTERN_API_KEY`. لا تكتبه أبداً في ملفات المصدر.
3. دائما إرسال `Idempotency-Key` رأس لذا إعادة المحاولات لا تكرار البريد الإلكتروني.
4. أطلب من مشغل حيز العمل التحقق من حالة التسليم في لوحة التحكم. مفتاح الإرسال يقوم فقط بتصفية البريد.
5. في `429`، انتظر للثوان في `Retry-After` قبل المحاولة مجدداً.

## Check the integration

Use POST /test/emails first, then inspect the capture in Email Playground. Switch to production once the sender domain is verified and the recipient has been approved.
