Skip to main content

SkyLAM

SkyLAM is a local autonomous language-model framework designed for persistent AI-assisted development and system automation.

It combines configurable language models, semantic memory, agentic tool use, and a persistent execution environment into a single runtime.

Features

  • Two-Stage LLM Pipeline Uses separate decoder and chat models, allowing SkyLAM to dynamically determine generation parameters before producing a response.

  • Persistent Semantic Memory Stores conversation history and embeddings, enabling SkyLAM to retrieve relevant information from previous interactions while maintaining recent context.

  • Context Management Automatically balances recent conversation history with semantically relevant memories to operate within model context limits.

  • Multimodal Model Support Supports compatible vision-language models in addition to standard causal language models.

  • Configurable Model Runtime Supports Hugging Face models, optional PEFT adapters, automatic device selection, memory-aware model loading, and configurable RoPE scaling.

  • Agentic Tool System Allows the model to interact with its environment through structured tool calls, including filesystem operations, directory management, command execution, and system inspection.

  • Python Execution Provides the agent with controlled access to Python execution for automation and development tasks.

  • Persistent Agent Lifecycle SkyLAM can run continuously in the background, recover its previous state, process administrative commands, and restart itself when necessary.

  • Administrative Interface Provides CLI controls for launching, configuring, monitoring, messaging, restarting, and shutting down the runtime.

  • Session Management Supports multiple persistent conversation sessions with independent histories and embeddings.

  • KPCore / KDPH Package System Includes an encrypted package format for distributing, building, extracting, and managing SkyLAM-like packages (KPs) and dependencies.

  • GitHub Package Distribution KDPH can publish and retrieve encrypted packages through GitHub-based package repositories.

To Install

KP Workflow

git clone https://github.com/Knexyce-Co/skylam-agent.git && cd skylam-agent && ./ready.py

PIP Install (No KP logic executed on the user end.)

pip install skylam

Architecture

SkyLAM is organized around several core components described below:

SkyLAM
├── Model Runtime
│   ├── Decoder Model
│   ├── Chat Model
│   └── Embedding Model
│
├── Agent Runtime
│   ├── Memory
│   ├── Context Management
│   ├── Tool Execution
│   └── Python Execution
│
├── Administration
│   ├── Configuration
│   ├── Process Management
│   ├── Sessions
│   └── Logging
│
└── KPCore
    ├── Package Creation
    ├── Encryption
    ├── Dependencies
    └── Distribution

Quick Start

Configure the required models:

python -m skylam -c decoder_engine=<Stage I model here.>
python -m skylam -c chat_engine=<Stage II model here.>
python -m skylam -c embed_engine=<Embedding model here.>

Then launch SkyLAM:

python -m skylam --launch

Additional runtime controls are available through the CLI:

python -m skylam --configure key=value
python -m skylam --send "message"
python -m skylam --view --execute
python -m skylam --quit

Configuration

SkyLAM supports configuration for:

  • Decoder model.
  • Chat model.
  • Embedding model.
  • Active session.
  • PEFT adapter.
  • RoPE scaling.

Configuration is stored locally and can be modified through the command-line interface.

KPCore

SkyLAM includes KPCore, a package and distribution system built around the Knexyce Data Package Handler (KDPH).

KPCore provides:

  • Encrypted package creation and extraction.
  • Package metadata.
  • Dependency management.
  • Build hooks.
  • Local package installation.
  • GitHub-based package distribution.

This allows SkyLAM projects and extensions to be packaged and distributed as self-contained encrypted packages.

Project Structure

skylam/
├── boot/        Dependency and startup management.
├── config/      Runtime configurations. (Placeholder null values by default.)
├── console/     Agent and administrator interfaces.
├── core/        Model runtime and memory.
├── kpcore/      Package system.
├── lock/        Runtime state and coordination.
├── oslayer/     Platform-specific functionality.
├── util/        Runtime utilities.
└── ...          Additional software or data may be created by SkyLAM.

Requirements

  • Python 3.10+
  • PyTorch
  • Hugging Face Transformers
  • Sentence Transformers
  • Accelerate
  • PEFT
  • NumPy
  • Additional dependencies are handled by SkyLAM's bootstrap system.

SkyLAM is intended to provide a persistent, extensible, and locally controlled AI runtime capable of reasoning, remembering, executing tools, modifying its environment, and managing its own lifecycle.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skylam-1.0.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skylam-1.0.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file skylam-1.0.0.tar.gz.

File metadata

  • Download URL: skylam-1.0.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for skylam-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1864575386f0afb0939c090b332246518fa950606f970fba0a3faa3b6c36b0de
MD5 f6e28d05f636330e38ba19d85670bf91
BLAKE2b-256 5dc646acca1922c2033694f7d5e7c1d18f0f3ec9a1a8070de6e2f117b4053ef4

See more details on using hashes here.

File details

Details for the file skylam-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: skylam-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for skylam-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d38fee14153975672a17d504d29c01eb62da196ee3f4bae2293796cdb7f225aa
MD5 d6f1954793266b4428bc25224b45876e
BLAKE2b-256 befd5b508e70c891dcdaff76c350cb44ba27d2e18361ee4befbd08720b0c65f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page