Modules@robinpath/anthropic
@robinpath/anthropic
0.1.1PublicAnthropic module for RobinPath.
@robinpath/anthropic
Anthropic module for RobinPath.
Why use this module?
The anthropic module lets you:
- createMessage
- chat
- summarize
- translate
- extract
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/anthropic
Quick Start
1. Set up credentials
anthropic.setCredentials "your-credentials"
2. createMessage
anthropic.createMessage
Available Functions
| Function | Description |
|---|---|
anthropic.setCredentials | Configure anthropic credentials. |
anthropic.createMessage | createMessage |
anthropic.chat | chat |
anthropic.summarize | summarize |
anthropic.translate | translate |
anthropic.extract | extract |
anthropic.classify | classify |
anthropic.analyzeImage | analyzeImage |
anthropic.countTokens | countTokens |
anthropic.listModels | listModels |
anthropic.createBatch | createBatch |
anthropic.getBatch | getBatch |
anthropic.listBatches | listBatches |
anthropic.cancelBatch | cancelBatch |
anthropic.getBatchResults | getBatchResults |
anthropic.complete | complete |
anthropic.generateCode | generateCode |
Examples
createMessage
anthropic.createMessage
chat
anthropic.chat
summarize
anthropic.summarize
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/anthropic";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
anthropic.setCredentials "your-credentials"
anthropic.createMessage
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/openai— OpenAI module for complementary functionality@robinpath/ai— AI module for complementary functionality@robinpath/deepl— DeepL module for complementary functionality@robinpath/translate— Translate module for complementary functionality@robinpath/json— JSON module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.1 | latest | yesterday |
Related Modules
ai
0
@robinpath/agent
v0.1.1robinpath
AI agent integration (Claude Code, OpenAI Codex) for RobinPath pipelines
0 downloads
...
ai
0
@robinpath/ai
v0.1.1robinpath
LLM integration for OpenAI, Anthropic, and compatible APIs
0 downloads
...
ai
0
@robinpath/deepl
v0.1.0robinpath
DeepL module for RobinPath.
0 downloads
...
ai
0
@robinpath/openai
v0.1.1robinpath
OpenAI module for RobinPath.
0 downloads
...
Install
$ robinpath install @robinpath/anthropic Version0.1.1
LicenseMIT
Unpacked Size4.3 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

