Skip to content

.NET: Discuss provider-agnostic conversation creation API #6622

@eavanvalkenburg

Description

@eavanvalkenburg

Summary

Issue #2931 is being addressed first with a Python FoundryAgent convenience method that mirrors the existing .NET FoundryAgent conversation-session API. A broader provider-agnostic conversation creation API should be designed separately and in sync across Python and .NET before implementation.

Problem

Some providers expose server-side conversation/session creation, but application code currently has to reach into provider SDKs to create those conversations. A framework-level abstraction could reduce provider coupling, but it would need to align across languages and avoid confusing local AgentSession.session_id with provider continuation state.

Scope to discuss

  • Whether Agent Framework should expose a provider-agnostic conversation/session creation API.
  • What the API shape should be in Python and .NET.
  • How created provider conversation IDs should map onto AgentSession state.
  • How this relates to service-managed history, A2A context_id/task_id, AG-UI thread_id/run_id, and telemetry correlation.

Non-goals for the first Python fix

Related: #2931, #4673, #4893.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssues related to the .NET codebaseagentsIssues related to single agentspythonIssues related to the Python codebase

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions