Scaffold valid LSS loop specifications from common patterns
Project description
LoopForge
Scaffold and combine valid LSS loop specifications from patterns, recipes, or the bundled loop library.
pip install "le-loopforge>=0.5.0"
loopforge list-patterns
loopforge new --pattern reflection --name my-loop --objective "Your goal" -o my-loop.yaml
# Combine library templates (flat + compact — saves tokens)
loopforge combine --library research-agent,coding-agent -o pipeline.yaml --json
# Mix a named recipe
loopforge mix dev-agent -o agent.yaml
Python API
from loopforge import LoopChain, combine_loops, estimate_tokens
spec, meta = (
LoopChain("my-pipeline", "Fix CI")
.then_fork("autonomous-debugger")
.then_fork("coding-agent")
.build(flatten=True, compact=True)
)
print(meta["estimated_tokens"])
See GOLDEN_PATH.md and 00-planning/LOOP_FORGE.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
le_loopforge-0.5.0.tar.gz
(41.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file le_loopforge-0.5.0.tar.gz.
File metadata
- Download URL: le_loopforge-0.5.0.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6c36fc7850d00fe288b5a5343640a55c2952bece84b5ab604e6b7db90c4280
|
|
| MD5 |
6d77d2fa3e6ef88d9d7fe427a0eb6e26
|
|
| BLAKE2b-256 |
0859413566f63a7e1f759d4b81cbcb81f721cd68f3e68acaa1bcf389d17f6807
|
File details
Details for the file le_loopforge-0.5.0-py3-none-any.whl.
File metadata
- Download URL: le_loopforge-0.5.0-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
530324df4d33d97b62ea7570f7070f88d6c61b87b8af76a4197f59807635f608
|
|
| MD5 |
fa8d3c13daa2f74668ad1c5689b57984
|
|
| BLAKE2b-256 |
3f460e2eb68379d3e28c25d794152b76b76c326825cb934605d3769cb2e02e8b
|