Integration Guide
Deep integration is accomplished in three steps:
- Tool development phase::
- Develop Python tool classes with reference to templates:
from eigent.tools import BaseTool
class HRSystemTool(BaseTool):
def execute(self, input):
# 调用内部HR系统API - Test Script:
eigent test-tool --path hr_tool.py
- Develop Python tool classes with reference to templates:
- Registration of the deployment phase::
- Packing Tools:
eigent register-tool --name hr_system --version 1.0
- Setting Permissions:
eigent set-permission --tool hr_system --level department
- Packing Tools:
- practical application stage::
- Assigned to intelligences:
eigent add-tool --agent document --tool hr_system
- Called in the task:
task: "Generate employee performance report"
tools: [hr_system, document]
- Assigned to intelligences:
The full case can be found atdocs/integration.md
This answer comes from the articleEigent: an open source desktop application for automated multi-intelligence collaborationThe