agent-framework-anthropic 0.0.0a1__tar.gz → 1.0.0b251104__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of agent-framework-anthropic might be problematic. Click here for more details.
- agent_framework_anthropic-1.0.0b251104/PKG-INFO +43 -0
- agent_framework_anthropic-1.0.0b251104/README.md +18 -0
- agent_framework_anthropic-1.0.0b251104/agent_framework_anthropic/__init__.py +15 -0
- agent_framework_anthropic-1.0.0b251104/agent_framework_anthropic/_chat_client.py +658 -0
- agent_framework_anthropic-1.0.0b251104/pyproject.toml +88 -0
- agent_framework_anthropic-1.0.0b251104/tests/conftest.py +56 -0
- agent_framework_anthropic-1.0.0b251104/tests/test_anthropic_client.py +777 -0
- agent_framework_anthropic-0.0.0a1/PKG-INFO +0 -10
- agent_framework_anthropic-0.0.0a1/README.md +0 -1
- agent_framework_anthropic-0.0.0a1/agent_framework/__init__.py +0 -0
- agent_framework_anthropic-0.0.0a1/agent_framework/anthropic/__init__.py +0 -2
- agent_framework_anthropic-0.0.0a1/pyproject.toml +0 -26
- {agent_framework_anthropic-0.0.0a1 → agent_framework_anthropic-1.0.0b251104}/LICENSE +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agent-framework-anthropic
|
|
3
|
+
Version: 1.0.0b251104
|
|
4
|
+
Summary: Anthropic integration for Microsoft Agent Framework.
|
|
5
|
+
Author-email: Microsoft <af-support@microsoft.com>
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: agent-framework-core
|
|
19
|
+
Requires-Dist: anthropic>=0.70.0,<1
|
|
20
|
+
Project-URL: homepage, https://aka.ms/agent-framework
|
|
21
|
+
Project-URL: issues, https://github.com/microsoft/agent-framework/issues
|
|
22
|
+
Project-URL: release_notes, https://github.com/microsoft/agent-framework/releases?q=tag%3Apython-1&expanded=true
|
|
23
|
+
Project-URL: source, https://github.com/microsoft/agent-framework/tree/main/python
|
|
24
|
+
|
|
25
|
+
# Get Started with Microsoft Agent Framework Anthropic
|
|
26
|
+
|
|
27
|
+
Please install this package via pip:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install agent-framework-anthropic --pre
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Anthropic Integration
|
|
34
|
+
|
|
35
|
+
The Anthropic integration enables communication with the Anthropic API, allowing your Agent Framework applications to leverage Anthropic's capabilities.
|
|
36
|
+
|
|
37
|
+
### Basic Usage Example
|
|
38
|
+
|
|
39
|
+
See the [Anthropic agent examples](https://github.com/microsoft/agent-framework/tree/main/python/samples/getting_started/agents/anthropic/) which demonstrate:
|
|
40
|
+
|
|
41
|
+
- Connecting to a Anthropic endpoint with an agent
|
|
42
|
+
- Streaming and non-streaming responses
|
|
43
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Get Started with Microsoft Agent Framework Anthropic
|
|
2
|
+
|
|
3
|
+
Please install this package via pip:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pip install agent-framework-anthropic --pre
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Anthropic Integration
|
|
10
|
+
|
|
11
|
+
The Anthropic integration enables communication with the Anthropic API, allowing your Agent Framework applications to leverage Anthropic's capabilities.
|
|
12
|
+
|
|
13
|
+
### Basic Usage Example
|
|
14
|
+
|
|
15
|
+
See the [Anthropic agent examples](https://github.com/microsoft/agent-framework/tree/main/python/samples/getting_started/agents/anthropic/) which demonstrate:
|
|
16
|
+
|
|
17
|
+
- Connecting to a Anthropic endpoint with an agent
|
|
18
|
+
- Streaming and non-streaming responses
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Copyright (c) Microsoft. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import importlib.metadata
|
|
4
|
+
|
|
5
|
+
from ._chat_client import AnthropicClient
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = importlib.metadata.version(__name__)
|
|
9
|
+
except importlib.metadata.PackageNotFoundError:
|
|
10
|
+
__version__ = "0.0.0" # Fallback for development mode
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"AnthropicClient",
|
|
14
|
+
"__version__",
|
|
15
|
+
]
|