mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-15 05:35:11 +00:00
25 lines
848 B
Markdown
25 lines
848 B
Markdown
# Microsoft Agent Framework for Python
|
|
|
|
Use this reference when the target project is written in Python.
|
|
|
|
## Authoritative sources
|
|
|
|
- Repository: <https://github.com/microsoft/agent-framework/tree/main/python>
|
|
- Samples: <https://github.com/microsoft/agent-framework/tree/main/python/samples>
|
|
|
|
## Installation
|
|
|
|
For new projects, install the package with:
|
|
|
|
```bash
|
|
pip install agent-framework
|
|
```
|
|
|
|
## Python-specific guidance
|
|
|
|
- Use modern async patterns throughout agent and workflow operations.
|
|
- Add type hints and keep APIs explicit even in dynamic code.
|
|
- Follow standard Python packaging and environment practices for dependencies and tooling.
|
|
- Use middleware, context providers, and orchestration patterns in ways that fit the Python application structure.
|
|
- Check the latest Python samples before introducing new APIs or workflow patterns.
|