Cohere Command R+ / Command A Agents
Enterprise-grade Cohere model family (Command R/R+/A) built so multi-step tool use, RAG with inline citations, and JSON-schema-constrained outputs are first-class API behaviours rather than client-side workarounds.
Description
Cohere markets the Command family as 'AI purpose-built for real-world agentic applications anchored in your data'. The Chat API directly supports multi-step (a.k.a. agentic) tool use: the model can decide to chain tool calls and feed each result into the next step. RAG is a documented mode on the same endpoint, with citations emitted alongside generated text. Structured outputs are constrained either by JSON mode or by a caller-supplied JSON Schema. Cohere also packages Command into the North platform for enterprise agent workflows.
Solution
Stateless HTTP request/response Chat API. The caller drives a tool-use loop: send user message + tools schema, receive either a final answer or a list of tool_calls, execute the tools, post the tool_results back as a new turn, repeat until the model returns a normal assistant message. RAG mode uses a documents[] parameter on the same endpoint and emits citations[] alongside text. Same loop shape supports JSON mode and JSON-Schema-constrained outputs via response_format.
Primary use cases
- enterprise RAG with grounded, inline-cited answers
- multi-step tool/function calling agents
- JSON-schema-constrained structured extraction
- regulated-industry chat backends and copilots
Open the full interactive page →
Diagram, neighbourhood map, code examples, related patterns and full provenance.