Registry / ai-ml / ldp
library0.46.0pypypi✓ verified 90d ago

LDP (Language Model Development Platform) is an agent framework for constructing language model agents and training on constructive tasks. Current version 0.46.0, requires Python >=3.11. Active development with frequent releases.

pip install ldp
INSTALL
IMPORT
SIG · LDP
L
ldp
ai-mlpythonv0.46.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Agent
✓ from ldp.agent import Agent
LLMAgent
✓ from ldp.agent import LLMAgent
Graph
✓ from ldp.graph import Graph
Memory
✓ from ldp.memory import Memory
Tool
✓ from ldp.tools import Tool

Initialize an LLM agent and run a simple query.

import os from ldp.agent import LLMAgent agent = LLMAgent( model="gpt-4", api_key=os.environ.get("OPENAI_API_KEY", ""), ) response = agent.run("Hello, how are you?") print(response)
Debug
Known issues
breakingIn version 0.40.0+, the import path for agents changed from `ldp import Agent` to `from ldp.agent import Agent`. Old imports will raise ModuleNotFoundError.
fix
Use `from ldp.agent import Agent`.
affects: <0.40.0
breakingThe `Graph` class was moved from `ldp` to `ldp.graph` in version 0.35.0.
fix
Use `from ldp.graph import Graph`.
affects: <0.35.0
deprecatedThe `memory` module is being replaced by `store` for persistent memory backends. The `ldp.memory` API is considered legacy and will be removed in a future release.
fix
Use `from ldp.store import ...` instead of `from ldp.memory import ...`.
affects: >=0.40.0
gotchaLDP requires Python 3.11+. Installing on older Python versions will fail with an unsupported version error.
fix
Ensure Python 3.11 or later is used.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'ldp'
LDP is not installed or installed in a different environment.
fix
Run `pip install ldp` in the correct Python environment.
ModuleNotFoundError: No module named 'ldp.agent'
Using an outdated import path (e.g., `import ldp.Agent`).
fix
Use `from ldp.agent import Agent` (requires ldp>=0.40.0).
ImportError: cannot import name 'Memory' from 'ldp.memory'
Memory class was removed or renamed in newer versions.
fix
Check your ldp version and use `from ldp.store import MemoryStore` if on latest (or use legacy version).
Upgrade
Version history
0.46.0latest on PyPI · released Apr 24, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources

No resource links recorded.

ldp — pip install ldp · libregistry