Personality and Context Awareness system for local AI models.
Project description
AILocalCore 🧠🎭
AILocalCore is the overarching "Brain" library for local AI development. It integrates personality definition, environment awareness, memory management, and internet search into a single, cohesive orchestration layer.
Dependencies
AILocalCore acts as a wrapper and requires the following libraries:
ailocalmemory(for SQLite-based conversation history and ChatSession)ailocalconnection(for real-time web browsing and AI Router logic)
Features
- Persona Engine: Inject dynamic identities and rules. Tell your AI it's a "Sarcastic Genius" or a "Professional Assistant", and give it strict behaviors to follow.
- Context Awareness: The AI automatically knows the current date, time, operating system, and any custom environment variables (like user name, weather, or location).
- The Orchestrator (
AIBrain):- Dynamically crafts a hyper-personalized system prompt combining Persona + Context.
- Saves it to
AILocalMemoryso the local model retains it. - Evaluates user queries using
AILocalConnection(Router) to decide if an internet search is needed. - Injects search results transparently into the LLM context.
Usage
See example.py for a complete demonstration of how to hook up OllamaAdapter, ChatSession, Persona, ContextAwareness, and AIBrain.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ailocalcore-0.1.0.tar.gz.
File metadata
- Download URL: ailocalcore-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b642191998d060ee5781cbbe2de74899247544b44a85ae740ba4eac2a3eb1212
|
|
| MD5 |
29efbbda976d455fe12e73687394317c
|
|
| BLAKE2b-256 |
e3b860725ee3f721aae10c0a6bc1612a99094cec878b3afe6140cff990fdfaa6
|
File details
Details for the file ailocalcore-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ailocalcore-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41d4aa57cfc774e4e40ab6696816be404884d695776d6456b4de39b17e26ce96
|
|
| MD5 |
70398c8550a8dac0c9c16f5bf3516e17
|
|
| BLAKE2b-256 |
ab80b75162cbcb86ac0ff12cf654adb058550ad884ec8af0666d226711ef4a21
|