Cohere Reference Architecture

•
2.4k
•

Implements production-ready, layered architecture for Cohere API v2 applications including RAG pipelines and tool-use agents.

This skill provides a standardized blueprint for building robust AI applications using the Cohere API v2 within Claude Code. It establishes a clear, four-layer project structure—comprising API, Service, Cohere, and Infrastructure layers—to ensure scalability and maintainability. Users can leverage this skill to implement advanced Retrieval-Augmented Generation (RAG) pipelines with reranking, build autonomous agents with pluggable tool registries, and utilize complex error classification for reliable, production-grade deployments.

主要功能

01Comprehensive Cohere API v2 error classification and retry logic
02Environment-specific model selection for Command and Embed models
03Tool-use agent loop with a modular, pluggable tool registry
04Advanced RAG pipeline with rerank pre-filtering and grounded citations
05Standardized four-layer project layout for Cohere integrations
062,369 GitHub stars

使用场景

01Refactoring an existing monolithic LLM implementation into a layered architecture
02Designing a new production-grade RAG application using Cohere API v2
03Implementing autonomous agents with tool-calling capabilities using Cohere Command models