Skip to content

Latest commit

 

History

373 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H2OIDE

TRITON FLASH-ATTENTION 2 & PAGED KV CACHE LAYER (Mathematical stub for Local H2O-Danube 500M/1.8B execution)

Auto-generated 2026-08-14 23:53 from source — branch main, 25 Python modules, 35 other files.

Architecture

  Blueprint.md
  CHANGELOG.md
  DATA_FLOW.md
  ENTERPRISE_INIT.p
  GLOBAL_PEDAGOGY.md
  PEDAGOGY_90_STEP_ARCHITECTURE.md
  PEDAGOGY_LEDGER_DUMP.sql
  PROJECT_LOG.md
  PROMPT_GUIDE.md
  README.md
  README_ENTERPRISE.md
  README_TEMPLATE.md
  sandbox_repo/
  skills/
    terminal.json
  teaching_sandbox/
  training_lab/
    event_01aa7be7.json
    event_1264cda6.json
    event_162ca735.json
    event_64b3a0e7.json
    event_6cf45c46.json
  training_sandbox/
    gen_10_20260526_074241.md
    gen_1_20260525_233908.md
    gen_2_20260526_003908.md
    gen_3_20260526_013908.md
    gen_4_20260526_023908.md
    gen_5_20260526_033908.md
    gen_6_20260526_043908.md
    gen_7_20260526_053908.md
    gen_8_20260526_063908.md
    gen_9_20260526_074216.md

Dependencies

External packages imported by this project:

cmd, flask, requests, yaml

How to run

Executable entry points (have a __main__ block):

  • python agy_python.py
  • python anti_hang_watchdog.py
  • python autonomous_engine.py
  • python cognitive_db.py
  • python daemon.py
  • python danube_logic_orchestrator.py
  • python genetic_optimizer.py
  • python h2o_cli_ide.py
  • python h2o_db_schema.py
  • python headless_project_suite.py
  • python initialize_enterprise_project.py
  • python matrix_orchestrator.py

Modules

agy_python.py

  • get_openrouter_config()
  • log_interaction(prompt, response)
  • call_openrouter(prompt)
  • main()

anti_hang_watchdog.py

  • trigger_failover()
  • execute_with_watchdog(func) — Executes a function and returns a failover result if it hangs.

autonomous_engine.py

  • run_automated_tasks()

cognitive_db.py

  • init_db()

daemon.py

  • background_sync()
  • run_ide()

danube_logic_orchestrator.py

  • class DanubeOrchestrator
    • methods: run_ai, distill_intent, plan, save_tree, display_tree, execute_task, test_task, sync, run

fuzzy_logic_gate.py

  • get_templates()
  • calculate_jaccard_similarity(text1, text2) — Algebraic overlap: |A intersection B| / |A union B|
  • match_predictive_topology(user_intent) — Acts as a fuzzy logic gate. Maps the user intent to a specific topological

genetic_optimizer.py

  • prune_prompt(prompt_text, max_len) — Prunes a prompt to keep only the highest density of instructional tokens.
  • hash_state(prompt)
  • get_environmental_penalty() — Reads system thermal limits for algebraic balancing.
  • fitness(response_text, duration)
  • run_darwin_loop()

h2o_cli_ide.py

  • class H2OIDE
    • methods: extract_gemini_key, connect_agentic_network, _raw_ai_call, call_ai_engine, save_conversation, default, do_github_sync, do_exit

h2o_db_schema.py

  • init_layered_schema()

headless_project_suite.py

  • get_state()
  • update_state(key, value)
  • set_roadmap(roadmap_steps)
  • advance_step()
  • inject_context(prompt)

initialize_enterprise_project.py

  • get_token()
  • generate_ascii_tree(path) — ASCII tree generator.
  • initialize()

matrix_orchestrator.py

  • print_topic_update(title, summary, intent) — Mirrors the agentic topic update structure.
  • enforce_pacing() — Ensures we do not exceed OpenRouter API ping limits.
  • run_cognitive_layer(prompt) — Hits the OpenRouter API via aichat CLI.
  • run_execution_layer(plan) — Extracts commands and uses Aider to implement changes.
  • run_sync_layer(message) — Triggers the Github Operator to upload.
  • main()

network_hook.py

  • webhook()

pedagogy_loop.py

  • log_to_ledger(task, cmd)
  • call_llm_agy(task)
  • teach()

pedagogy_mirror_builder.py

  • extract_api_key()
  • generate_mirror(language, iteration, mutation_factor) — Hits LiteLLM Gateway to generate a structural mirror in another language.
  • fitness_evaluation(code, language) — Calculates fitness based on execution speed and string density.
  • run_100x_loop()

