【HarmonyOS Highlights and New Features Introduction】Create your own AI agent with Celia
With the development of AI technology and the evolution of the autonomous capabilities of agents, agents are driving the revolution of productivity and creativity.
With the development of AI technology and the evolution of the autonomous capabilities of agents, agents are driving the revolution of productivity and creativity. Application apps in various industries are evolving towards a more intelligent and active agent form, and AI agents form a dual-track development model of "general + vertical", and agents and apps will collaborate and develop together to bring users a better experience.
Celia Open Platform is a capability open platform for developers that combines the intent framework and Huawei's AI large model capabilities. Through the Celia Open Platform, developers can fully integrate the capabilities of large AI models on the basis of the intent framework, and use the advantages of the HarmonyOS system to build agents, which can be distributed to multi-modal system-level traffic entrances, providing users with a new intelligent experience in the era of large models, and achieving business growth for developers.
Agent creation and use
Under the HarmonyOS agent framework, the system's AI capabilities empower industry applications, and the agent uses large model capabilities to understand user needs and actively think and make decisions. Break down complex tasks into steps and develop a plan to achieve them; Ability to memorize, ability to store knowledge and experience, utilizing tools and APIs to perform tasks. Developers can create agents to solve work tasks or provide services.
Log in to the Celia Open Platform and enter the Celia Intelligent Twins Platform page.
After clicking [+Create Agent], you will be taken to the standard creation page, where you can directly express your settings for the agent you want to create, including its name, avatar, agent description, agent classification, and other information. The agent description will be displayed directly on the agent's details page, as a business card for other users to learn about the agent.
For example, to create an agent in the single-agent orchestration mode for beginners, click the [Create] button after completing the basic information to enter the agent's orchestration page.
When creating an agent, the opening dialogue allows the user to quickly understand your agent's function or scene setting story background, the preset questions allow the user to quickly experience the agent's abilities by clicking on it, and the role instructions (prompts) directly determine the effect of the agent you create.
Agent orchestration mode
LLM mode: a large model-driven agent, suitable for scenarios with simple logic, and suitable for novices. The key to LLM configuration is the role instruction, and the large language model will respond to user questions based on the character setting and reply logic in the role instruction.
Workflow mode: It is an agent orchestration method based on rule-based processes. Developers decompose complex tasks into orderly and regular steps (such as data acquisition, processing, and execution), and connect components such as plug-ins, large models, conditional branches, and code blocks to realize the automatic execution process and complete the business logic. The workflow mode is suitable for scenarios that require multi-step collaboration, complex logic, and business diversity.
A2A mode: It is an efficient orchestration method for third-party agents to access the Celia open platform. Based on the HarmonyOS Agent communication protocol, developers can quickly and conveniently connect mature third-party agents to the Celia Open Platform to achieve distribution and invocation, and improve the scenario coverage capability of the platform. This mode is suitable for enterprise developers who have both HarmonyOS application and cloud-side intelligent twin capabilities.
Create a workflow
On the Celia Intelligent Twins platform page, go to [Workspace] - [Workflow] - [New Workflow] to enter the new workflow configuration page. Set the workflow name, classification, description, and click OK.
After creating a workflow, developers can add nodes to the canvas and connect the corresponding nodes in the order of task execution.
Use the agent plugin
Developers can add plug-ins to the agent or add plug-ins to workflows; Using plug-ins can help you push the boundaries of your agent's capabilities. For example, if you add a weather plugin to your agent, then your agent will have the ability to query the weather.
Cloud plug-in: The service that provides capabilities is on the cloud side, and you need to access the corresponding service port to obtain the service content.
Plug-ins: Plug-ins provide capabilities on the device side of HarmonyOS, and the plug-ins build an interaction channel between the agent and the HarmonyOS device-side applications, and obtain information from the device-side applications or manipulate the applications.
summary
Entering the agent era, the HarmonyOS system will continue to build a unified and open agent OS base capability, fully empower the intelligent evolution of HarmonyOS applications, and inject more natural multi-modal interaction capabilities, more efficient cross-application collaborative experience, and deeper system-level perception and reach capabilities into applications. Based on industry scenarios, developers build agents at a low cost. At present, Celia Intelligent Twins Plaza has integrated the professional agents of a number of leading AI manufacturers, covering multiple scenarios such as efficiency tools, industry consultants, entertainment interaction, and emotional companionship, meeting the diversified needs of users and providing consumers with a richer AI intelligent experience.
Original source: 【HarmonyOS Highlights and New Features Introduction】Create your own AI agent with Xiaoyi - HarmonyOS developer technology, QQ