Skip to main content

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.

Metadata

Release files for agentic-loop 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentic-loop 0.3.0
File Size Uploaded Provenance
agentic_loop-0.3.0.tar.gz 26.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentic-loop 0.3.0
File Interpreter ABI Platform
agentic_loop-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 56.9 kB

Release files / agentic_loop-0.3.0.tar.gz

Download URL agentic_loop-0.3.0.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33341b50c28d205ac665f7b00dccf4b0567bed6f934609cb29ae6d919eb642dc
BLAKE2b-256 checksum
How to use checksums
4ff927391b24acf221972507f8955d5be77b9bda775bfe2a85d3f9cf917e2cf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Release files / agentic_loop-0.3.0-py3-none-any.whl

Download URL agentic_loop-0.3.0-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
639610fe658e6860038496b720f07ac259e277d49506108cb7e9e3a9140be86c
BLAKE2b-256 checksum
How to use checksums
bb105dc0a6f0f5771e126820a3eac314eeae5ba609abc25588415f99e32ffcc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

Security for agentic-loop 0.3.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentic_loop-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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