Lightweight Loop Engineering orchestrator for self-hosted agent loops
Project description
Agentic Loop
Lightweight Loop Engineering orchestrator — self-hosted agent loops with tools, state memory, sub-agents, /goal, and scheduled automations.
Fork-friendly (MIT). See docs/architecture.md and docs/extending.md.
Install from PyPI
pip install agentic-loop
pip install "agentic-loop[webhook]" # FastAPI server example
pip install "agentic-loop[mcp]" # MCP connector
See docs/publishing.md for maintainers.
Quick Start (development)
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[dev]"
copy .env.example .env # set OPENAI_API_KEY + DMXAPI base URL
agentic-loop run "Summarize README" --dry-run
agentic-loop loop --every 5m "Triage issues" --once --dry-run
agentic-loop goal "tests pass" "Fix tests" --dry-run
agentic-loop state show
Example project: examples/daily-triage
Commands
| Command | Purpose |
|---|---|
run |
Single agent loop with tools |
loop --every 5m |
Automation (Addy: Automations) |
goal "condition" "prompt" |
Run until evaluator confirms goal |
state show |
Persistent memory (state.json + triage) |
Common flags: --cwd, --max-turns, --skill, --agent, --allow-bash, --dry-run, --no-stream, --json
Loop Engineering modules
| Module | CLI / path |
|---|---|
| Memory | state show → .agentic-loop/state.json |
| Skills | --skill name → skills/*/SKILL.md |
| Sub-agents | --agent name → .agentic-loop/agents/*.toml |
| Goal | goal + EVALUATOR_MODEL |
| Automations | loop --every |
Run logs: .agentic-loop/runs/<run_id>.jsonl
Development
pytest tests/ -q
License
MIT — see LICENSE.
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
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 agentic_loop-0.3.0.tar.gz.
File metadata
- Download URL: agentic_loop-0.3.0.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33341b50c28d205ac665f7b00dccf4b0567bed6f934609cb29ae6d919eb642dc
|
|
| MD5 |
aef491c18a7efe5fb27f8fe1441a4e23
|
|
| BLAKE2b-256 |
4ff927391b24acf221972507f8955d5be77b9bda775bfe2a85d3f9cf917e2cf4
|
Provenance
The following attestation bundles were made for agentic_loop-0.3.0.tar.gz:
Publisher:
publish-pypi.yml on WenSongWang/Agentic-Loop
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_loop-0.3.0.tar.gz -
Subject digest:
33341b50c28d205ac665f7b00dccf4b0567bed6f934609cb29ae6d919eb642dc - Sigstore transparency entry: 1808406806
- Sigstore integration time:
-
Permalink:
WenSongWang/Agentic-Loop@1b38b00fbde3697a49a1eeaed6019ca7f552b346 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/WenSongWang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1b38b00fbde3697a49a1eeaed6019ca7f552b346 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agentic_loop-0.3.0-py3-none-any.whl.
File metadata
- Download URL: agentic_loop-0.3.0-py3-none-any.whl
- Upload date:
- Size: 30.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
639610fe658e6860038496b720f07ac259e277d49506108cb7e9e3a9140be86c
|
|
| MD5 |
fccfb7498266c74aa43979ad5071a9d2
|
|
| BLAKE2b-256 |
bb105dc0a6f0f5771e126820a3eac314eeae5ba609abc25588415f99e32ffcc8
|
Provenance
The following attestation bundles were made for agentic_loop-0.3.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on WenSongWang/Agentic-Loop
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_loop-0.3.0-py3-none-any.whl -
Subject digest:
639610fe658e6860038496b720f07ac259e277d49506108cb7e9e3a9140be86c - Sigstore transparency entry: 1808406834
- Sigstore integration time:
-
Permalink:
WenSongWang/Agentic-Loop@1b38b00fbde3697a49a1eeaed6019ca7f552b346 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/WenSongWang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1b38b00fbde3697a49a1eeaed6019ca7f552b346 -
Trigger Event:
release
-
Statement type: