Anthropic trains Claude using constitutional AI, a method that has the model critique and revise its own outputs against a set of written principles rather than relying only on human raters. Claude ships as a chat assistant, an API for developers, and Claude Code, a command-line coding agent.