Initial commit: Natiris AI Agent Orchestration System

This commit is contained in:
Arch Agent
2026-03-01 14:28:26 +01:00
commit 3b5f6ba83d
3127 changed files with 86184 additions and 0 deletions

29
core/enable_autonomy.py Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env python3
"""Autonomie für Natiris aktivieren"""
import json
import os
CONFIG_PATH = os.path.expanduser("~/natiris/config/character_genesis.json")
def load_json(path):
try:
with open(path, "r", encoding="utf-8") as f:
return json.load(f)
except (FileNotFoundError, json.JSONDecodeError):
return {}
def save_json(path, data):
os.makedirs(os.path.dirname(path), exist_ok=True)
with open(path, "w", encoding="utf-8") as f:
json.dump(data, f, indent=2)
def main():
cfg = load_json(CONFIG_PATH)
cfg["autonomy"]["enabled"] = True
save_json(CONFIG_PATH, cfg)
print("✅ Autonomie aktiviert in", CONFIG_PATH)
print(json.dumps(cfg["autonomy"], indent=2))
if __name__ == "__main__":
main()