cohere-sdk-patterns
jeremylongshore/claude-code-plugins-plus-skills
This guide provides production-ready code patterns for integrating with the Cohere AI API v2 using TypeScript and Python. It covers essential best practices, including singleton client management, robust retry mechanisms, type-safe chat wrappers, streaming, embedding, reranking, and structured JSON output. Use this when establishing team coding standards or refactoring existing Cohere integrations.