Skip to content

Commit 78cf962

Browse files
Merge pull request #339 from MicrosoftDocs/main639034658186999847sync_temp
Repo sync for protected branch
2 parents 24f4a9b + 0ae02b6 commit 78cf962

93 files changed

Lines changed: 7472 additions & 1764 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,16 @@
824824
"source_path": "semantic-kernel/Frameworks/agent/examples/example-agent-collaboration.md",
825825
"redirect_url": "/semantic-kernel/support/archive/agent-chat-example",
826826
"redirect_document_id": false
827+
},
828+
{
829+
"source_path": "agent-framework/tutorials/workflows/visualization.md",
830+
"redirect_url": "/agent-framework/user-guide/workflows/visualization",
831+
"redirect_document_id": true
832+
},
833+
{
834+
"source_path": "agent-framework/user-guide/agents/agent-observability.md",
835+
"redirect_url": "/agent-framework/user-guide/observability",
836+
"redirect_document_id": true
827837
}
828838
]
829839
}

agent-framework/TOC.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ items:
1616
href: user-guide/model-context-protocol/TOC.yml
1717
- name: Workflows
1818
href: user-guide/workflows/TOC.yml
19+
- name: Hosting
20+
href: user-guide/hosting/TOC.yml
21+
- name: DevUI
22+
href: user-guide/devui/TOC.yml
23+
- name: Observability
24+
href: user-guide/observability.md
1925
- name: Integrations
2026
items:
2127
- name: AG-UI

