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
Metadata
Release files for ladyol 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ x86-64 | Details for ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl |
Release files / ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | ladyol-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 187.6 kB |
| Tags | CPython 3.12 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
fef4636fcef95b699121b18e1306d9972853aacb5694d02c5c396084a4029a15
|
|
BLAKE2b-256 checksum How to use checksums |
171f1c15a88972f48f6944250430a95c52ac8df41c9e757b2efd88c56d451251
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for ladyol 0.2.0
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.