Skip to main content

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 nameskills/*/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_loop-0.3.0.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_loop-0.3.0-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

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

Hashes for agentic_loop-0.3.0.tar.gz
Algorithm Hash digest
SHA256 33341b50c28d205ac665f7b00dccf4b0567bed6f934609cb29ae6d919eb642dc
MD5 aef491c18a7efe5fb27f8fe1441a4e23
BLAKE2b-256 4ff927391b24acf221972507f8955d5be77b9bda775bfe2a85d3f9cf917e2cf4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_loop-0.3.0.tar.gz:

Publisher: publish-pypi.yml on WenSongWang/Agentic-Loop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for agentic_loop-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 639610fe658e6860038496b720f07ac259e277d49506108cb7e9e3a9140be86c
MD5 fccfb7498266c74aa43979ad5071a9d2
BLAKE2b-256 bb105dc0a6f0f5771e126820a3eac314eeae5ba609abc25588415f99e32ffcc8

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page