Skip to content

[WIP] patch (website): [refresh] port ChatUI from basic and use new Foundry (new) API#87

Draft
ferantivero wants to merge 7 commits intoAzure-Samples:mainfrom
ferantivero:patch/538619_port-basic-website
Draft

[WIP] patch (website): [refresh] port ChatUI from basic and use new Foundry (new) API#87
ferantivero wants to merge 7 commits intoAzure-Samples:mainfrom
ferantivero:patch/538619_port-basic-website

Conversation

@ferantivero
Copy link
Contributor

@ferantivero ferantivero commented Jan 28, 2026

WHY

as part of our changes to the RA, we noticed it'd be great to experiment with the prompt-based agent publishing process from the RI. Publishing promotes an agent from an evaluation asset into a managed Azure resource with a dedicated endpoint, independent identity, and governance capabilities. This way our RI is better aligned to a Foundry production instance narrative.

WHAT

  • add bicep to create the Azure resources to deploy
  • add necessary steps to the docs
  • bicep (RBAC): follow docs and re-assign roles to the new agent identity
  • modify website + diagrams to use the Azure resources w/ stable/production-ready endpoints

TEST

image image

Test outside the vnet
image

Copy link
Member

@ckittel ckittel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got to the review today. Can you and I sync tomorrow? I think some of my questions might just be best answered via a call.

Comment on lines +251 to +252
# Persist the agent
az rest -u $FOUNDRY_AGENT_URL -m "post" --resource "https://ai.azure.com" -b @chat-with-bing-output.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you help me (not the learner here) understand the shift that is happening from "Deploy" to "provision/persist" -- what's the distinction mean? Can it still be "Deploy" but use a term like "unpublished" or something?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Reading ahead, it feels like we are maybe doing something more like "Publish agent definition" with the idea that the compute for it comes later.

| :information: | You’ve just persisted a new versioned agent in Foundry AI Agent Service, including its instructions, tools, and model. The platform has stored a canonical agent definition in the `enterprise_memory` database, making the agent addressable, executable and ready for evaluation. At this stage, the agent is available for validation and has the unpublished state. |
| :-------: | :------------------------- |

1. Publish the the Agent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried about the Persist/publish terms here. Maybe you and I can sync for a few minutes tomorrow and work through terms here.

Comment on lines 53 to 61
name: 'baseline-chatbot-agent'
properties: {
agents: [
{
agentName: 'baseline-chatbot-agent'
agentVersion: agentVersion
}
]
displayName: 'baseline-chatbot-agent'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use baseline-chatbot-agent as a name here in this file six times. It might be nice to have them be different, where possible. That'll help someone who might be looking at API responses or the portal understand which name maps to what as a FK or as route information or as display text.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call out @ckittel, some attempt to get this in a better shape and open for further changes.

done | attempt from 1566e2a

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments