Sinapsis Anthropic
Sinapsis templates for Anthropic Claude text, multimodal, and MCP workflows.
🐍 Installation • 🚀 Features • 📚 Usage example • 📙 Documentation • 🔍 License
The sinapsis-anthropic package provides packet-native templates for running Claude models with
LLMConversationPacket, including standard text generation, multimodal inputs, and MCP tool flows.
🐍 Installation
Install using your preferred package manager. We strongly recommend using uv.
Install the base package:
uv pip install sinapsis-anthropic --extra-index-url https://pypi.sinapsis.tech
Or with raw pip:
pip install sinapsis-anthropic --extra-index-url https://pypi.sinapsis.tech
🚀 Features
Templates Supported
- AnthropicTextGeneration: Standard Claude text generation on top of
LLMConversationPacket. - AnthropicMultiModal: Multimodal completion that reads image packets from
container.images. - AnthropicWithMCP: Packet-native MCP orchestration using
LLMConversationPacket.tools,tool_calls, andtool_results.
🧩 Common Attributes
init_args(LLMInitArgs, required): Anthropic model selection arguments.llm_model_name(str, required): Claude model identifier.
completion_args(AnthropicCompletionArgs, required): Request-time generation parameters such asmax_tokens,temperature,top_p,top_k,service_tier, andstop_sequences.extended_thinking(AnthropicThinkingArgs, optional): Extended-thinking configuration.web_search(bool, optional): Enables Anthropic's built-in web search tool for supported models.cleanup_response(bool, optional): Whether to clean leaked transport or template markers from the final response.reasoning_start_tag/reasoning_end_tag(str | None, optional): Optional tags used to extract reasoning into the packetreasoningfield and keep the final answer inresponse.
📚 Usage example
The following configuration runs one Claude text-generation step from an LLMConversationPacket.
Config
agent:
name: my_claude_agent
description: Agent with support for text-to-text conversational chat using Anthropic Claude models
templates:
- template_name: InputTemplate
class_name: InputTemplate
attributes: {}
- template_name: LLMConversationInput
class_name: LLMConversationInput
template_input: InputTemplate
attributes:
prompt: "Give three short tips for staying organized during a busy week."
system_prompt: "You are a helpful assistant."
- template_name: AnthropicTextGeneration
class_name: AnthropicTextGeneration
template_input: LLMConversationInput
attributes:
init_args:
llm_model_name: "claude-sonnet-4-6"
completion_args:
max_tokens: 1024
temperature: 0.7
service_tier: standard_only
extended_thinking:
type: disabled
web_search: false
To run a config:
sinapsis run path_to_config.yaml
📙 Documentation
Documentation for this and other sinapsis packages is available on the sinapsis website
Tutorials for different projects within sinapsis are available at sinapsis tutorials page
🔍 License
This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the LICENSE file.
For commercial use, please refer to our official Sinapsis website for information on obtaining a commercial license.
Metadata
Release files for sinapsis-anthropic 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sinapsis_anthropic-0.2.1.tar.gz | 27.1 kB | Without provenance | Details for sinapsis_anthropic-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sinapsis_anthropic-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for sinapsis_anthropic-0.2.1-py3-none-any.whl |
Total release size: 56.2 kB
Release files / sinapsis_anthropic-0.2.1.tar.gz
| Download URL | sinapsis_anthropic-0.2.1.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e300605e7cd5799910a69a28e16132b5fb9d4769a44eda7d714c84bf0fc376f2
|
|
BLAKE2b-256 checksum How to use checksums |
ebd4011439cf0052af32ebfdde05bd402b6ff8537e02f2393c6374a015e30b1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.16
|
Release files / sinapsis_anthropic-0.2.1-py3-none-any.whl
| Download URL | sinapsis_anthropic-0.2.1-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94175751e6dd22aa22d5a6a0c4ea5931546afbea8b56a482b20e903082cb6f57
|
|
BLAKE2b-256 checksum How to use checksums |
c2ed64ef87db87b923265d97de208c1526b217555a57579277f72e8e5a5371d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.16
|
Security for sinapsis-anthropic 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.