Skip to main content

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.

Metadata

Release files for ailocalcore 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ailocalcore 0.1.1
File Size Uploaded Provenance
ailocalcore-0.1.1.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ailocalcore 0.1.1
File Interpreter ABI Platform
ailocalcore-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / ailocalcore-0.1.1.tar.gz

Download URL ailocalcore-0.1.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4393cc89abd8681ddd5cf181c8f8f42e374e1e37fab5413ece59aa19fe502592
BLAKE2b-256 checksum
How to use checksums
ae914b3a6d2d39af835b1ee997a47436b7658ee91ce94d589e27b9f15230748d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / ailocalcore-0.1.1-py3-none-any.whl

Download URL ailocalcore-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64ce8f8ef71dcf6f2079f8a06735c9fabc41a2e9a1b087381ca8aeaa210f6fb6
BLAKE2b-256 checksum
How to use checksums
c9b1b2fe9a87be40e65dd135c3c48ac381558aee7f85b4194b11419711840243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for ailocalcore 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page