mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
f3bf488735
* Move import to Azure * fix mypy * Update python/packages/azurefunctions/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add missing types * Address comments --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
29 lines
986 B
Markdown
29 lines
986 B
Markdown
# Get Started with Microsoft Agent Framework Durable Functions
|
|
|
|
[](https://pypi.org/project/agent-framework-azurefunctions/)
|
|
|
|
Please install this package via pip:
|
|
|
|
```bash
|
|
pip install agent-framework-azurefunctions --pre
|
|
```
|
|
|
|
## Durable Agent Extension
|
|
|
|
The durable agent extension lets you host Microsoft Agent Framework agents on Azure Durable Functions so they can persist state, replay conversation history, and recover from failures automatically.
|
|
|
|
### Basic Usage Example
|
|
|
|
See the durable functions integration sample in the repository to learn how to:
|
|
|
|
```python
|
|
from agent_framework.azure import AgentFunctionApp
|
|
|
|
_app = AgentFunctionApp()
|
|
```
|
|
|
|
- Register agents with `AgentFunctionApp`
|
|
- Post messages using the generated `/api/agents/{agent_name}/run` endpoint
|
|
|
|
For more details, review the Python [README](https://github.com/microsoft/agent-framework/tree/main/python/README.md) and the samples directory.
|