Skip to content

[WIP] Decouple configuration files for a2a servers deployment#16

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/separate-configuration-files
Draft

[WIP] Decouple configuration files for a2a servers deployment#16
Copilot wants to merge 2 commits into
mainfrom
copilot/separate-configuration-files

Conversation

Copilot AI commented Mar 23, 2026

Copy link
Copy Markdown
Contributor
  • Understand current config loading: agents/*_agent.toml files are read locally at startup
  • Refactor agent_definition.py: extract _parse_agent_definition(), add load_agent_definition_from_content(), add load_agent_definitions_from_blob()
  • Update settings.py: add A2A_AGENT_CONFIG_BLOB_URL and A2A_AGENT_CONFIG_BLOB_CONN_STR env vars
  • Update __main__.py: dispatch to blob loader when blob URL is set
  • Update pyproject.toml: add azure-storage-blob>=12.0.0 as explicit dependency
  • Update .env.template: document new env vars
  • Create docs/remote-agent-configs.md: Azure Blob Storage setup guide, Azurite local testing
  • Update docs/deployment-azure.md: mention remote config option
  • Update docs/adding-agents.md: update workflow for remote configs
  • Update docs/redeploying.md: faster update path via blob upload + restart
  • Add tests for load_agent_definition_from_content() and load_agent_definitions_from_blob()
Original prompt

This will be all only inside of src/a2a_servers. You can however look at /projectOverview.md to see how it fits into the whole project.

Right now a2a_servers is able to set up multiple a2a servers at once with different paths. It does through configuration files in a directory called src/a2a_servers/agents. But this means it is currently part of the code being deployed to azure as an azure app service web app. So if I want to add another agent or change a small configuration I have to completely redeploy the whole server.

Your task is to find a way to separate the configuration files so they can be decoupled and deployed separately on azure. You should find out the best way to host it, make sure to take a look at the configuration files and how they get used first. You most likely won't be able to fully set up the azure environment, that is okay as long as you provide a document explaining what I need to do. You should however setup the code to be able to read the files from azure once it would be there. There should also be a way to test the files hosted locally, wether that be through azure dev tunnels or some other method

The goal is to be able to easily edit the agent configurations and be able to quickly see the effects


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

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