semantic_evolution.py

  • simulate_llm_classification(prompt_template, user_input, context) — Simulate an LLM reading the prompt and categorizing the input.
  • evolve()

slow_pedagogy_daemon.py

  • throttle_cpu()
  • check_lock()
  • execute_pedagogy_cycle(generation)

training_lab_engine.py

  • class TritonChooserLab
    • methods: load_weights, save_weights, triton_chooser_logic, run_permutation_event, save_event

triton_danube_kernel.py

TRITON FLASH-ATTENTION 2 & PAGED KV CACHE LAYER (Mathematical stub for Local H2O-Danube 500M/1.8B execution)

  • class TritonPagedAttention
    • methods: allocate_block, compute_flash_attention
  • class AsynchronousSampler
    • methods: sample_logits

Public API index

Module Function Signature
agy_python call_openrouter call_openrouter(prompt)
agy_python get_openrouter_config get_openrouter_config()
agy_python log_interaction log_interaction(prompt, response)
agy_python main main()
anti_hang_watchdog execute_with_watchdog execute_with_watchdog(func)
anti_hang_watchdog trigger_failover trigger_failover()
autonomous_engine run_automated_tasks run_automated_tasks()
cognitive_db init_db init_db()
daemon background_sync background_sync()
daemon run_ide run_ide()
fuzzy_logic_gate calculate_jaccard_similarity calculate_jaccard_similarity(text1, text2)
fuzzy_logic_gate get_templates get_templates()
fuzzy_logic_gate match_predictive_topology match_predictive_topology(user_intent)
genetic_optimizer fitness fitness(response_text, duration)
genetic_optimizer get_environmental_penalty get_environmental_penalty()
genetic_optimizer hash_state hash_state(prompt)
genetic_optimizer prune_prompt prune_prompt(prompt_text, max_len)
genetic_optimizer run_darwin_loop run_darwin_loop()
h2o_db_schema init_layered_schema init_layered_schema()
headless_project_suite advance_step advance_step()
headless_project_suite get_state get_state()
headless_project_suite inject_context inject_context(prompt)
headless_project_suite set_roadmap set_roadmap(roadmap_steps)
headless_project_suite update_state update_state(key, value)
initialize_enterprise_project generate_ascii_tree generate_ascii_tree(path)
initialize_enterprise_project get_token get_token()
initialize_enterprise_project initialize initialize()
matrix_orchestrator enforce_pacing enforce_pacing()
matrix_orchestrator main main()
matrix_orchestrator print_topic_update print_topic_update(title, summary, intent)
matrix_orchestrator run_cognitive_layer run_cognitive_layer(prompt)
matrix_orchestrator run_execution_layer run_execution_layer(plan)
matrix_orchestrator run_sync_layer run_sync_layer(message)
network_hook webhook webhook()
pedagogy_loop call_llm_agy call_llm_agy(task)
pedagogy_loop log_to_ledger log_to_ledger(task, cmd)
pedagogy_loop teach teach()
pedagogy_mirror_builder extract_api_key extract_api_key()
pedagogy_mirror_builder fitness_evaluation fitness_evaluation(code, language)
pedagogy_mirror_builder generate_mirror generate_mirror(language, iteration, mutation_factor)
pedagogy_mirror_builder run_100x_loop run_100x_loop()
semantic_evolution evolve evolve()
semantic_evolution simulate_llm_classification simulate_llm_classification(prompt_template, user_input, context)
slow_pedagogy_daemon check_lock check_lock()
slow_pedagogy_daemon execute_pedagogy_cycle execute_pedagogy_cycle(generation)
slow_pedagogy_daemon throttle_cpu throttle_cpu()

Status

  • Branch: main
  • Last commit: 2026-08-14 23:32:57 -0600
  • File types: .md ×23, .json ×7, .go ×1, .p ×1, .yaml ×1, .sql ×1, .jsonl ×1

Recent commits

2fa2a51 [Moe autonomous] H2OIDE 2026-08-14 23:32
88747b1 [Moe autonomous] H2OIDE 2026-08-14 22:50
a7549c8 [Moe autonomous] H2OIDE 2026-08-14 22:23
b78d30f [Moe autonomous] H2OIDE 2026-08-14 21:29
eecee00 [Moe autonomous] H2OIDE 2026-08-14 20:48
baadc31 [Moe autonomous] H2OIDE 2026-08-14 20:16
403b7f0 [Moe autonomous] H2OIDE 2026-08-14 19:36
24e87ab [Moe autonomous] H2OIDE 2026-08-14 18:51

README generated by readme_generator.py (Viper). Deterministic — derived from source, not LLM prose.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages