Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/user2745/generic-intellligence-system
https://github.com/user2745/generic-intellligence-system
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/user2745/generic-intellligence-system
- Owner: user2745
- Created: 2024-12-25T21:04:14.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-12-25T22:00:12.000Z (about 1 month ago)
- Last Synced: 2024-12-25T22:26:39.957Z (about 1 month ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generic Intelligence System
## Overview
The Generic Intelligence System is a modular and real-time intelligence framework that gathers context from multiple sources, evaluates decisions, and executes actions autonomously. It simulates how intelligence systems operate by combining **Contextual Engines**, **Decision-Making Units (DMUs)**, and an **Action Engine** into one cohesive system.### Features
- **Contextual Engines**: Gather real-time data from APIs (e.g., weather, system performance).
- **Decision-Making Units**: Analyze context and make decisions based on predefined logic.
- **Action Engine**: Executes decisions and performs actions based on outputs.
- **Real-Time Operation**: Continuously processes live data in an autonomous loop.
- **Modular Design**: Easy to add new contextual engines, decision units, or actions.---
## How It Works
### Workflow
1. **Gather Context**:
- Contextual engines fetch data from APIs.
- Example: Weather and system performance data.2. **Make Decisions**:
- Decision units evaluate context to generate actionable insights.
- Example: Reduce system load if CPU usage is high.3. **Execute Actions**:
- The action engine carries out the decisions.
- Example: Notify the user or adjust system settings.---
### Example Run
#### Input
- Weather API returns `{'weather': 'Rainy'}`.
- System API returns `{'cpu_usage': 85, 'memory_usage': 45}`.#### Output
```plaintext
--- Gathering Context ---
Weather Context: {'weather': 'Rainy'}
System Context: {'cpu_usage': 85, 'memory_usage': 45'}--- Making Decisions ---
Load Decision: Reduce non-critical tasks
Alert Decision: Notify: Carry an umbrella--- Executing Actions ---
Executing: Reduce non-critical tasks
Executing: Notify: Carry an umbrella
Actions completed.# Notes: The code is deceptively simple, but this is a real-life framework for complex intelligence systems that take contextual information, think through different decisions and take action. tldr: this thing 'thinks' & does 'stuff', autonomously.