Skip to main content

Anthropic Building Blocks for Meshagent

Project description

Meshagent

MeshAgent Anthropic

The meshagent.anthropic package provides adapters to integrate Anthropic models (Messages API) with MeshAgent tools and agents.

Messages Adapter

  • AnthropicMessagesAdapter: wraps the Anthropic Messages API. It turns Toolkit objects into Anthropic tool definitions, executes tool calls, and returns the final assistant response.
from meshagent.anthropic import AnthropicMessagesAdapter

adapter = AnthropicMessagesAdapter(model="claude-3-5-sonnet-latest")

Tool Response Adapter

AnthropicMessagesToolResponseAdapter converts a tool's structured response into Anthropic tool_result blocks that can be inserted back into the conversation.


Learn more about MeshAgent on our website or check out the docs for additional examples!

Website: www.meshagent.com

Documentation: docs.meshagent.com


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meshagent_anthropic-0.28.3.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meshagent_anthropic-0.28.3-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file meshagent_anthropic-0.28.3.tar.gz.

File metadata

  • Download URL: meshagent_anthropic-0.28.3.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshagent_anthropic-0.28.3.tar.gz
Algorithm Hash digest
SHA256 619816b89c4e25c2ca19ba535c1f673c2388028a2bdd8a24fe861b59a3ba329c
MD5 da2bc7e92d8c2536b2ae21757858fff9
BLAKE2b-256 e86170b1be7bd32f03b47ae2c7132636ddc296c51394def0f057b631d93fc05e

See more details on using hashes here.

File details

Details for the file meshagent_anthropic-0.28.3-py3-none-any.whl.

File metadata

File hashes

Hashes for meshagent_anthropic-0.28.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc618f4570c297700419e4ba1d9f60c6be066a03f7b980fb791d85b7351c93df
MD5 a3d75742144faa8ded945001b36ebde9
BLAKE2b-256 0979dc4e1c98801d8c39c1eb067cc0f99480d5301752929ff3f2e04656c449f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page