{"id":28263241,"url":"https://github.com/1999azzar/personality-engine","last_synced_at":"2026-03-01T16:01:39.007Z","repository":{"id":292489990,"uuid":"981064307","full_name":"1999AZZAR/personality-engine","owner":"1999AZZAR","description":"A lifelike, fuzzy, context-aware personality, mood, and emotion engine for AI agents, with a real-time animated face demo (PyQt5).","archived":false,"fork":false,"pushed_at":"2025-05-10T09:06:19.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T15:19:20.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1999AZZAR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-10T09:00:32.000Z","updated_at":"2025-05-10T09:06:22.000Z","dependencies_parsed_at":"2025-05-10T10:18:53.677Z","dependency_job_id":"0fe9e474-05b7-4c38-b272-14caa2f0849b","html_url":"https://github.com/1999AZZAR/personality-engine","commit_stats":null,"previous_names":["1999azzar/personality-engine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1999AZZAR/personality-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Fpersonality-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Fpersonality-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Fpersonality-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Fpersonality-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1999AZZAR","download_url":"https://codeload.github.com/1999AZZAR/personality-engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Fpersonality-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T15:41:30.362Z","status":"ssl_error","status_checked_at":"2026-03-01T15:37:07.343Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-20T07:14:08.635Z","updated_at":"2026-03-01T16:01:38.987Z","avatar_url":"https://github.com/1999AZZAR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personality Engine\n\nA lifelike, fuzzy, context-aware **personality, mood, and emotion engine** for AI agents, with a real-time animated face demo.\n\n## Core: `personality_engine.py`\n- Models personality as 8 traits (with sub-facets), each drifting and stabilizing over time.\n- Mood and emotion systems are context-aware, fuzzy, and lifelike:\n  - **Personality**: 8 traits, each with core/plastic facets, nonlinear drift, and maturity/aging.\n  - **Mood**: 12 moods, context- and trait-driven, with smooth transitions and inertia.\n  - **Emotion**: Multiple blended emotions, short-lived, with habituation, history, and fuzzy trait mapping.\n  - **Maturity**: As the agent ages, it becomes more stable and less volatile.\n  - **Fuzzy logic**: All influences are weighted, blended, and context-sensitive for realism.\n- Designed for use in AI, NPCs, robots, or any system needing a believable, evolving personality.\n\n## Demo UI: `face_ui.py`\n- **Animated face** (PyQt5):\n  - Eyes, mouth, eyebrows, cheeks, and head tilt all animate based on the current mood/emotion.\n  - Cheek blush, blinking, and facial expressions are smooth and lifelike.\n  - UI displays current mood, emotion, age, maturity, and a history log.\n- **No direct control**: The UI is a pure observer of the engine's state, not a manipulator.\n\n## Installation\n\n1. **Install Python 3.7+** (recommended: 3.8+)\n2. **Install dependencies:**\n   ```bash\n   pip install PyQt5\n   ```\n\n## Running the Demo\n\n```bash\npython face_ui.py\n```\n\n- The face will animate in real time, showing the current mood and emotion as computed by the engine.\n- The system evolves on its own, with no user input required.\n\n## Architecture\n\n- `personality_engine.py`: All core logic for personality, mood, and emotion. Can be imported and used in any Python project.\n- `face_ui.py`: PyQt5 UI that visualizes the engine's state. No direct manipulation of the engine—just a demo/observer.\n\n## Features\n- **Lifelike, fuzzy, and context-aware**: All state changes are smooth, weighted, and influenced by context, history, and maturity.\n- **Aging and maturity**: Personality stabilizes as the agent ages.\n- **Habituation**: Repeated emotions lose intensity, with recovery over time.\n- **Animated face**: All facial features respond to the engine's state for a believable demo.\n\n## Customization\n- You can import and use `Personality`, `MoodSystem`, and `EmotionSystem` in your own projects.\n- The UI can be extended or themed as desired.\n\n## License\nMIT (or specify your license here) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999azzar%2Fpersonality-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1999azzar%2Fpersonality-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999azzar%2Fpersonality-engine/lists"}