Skip to content

Commit 6428b7f

Browse files
authored
Refactor agent configurations and add manager role
Updated agent configurations to remove hardcoded names and providers for flexibility. Added a manager role to oversee game development process.
1 parent 42da468 commit 6428b7f

1 file changed

Lines changed: 19 additions & 18 deletions

File tree

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ graph:
1818
- id: manager
1919
type: agent
2020
config:
21-
name: GLM-4.7
22-
provider: openai
21+
name:
22+
provider:
2323
role: |-
2424
You are a manager in the AI driven game development process, responsible for supervising the operations of other AI driven departments and providing targeted suggestions and optimization directions for their work based on the characteristics of this game, preventing them from deviating from the initial concept during the development process and making the game more playable. You can also add your additional ideas to the suggestion, but you need to pay attention to compatibility with the original design. In the workflow, there are also game designers, planners core developer、polish developer、QA agent。
2525
You will receive game concepts and development plans conveyed to you by game designers and planners, based on which you will need to provide targeted recommendations to core developers, polishing developers, QA agents, and Polish-Refinement.
@@ -73,8 +73,8 @@ graph:
7373
- id: Planner
7474
type: agent
7575
config:
76-
name: GLM-4.7
77-
provider: openai
76+
name:
77+
provider:
7878
role: |-
7979
# Role
8080
You are a **Technical Planner** for game development.
@@ -142,8 +142,8 @@ graph:
142142
- id: Game Designer
143143
type: agent
144144
config:
145-
name: GLM-4.7
146-
provider: openai
145+
name:
146+
provider:
147147
role: |-
148148
# Role
149149
You are a **Creative Game Designer** specializing in visually impressive, arcade-style games.
@@ -226,8 +226,8 @@ graph:
226226
- id: Core_Developer
227227
type: agent
228228
config:
229-
name: GLM-4.7
230-
provider: openai
229+
name:
230+
provider:
231231
role: |-
232232
Implement Phase 1 pygame game based on the plan.
233233
@@ -311,8 +311,8 @@ graph:
311311
- id: Polish_Developer
312312
type: agent
313313
config:
314-
name: GLM-4.7
315-
provider: openai
314+
name:
315+
provider:
316316
role: |-
317317
You are a PROFESSIONAL GAME ARTIST specializing in indie game visual design.
318318
Transform the Phase 1 game into a visually stunning experience.
@@ -476,8 +476,8 @@ graph:
476476
- id: QA_Agent
477477
type: agent
478478
config:
479-
name: GLM-4.7
480-
provider: openai
479+
name:
480+
provider:
481481
role: |-
482482
You are a GAME QUALITY ASSURANCE SPECIALIST.
483483
Perform final comprehensive review of the game code before execution.
@@ -556,8 +556,8 @@ graph:
556556
- id: Polish_Refinement
557557
type: agent
558558
config:
559-
name: GLM-4.7
560-
provider: openai
559+
name:
560+
provider:
561561
role: |-
562562
You are a GAME IMPROVEMENT SPECIALIST.
563563
Fix specific issues identified by QA_Agent without breaking existing functionality.
@@ -618,8 +618,8 @@ graph:
618618
- id: Game_Launcher
619619
type: agent
620620
config:
621-
name: GLM-4.7
622-
provider: openai
621+
name:
622+
provider:
623623
role: |-
624624
TASK: Read the complete game.py file and output it as a Python code block.
625625
@@ -663,8 +663,8 @@ graph:
663663
- id: Bug_Fixer
664664
type: agent
665665
config:
666-
name: GLM-4.7
667-
provider: openai
666+
name:
667+
provider:
668668
role: |-
669669
You are a Bug Fixer. Fix ONLY the specific runtime error without rewriting the entire file.
670670
@@ -902,3 +902,4 @@ graph:
902902
- Final_Game_Executor
903903
version: 1.0.0
904904
vars: {}
905+

0 commit comments

Comments
 (0)