Spaces:
Sleeping
Sleeping
Create modules/agent_spawner.py
Browse files- modules/agent_spawner.py +12 -0
modules/agent_spawner.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Author: Liam Grinstead
|
| 2 |
+
# Spawns symbolic agents using RFT tier variables and operator overlays
|
| 3 |
+
|
| 4 |
+
from codex.codex_agents import AGENT_REGISTRY
|
| 5 |
+
from codex.codex_consciousness import TIER_VARIABLES, SYMBOLIC_OPERATORS
|
| 6 |
+
|
| 7 |
+
def spawn_agent(agent_id):
|
| 8 |
+
agent = AGENT_REGISTRY.get(agent_id, {})
|
| 9 |
+
agent['tier_variables'] = TIER_VARIABLES
|
| 10 |
+
agent['symbolic_operators'] = SYMBOLIC_OPERATORS
|
| 11 |
+
agent['status'] = 'spawned'
|
| 12 |
+
return agent
|