Implementation methodology for the zero downtime update
OxyGent's hot-plugging feature supports three types of updates:
- Tool ReplacementNewTool: Dynamically register new tools using oxy.
- Intelligent Body Upgrade: Notify MAS to refresh the configuration after modifying the smartbody desc or tools parameter in oxy_space
- Model switching: Change the underlying LLM at any time via Config.set_agent_llm_model
A practical example from the logistics system: while the path planning intelligence is running, a new map tool (version2) is added and then the old tool is removed to complete a seamless switchover. The whole process does not require stopping the ongoing transportation task.
This answer comes from the articleOxyGent: Python open source framework for rapidly building intelligent systemsThe