All notable changes to this project are documented here. This change log follows the conventions of keepachangelog.com.
Initial release: an idiomatic Clojure wrapper over the official Anthropic Java
SDK (com.anthropic/anthropic-java 2.40.1).
anthropic.core/client - construct a client (env ANTHROPIC_API_KEY or
explicit :api-key).anthropic.core/create-message - Clojure request map to response map, with
:model/:max-tokens/:system/:messages/:tools, parsed content blocks
(text, thinking, tool_use), stop-reason, and usage.anthropic.core/stream-text - stream a request, invoking a callback per text
delta and returning the full text.tool_use blocks (input keywordized),
and :tool-result / assistant-echo block content to complete the agentic loop.Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |