Skip to content

jakeatmsft/agent-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agent-migrator

Migration tool for moving OpenAI and Azure OpenAI Assistants -> AI Agent Service

Setup Instructions

1. Install Requirements

pip install -r requirements.txt

2. Set Environment Variables

AZURE_OPENAI_API_KEY="your_azure_openai_api_key"
OPENAI_API_VERSION="2024-08-01-preview" # or your desired API version
AZURE_OPENAI_ENDPOINT="your_azure_openai_endpoint"
PROJECT_CONNECTION_STRING="your_project_connection_string"
MODEL_DEPLOYMENT_NAME="your_model_deployment_name"

3. Run the Agent Migration Script

python migrate_agents.py

example output: Screenshot 2025-02-27 130903

Verify

Login to your AI Agent Service account and verify that the agents have been migrated successfully.

4 Run Thread Migration Script

python migrate_threads.py

example output: Screenshot 2025-02-27 130659

Verify

Login to your AI Agent Service account and verify that the threads have been migrated successfully.

About

Migration tool for moving OpenAI and Azure OpenAI Assistants -> AI Agent Service

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages