Skip to main content

LadyOl

    Object-based prompt injection system for AI agents.
    
    ## Features
    
    - **Context Injection** - Inject past experiences and project context into messages
    - **Context Closure** - Store task outcomes for continuous learning
    - **Identity Management** - Persistent agent identity documents in Glain
    - **Memory System** - Two-layer memory (MEMORY.md + Glain)
    - **Skills Loading** - Load and manage agent skills
    - **Prompt Scaling** - Automatically adjust prompt complexity based on model capability
    
    ## Installation
    
    ```bash
    pip install ladyol
    ```
    
    ## Usage
    
    ```bash
    # Run LadyOL
    ladyol run
    
    # Check status
    ladyol status
    ```
    
    ### Options
    
    | Argument | Type | Required | Default | Description |
    |----------|------|----------|---------|-------------|
    | `--verbose` / `-v` | flag | No | false | Enable verbose output |
    | `--config` / `-c` | path | No | None | Path to configuration file |
    
    ### Commands
    
    #### `run`
    Run the main operation.
    
    ```bash
    ladyol run
    ```
    
    #### `status`
    Check project status.
    
    ```bash
    ladyol status
    ```
    
    ## Quick Start
    
    ```python
    from pathlib import Path
    from ladyol import LadyOlPromptEngine, LadyOlConfig
    
    # Initialize the engine
    config = LadyOlConfig()
    engine = LadyOlPromptEngine(
        workspace=Path("./workspace"),
        config=config,
    )
    
    # Inject context into messages
    messages = [{"role": "user", "content": "What was I working on?"}]
    updated_messages = await engine.inject_context(messages)
    
    # Get memory context
    memory_context = engine.get_memory_context()
    
    # Get skills summary
    skills = engine.get_skills_summary()
    ```
    
    ## Architecture
    
    ```
    ladyol/
    ├── agent/           # Core agent components
    │   ├── context_closure.py
    │   ├── context_injector.py
    │   ├── identity.py
    │   ├── memory.py
    │   ├── prompt_scaler.py
    │   └── skills.py
    ├── config/          # Configuration schemas
    ├── prompt/          # Prompt engine
    └── utils/          # Utilities
    ```
    
    ## License
    
    MIT

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 fef4636fcef95b699121b18e1306d9972853aacb5694d02c5c396084a4029a15
MD5 a3d66634310b5f12d57915e83d5e382d
BLAKE2b-256 171f1c15a88972f48f6944250430a95c52ac8df41c9e757b2efd88c56d451251

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 file

0.0.0

2 files

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