YUNOVA · AI Agents · Module 9: Agents with the OpenAI and Claude SDKs

Setting up a key and the SDK

Notes for offline study · 30 November 2026

Setting up a key and the SDK

Key points

  • OpenAI या Anthropic (Claude) के console पर account बनाकर API key बनाई जाती है।
  • API key को code में सीधे न लिखें; environment variable या .env file में रखें और Git में commit न करें।
  • Python में SDK pip से install होता है, जैसे openai या anthropic package।
  • पहला test एक छोटा 'hello' message भेजकर करें कि key और setup सही हैं।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.