Files
agent-framework/dotnet/samples/AGUIClientServer/AGUIClient
T
Stephen Toub dc2b109b50 .NET: Upgrade to .NET 10 (#2128)
* Upgrade to .NET 10

- Require .NET 10 SDK
- Include net10.0 assets in all assemblies
- Move net9.0-only targets to net10.0
- Update LangVersion to latest
- Remove complicated distinctions between debug target TFMs and release target TFMs
- Remove unnecessary package dependencies when built into netcoreapp
- Clean up some ifdefs
- Clean up some analyzer warnings

* Fix CI
dc2b109b50 ยท 2025-11-22 04:14:15 +00:00
History
..
2025-11-22 04:14:15 +00:00
2025-11-05 15:51:37 +00:00

AG-UI Client

This is a console application that demonstrates how to connect to an AG-UI server and interact with remote agents using the AG-UI protocol.

Features

  • Connects to an AG-UI server endpoint
  • Displays streaming updates with color-coded output:
    • Yellow: Run started notifications
    • Cyan: Agent text responses (streamed)
    • Green: Run finished notifications
    • Red: Error messages (if any)
  • Interactive prompt loop for sending messages

Configuration

Set the following environment variable to specify the AG-UI server URL:

$env:AGUI_SERVER_URL="http://localhost:5100"

If not set, the default is http://localhost:5100.

Running the Client

  1. Make sure the AG-UI server is running
  2. Run the client:
    cd AGUIClient
    dotnet run
    
  3. Enter your messages and observe the streaming updates
  4. Type :q or quit to exit