Skip to content

.NET: Add hosted session and delegated user identity samples #8226

Description

Hosted agent client samples do not currently demonstrate two important Foundry runtime patterns:

  • Creating a hosted session explicitly, attaching it to an Agent Framework session, and managing its lifecycle.
  • Sharing a bounded hosted session pool across application users while delegating a distinct user identity on each call.

Add runnable .NET client samples under FoundryHostedAgents/responses/Using-Samples for both scenarios. Document the distinction between hosted sessions and conversations, session pooling, delegated identity permissions, and application owned data partitioning.

Also remove obsolete manual Foundry-Features headers from samples now covered by the current Foundry API and SDK behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETUsage: [Issues, PRs], Target: .Net

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions