Catalog PyPI
PACKAGE EXPLORERView in registry

ailocalcore

PyPI

Personality and Context Awareness system for local AI models.

Versions collected1
Direct dependencies4From release 0.1.2
Last observed21 Oct, 11:11 UTC

README

Version 0.1.2 documentation

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

  1. 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.
  2. Context Awareness: The AI automatically knows the current date, time, operating system, and any custom environment variables (like user name, weather, or location).
  3. The Orchestrator (AIBrain):
    • Dynamically crafts a hyper-personalized system prompt combining Persona + Context.
    • Saves it to AILocalMemory so 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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.23 Aug 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c3e5264f7316c327ac26d9f914a160cb4a7b5241fbd2a4ba17726149b299f137