Spaces:
Sleeping
Sleeping
Download modules/agent_spawner.py from RFTSystems/symbolic_mutations: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/RFTSystems/symbolic_mutations/resolve/main/modules/agent_spawner.py
- Command line
-
hf download hf://spaces/RFTSystems/symbolic_mutations/modules/agent_spawner.py
-
curl -L -o agent_spawner.py https://huggingface.co/spaces/RFTSystems/symbolic_mutations/resolve/main/modules/agent_spawner.py
436 Bytes
| # Author: Liam Grinstead | |
| # Spawns symbolic agents using RFT tier variables and operator overlays | |
| from codex.codex_agents import AGENT_REGISTRY | |
| from codex.codex_consciousness import TIER_VARIABLES, SYMBOLIC_OPERATORS | |
| def spawn_agent(agent_id): | |
| agent = AGENT_REGISTRY.get(agent_id, {}) | |
| agent['tier_variables'] = TIER_VARIABLES | |
| agent['symbolic_operators'] = SYMBOLIC_OPERATORS | |
| agent['status'] = 'spawned' | |
| return agent |