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.2

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.2
File Size Uploaded Provenance
ailocalcore-0.1.2.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / ailocalcore-0.1.2.tar.gz

Download URL ailocalcore-0.1.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
660a7527c37d51720bb8abcf97447585556a644c94f9118425d5630e52b65a18
BLAKE2b-256 checksum
How to use checksums
9352b8222de0a42b51ce5fd05b334170f35b49b2fe8ceddc015acc843f98596f
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.2-py3-none-any.whl

Download URL ailocalcore-0.1.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5866bada6bba0ed99100257286821e08c4633c12722bfd9445a0a6936ae3bed6
BLAKE2b-256 checksum
How to use checksums
0a0bb99a8dc9e7840de17b329f4483acfdca99b77758e4af15a4a4b795a5295e
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.2

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.

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