How tarkojev/ai-generic works
This repository is a collection of general-AI learning examples, not a unified application. Its major areas are grid-world agents and environments, optimization solvers, machine-learning examples, and logical/probabilistic reasoning. The visible workflows are local: the genetic-algorithm driver constructs TSP individuals, while the hybrid agent delegates action selection to several agent strategies. The supplied top-level README only names the sections; other README capabilities and several runtime connections were not inspected, so unsupported cross-section flows are omitted.
Main entry points: hybridbased.py Hybrid Agent · Main.py TSP Genetic Solver · simplereflex.py Simple Reflex · modelbasedreflex.py Model Reflex
Components 17
Agentic AI
- Agent Runner
Agentic AI/run.py - Hybrid Agent
Agentic AI/Agents/hybridbased.py - Simple Reflex
Agentic AI/Agents/simplereflex.py - Model Reflex
Agentic AI/Agents/modelbasedreflex.py - Goal Search
Agentic AI/Agents/goalbased.py - Utility Search
Agentic AI/Agents/utilitybased.py - Q Learning
Agentic AI/Agents/q_learning.py - Other Strategies
Agentic AI/Agents - Enemy Puzzle
Agentic AI/Environments/puzzlewithenemies.py - Treasure World
Agentic AI/Environments/treasurehunting.py
Optimization
- TSP Genetic Solver
Optimization/Genetic Algorithm/Main.py - Tour Individual
Optimization/Genetic Algorithm/TSP_Individual.py - SAT Search
Optimization/SATs/main.py
Machine Learning
- ML Examples
Machine Learning/basics
Reasoning
- Logical Knowledge Base
Reasoning/knowledgebase.py - Bayesian Network
Reasoning/Probabilistic Graphical Reasoning/bayesiannetwork.py - Naive Bayes
Reasoning/Probabilistic Graphical Reasoning/naivebayesian.py
Connections 6
- Hybrid Agent → Simple Reflex: tries action
Agentic AI/Agents/hybridbased.py - Hybrid Agent → Model Reflex: tries action
Agentic AI/Agents/hybridbased.py - Hybrid Agent → Goal Search: tries action
Agentic AI/Agents/hybridbased.py - Hybrid Agent → Utility Search: tries action
Agentic AI/Agents/hybridbased.py - Hybrid Agent → Q Learning: tries action
Agentic AI/Agents/hybridbased.py - TSP Genetic Solver → Tour Individual: creates individuals
Optimization/Genetic Algorithm/Main.py