agent-framework/docfx.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@
2121
]
2222
}
2323
],
24+
"ms.update-cycle": {
25+
"agent-framework/api-docs/*.md": "180-days",
26+
"agent-framework/api-docs/*.yml": "180-days",
27+
"agent-framework/tutorials/**/*.md": "180-days",
28+
"agent-framework/tutorials/**/*.yml": "180-days",
29+
"agent-framework/migration-guide/**/*.md": "180-days",
30+
"agent-framework/migration-guide/**/*.yml": "180-days",
31+
"agent-framework/overview/*.md": "180-days",
32+
"agent-framework/overview/*.yml": "180-days",
33+
"agent-framework/user-guide/**/*.md": "180-days",
34+
"agent-framework/user-guide/**/*.yml": "180-days",
35+
"agent-framework/integrations/*.md": "180-days",
36+
"agent-framework/integrations/*.yml": "180-days",
37+
"agent-framework/support/**/*.md": "180-days",
38+
"agent-framework/support/**/*.yml": "180-days"
39+
},
40+
2441
"resource": [
2542
{
2643
"files": [
@@ -49,7 +66,42 @@
4966
"feedback_system": "Standard",
5067
"permissioned-type": "public"
5168
},
52-
"fileMetadata": {},
69+
"fileMetadata": {
70+
"ms.collection": {
71+
"api-docs/**/*.md": "ce-skilling-ai-copilot",
72+
"api-docs/**/*.yml": "ce-skilling-ai-copilot",
73+
"integrations/**/*.md": "ce-skilling-ai-copilot",
74+
"integrations/**/*.yml": "ce-skilling-ai-copilot",
75+
"migration-guide/**/*.md": "ce-skilling-ai-copilot",
76+
"migration-guide/**/*.yml": "ce-skilling-ai-copilot",
77+
"overview/**/*.md": "ce-skilling-ai-copilot",
78+
"overview/**/*.yml": "ce-skilling-ai-copilot",
79+
"support/**/*.md": "ce-skilling-ai-copilot",
80+
"support/**/*.yml": "ce-skilling-ai-copilot",
81+
"tutorials/**/*.md": "ce-skilling-ai-copilot",
82+
"tutorials/**/*.yml": "ce-skilling-ai-copilot",
83+
"user-guide/**/*.md": "ce-skilling-ai-copilot",
84+
"user-guide/**/*.yml": "ce-skilling-ai-copilot",
85+
"index.yml": "ce-skilling-ai-copilot"
86+
},
87+
"ms.update-cycle": {
88+
"api-docs/**/*.md": "180-days",
89+
"api-docs/**/*.yml": "180-days",
90+
"integrations/**/*.md": "180-days",
91+
"integrations/**/*.yml": "180-days",
92+
"migration-guide/**/*.md": "180-days",
93+
"migration-guide/**/*.yml": "180-days",
94+
"overview/**/*.md": "180-days",
95+
"overview/**/*.yml": "180-days",
96+
"support/**/*.md": "180-days",
97+
"support/**/*.yml": "180-days",
98+
"tutorials/**/*.md": "180-days",
99+
"tutorials/**/*.yml": "180-days",
100+
"user-guide/**/*.md": "180-days",
101+
"user-guide/**/*.yml": "180-days",
102+
"index.yml": "180-days"
103+
}
104+
},
53105
"template": [],
54106
"dest": "agent-framework"
55107
}

agent-framework/integrations/ag-ui/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,13 @@ The AG-UI server hosts your AI agent and exposes it via HTTP endpoints using Fas
387387
Install the necessary packages for the server:
388388

389389
```bash
390-
pip install agent-framework-ag-ui
390+
pip install agent-framework-ag-ui --pre
391391
```
392392

393393
Or using uv:
394394

395395
```bash
396-
uv pip install agent-framework-ag-ui
396+
uv pip install agent-framework-ag-ui --prerelease=allow
397397
```
398398

399399
This will automatically install `agent-framework-core`, `fastapi`, and `uvicorn` as dependencies.
@@ -425,7 +425,7 @@ if not deployment_name:
425425
chat_client = AzureOpenAIChatClient(
426426
credential=AzureCliCredential(),
427427
endpoint=endpoint,
428-
deployment_name=deployment_name,
428+
deployment_name=deployment_name,
429429
)
430430

431431
# Create the AI agent
@@ -488,7 +488,7 @@ The AG-UI package is already installed, which includes the `AGUIChatClient`:
488488

489489
```bash
490490
# Already installed with agent-framework-ag-ui
491-
pip install agent-framework-ag-ui
491+
pip install agent-framework-ag-ui --pre
492492
```
493493

494494
### Client Code
@@ -513,7 +513,7 @@ async def main():
513513

514514
# Create AG-UI chat client
515515
chat_client = AGUIChatClient(server_url=server_url)
516-
516+
517517
# Create agent with the chat client
518518
agent = ChatAgent(
519519
name="ClientAgent",

agent-framework/integrations/ag-ui/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The Agent Framework AG-UI integration supports all 7 AG-UI protocol features:
4848

4949
## Build agent UIs with CopilotKit
5050

51-
[CopilotKit](https://copilotkit.ai/) provides rich UI components for building agent user interfaces based on the standard AG-UI protocol. CopilotKit supports streaming chat interfaces, frontend & backend tool calling, human-in-the-loop interactions, generative UI, shared state, and much more. You can see a examples of the various agent UI scenarios that CopilotKit supports in the [AG-UI Dojo](https://dojo.ag-ui.com/microsoft-agent-framework-dotnet) sample application.
51+
[CopilotKit](https://copilotkit.ai/) provides rich UI components for building agent user interfaces based on the standard AG-UI protocol. CopilotKit supports streaming chat interfaces, frontend & backend tool calling, human-in-the-loop interactions, generative UI, shared state, and much more. You can see a examples of the various agent UI scenarios that CopilotKit supports in the [AG-UI Dojo](https://dojo.ag-ui.com/microsoft-agent-framework-dotnet) sample application.
5252

5353
CopilotKit helps you focus on your agent’s capabilities while delivering a polished user experience without reinventing the wheel.
5454
To learn more about getting started with Microsoft Agent Framework and CopilotKit, see the [Microsoft Agent Framework integration for CopilotKit](https://docs.copilotkit.ai/microsoft-agent-framework) documentation.
@@ -233,7 +233,7 @@ Understanding how Agent Framework concepts map to AG-UI helps you build effectiv
233233
Install the AG-UI integration package:
234234

235235
```bash
236-
pip install agent-framework-ag-ui
236+
pip install agent-framework-ag-ui --pre
237237
```
238238

239239
This installs both the core agent framework and AG-UI integration components.

agent-framework/integrations/ag-ui/state-management.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ agent = ChatAgent(
488488
chat_client=AzureOpenAIChatClient(
489489
credential=AzureCliCredential(),
490490
endpoint=endpoint,
491-
deployment_name=deployment_name,
491+
deployment_name=deployment_name,
492492
),
493493
tools=[update_recipe],
494494
)
@@ -614,7 +614,7 @@ async def main():
614614

615615
# Create AG-UI chat client
616616
chat_client = AGUIChatClient(server_url=server_url)
617-
617+
618618
# Wrap with ChatAgent for convenient API
619619
agent = ChatAgent(
620620
name="ClientAgent",
@@ -624,7 +624,7 @@ async def main():
624624

625625
# Get a thread for conversation continuity
626626
thread = agent.get_new_thread()
627-
627+
628628
# Track state locally
629629
state: dict[str, Any] = {}
630630

@@ -647,7 +647,7 @@ async def main():
647647
# Handle text content
648648
if update.text:
649649
print(update.text, end="", flush=True)
650-
650+
651651
# Handle state updates
652652
for content in update.contents:
653653
# STATE_SNAPSHOT events come as DataContent with application/json
@@ -656,7 +656,7 @@ async def main():
656656
state_data = json.loads(content.data.decode() if isinstance(content.data, bytes) else content.data)
657657
state = state_data
658658
print("\n[State Snapshot Received]")
659-
659+
660660
# STATE_DELTA events are handled similarly
661661
# Apply JSON Patch deltas to maintain state
662662
if hasattr(content, 'delta') and content.delta:
@@ -672,7 +672,7 @@ async def main():
672672

673673

674674
if __name__ == "__main__":
675-
# Install dependencies: pip install agent-framework-ag-ui jsonpatch
675+
# Install dependencies: pip install agent-framework-ag-ui jsonpatch --pre
676676
asyncio.run(main())
677677
```
678678

@@ -913,7 +913,7 @@ Always write the complete state, not just deltas:
913913
def update_recipe(recipe: Recipe) -> str:
914914
"""
915915
You MUST write the complete recipe with ALL fields.
916-
When modifying a recipe, include ALL existing ingredients and
916+
When modifying a recipe, include ALL existing ingredients and
917917
instructions plus your changes. NEVER delete existing data.
918918
"""
919919
return "Recipe updated."
476 KB
Loading
218 KB
Loading
223 KB
Loading

0 commit comments

Comments
 (0)