forked from zai-org/Open-AutoGLM
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathNOTICE
More file actions
211 lines (161 loc) · 6.96 KB
/
NOTICE
File metadata and controls
211 lines (161 loc) · 6.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
PhoneAgent - Attribution and License Notice
============================================
This project (PhoneAgent) is based on Open-AutoGLM, which is
licensed under the Apache License 2.0.
Original Project
----------------
Name: Open-AutoGLM
Source: https://github.com/zai-org/Open-AutoGLM
Copyright: (C) 2024 ZAI Organization
License: Apache License 2.0
Modifications Made
------------------
PhoneAgent includes the following significant modifications to the
original Open-AutoGLM project:
1. **Server-Side Architecture**
- Added FastAPI-based REST API server (server/api/)
- Added WebSocket server for real-time device communication (server/websocket/)
- Added device pool management system (server/services/device_pool.py)
- Added agent task service layer (server/services/agent_service.py)
2. **Database Layer**
- Added SQLAlchemy-based data persistence (server/database/)
- Added task and device data models
- Added CRUD operations and session management
3. **Multi-Model Support**
- Enhanced model provider architecture (phone_agent/model/providers/)
- Added support for multiple AI model backends
- Improved response parsing for various model formats
4. **Advanced Features**
- Added scrcpy integration for real-time device preview
- Added speech-to-text API integration
- Added anti-detection mechanisms (phone_agent/adb/anti_detection.py)
- Added device scanning and management (server/services/device_scanner.py)
5. **Android Remote Control App**
- Added Android remote control app (android-remote-control/)
- Replaced Termux deployment with built-in solution
- Added FRP client and ADB server integration
- Added yadb deployment and management
6. **Web Interface**
- Added Vue.js-based web interface (web/)
- Added real-time task monitoring
- Added device management dashboard
7. **PC Agent**
- Added Windows/Mac PC control support
- Integrated accessibility tree perception (from MobileAgent PC-Agent)
- Added OCR and UI element detection
8. **XML Kernel**
- Added fast and accurate UI tree parsing kernel
- Improved performance and cost efficiency
- Enhanced XML structure analysis
9. **Vision Kernel Improvements**
- Upgraded to XML+JSON hybrid output format
- Enhanced action parsing robustness
- Added lightweight context monitoring
- Fixed API compatibility with Zhipu AI models
10. **YADB Connection Stability**
- Optimized ADB connection management
- Added retry mechanisms for yadb operations
- Implemented connection monitoring and auto-reconnect
- Reduced cache TTL for faster connection detection
11. **Prompt Cards System**
- Added prompt card management functionality
- Integrated prompt cards into mobile and PC agents
- Created frontend prompt card editor
- Enabled custom instruction injection
License Information
-------------------
**PhoneAgent Components (New Code):**
All new code and modifications created for PhoneAgent are licensed
under the GNU Affero General Public License v3.0 (AGPL-3.0).
Copyright (C) 2025 PhoneAgent Contributors
**Original Open-AutoGLM Components:**
Components derived from Open-AutoGLM retain their original Apache License 2.0.
This dual-licensing approach ensures:
- Compliance with Apache 2.0 requirements (preserving original license)
- Strong copyleft protection for new contributions (AGPL-3.0)
- Clear commercial licensing path for enterprises
Third-Party Open Source Projects
---------------------------------
This project uses or references the following open source projects:
1. **Open-AutoGLM** (Apache License 2.0)
Copyright (c) 2024 ZAI Organization
https://github.com/zai-org/Open-AutoGLM
- Vision agent architecture foundation
- Action handling logic
- Screen analysis and UI interaction
2. **Android Use** (MIT License)
Copyright (c) 2025 languse-ai
https://github.com/languse-ai/android-use
- XML Kernel architecture and UI tree parsing approach
- Element highlighting and index-based interaction
- Non-vision model support strategy
Note: Referenced for design inspiration, no direct code copy
3. **MobileAgent PC-Agent** (MIT License)
Copyright (c) 2022 mPLUG (Alibaba Tongyi Lab)
https://github.com/X-PLUG/MobileAgent/tree/main/PC-Agent
- PC accessibility tree perception module (server/pc/pc_perception.py)
- IOU calculation algorithm (box_iou function)
- OCR and accessibility tree fusion logic
4. **YADB** (LGPL-3.0)
Copyright (c) ysbing
https://github.com/ysbing/YADB
- Chinese keyboard input support
- Force screenshot functionality
- Clipboard operations
Note: Used via subprocess call, not modified
5. **MAI-UI & MobileAgent** (Apache License 2.0, Reference Only)
https://github.com/X-PLUG/MobileAgent
https://github.com/Starlight0798/MAI-UI
- XML+JSON hybrid output format design (reference)
- Vision language model interaction patterns (reference)
- Action system architecture ideas (reference)
Note: Referenced for design inspiration, no direct code copy
Third-Party Dependencies
------------------------
Key runtime dependencies:
1. **FastAPI** (MIT License)
https://github.com/tiangolo/fastapi
2. **Pillow** (HPND License)
https://github.com/python-pillow/Pillow
3. **OpenAI Python SDK** (Apache 2.0)
https://github.com/openai/openai-python
4. **SQLAlchemy** (MIT License)
https://github.com/sqlalchemy/sqlalchemy
5. **Pydantic** (MIT License)
https://github.com/pydantic/pydantic
6. **Vue.js** (MIT License)
https://github.com/vuejs/vue
For a complete list, see LICENSES_THIRD_PARTY.md, requirements.txt and package.json.
Attribution Requirements
------------------------
When using PhoneAgent, you must:
1. Retain this NOTICE file
2. Retain all copyright notices from the original Open-AutoGLM project
3. Provide attribution to both Open-AutoGLM and PhoneAgent
4. If distributing modified versions under AGPL-3.0, include source code access
5. If providing the software as a network service, provide source code access to users
Commercial Licensing
--------------------
Organizations that wish to use PhoneAgent without the AGPL-3.0
obligations (such as disclosing source code modifications) may purchase a
commercial license.
For commercial licensing inquiries, please contact:
- GitHub: https://github.com/tmwgsicp/PhoneAgent
- Issues: https://github.com/tmwgsicp/PhoneAgent/issues
Trademark Notice
----------------
"PhoneAgent" is a trademark of the PhoneAgent Contributors. Use of this
trademark is subject to the PhoneAgent trademark policy.
"Open-AutoGLM" is a trademark of ZAI Organization.
Warranty Disclaimer
-------------------
This software is provided "AS IS" without warranty of any kind, express or
implied. See the LICENSE file for the complete warranty disclaimer and
liability limitation.
Contact Information
-------------------
For questions regarding licensing or attribution:
- Project: https://github.com/tmwgsicp/PhoneAgent
- Original Project: https://github.com/zai-org/Open-AutoGLM
Last Updated: January 18, 2026
Version: 2.0.0