mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-15 13:45:12 +00:00
24
skills/microsoft-agent-framework/references/python.md
Normal file
24
skills/microsoft-agent-framework/references/python.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user