OpenTower โ 5-Layer Multi-Agent Architecture with Zero-Intervention Closed-Loop Rate
Project description
๐ข OpenTower V1.0
5-Layer Multi-Agent Architecture for Zero-Intervention Closed-Loop Rate (ZICR)
From natural language intent to physical execution โ an autonomous agent pipeline modeled as the "Empire State Building" of AI orchestration.
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Layer 1: DEFINITION โ
โ company.yaml โ CEO / Worker / QA roles, prompts, budgets โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Layer 2: ROUTING โ
โ EMPBus (asyncio) โ millisecond intent_type dispatch โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Layer 3: PROTOCOL โ
โ EMPPacket JSON โ trace_id, action, payload, token_budget โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Layer 4: AGENTS โ
โ CEO (decompose) โ Worker (execute) โ QA (verify) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Layer 5: ACTIONS โ
โ shell_execute ยท github_create_issue ยท (extensible) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Quick Start
# Install
cd OpenTower
pip install -e ".[dev]"
# Configure LLM (default: LM Studio at localhost:1234)
export OPENAI_BASE_URL=http://localhost:1234/v1
export OPENAI_API_KEY=no-key
# Run
python -m opentower.main
Message Flow
User Input
โ
โผ
[CEO] โโLLMโโ> decompose into tasks
โ
โผ (task_assign ร N)
[Worker] โโAction Registryโโ> execute
โ
โผ (task_result)
[QA] โโstatic + LLMโโ> APPROVE / REJECT
โ โ
โผ (retry โค 2ร)
Output
Project Structure
company.yaml # Organization definition (3 agent nodes)
opentower/
โโโ schema/ # Layer 1 & 3: YAML parser + EMP protocol
โโโ bus/ # Layer 2: asyncio event bus
โโโ agents/ # Layer 4: CEO / Worker / QA
โโโ actions/ # Layer 5: shell, GitHub (extensible)
โโโ memory/ # SQLite state wall (full trace log)
โโโ llm/ # OpenAI-compatible client
โโโ main.py # REPL entry point
Requirements
- Python โฅ 3.11
- An OpenAI-compatible LLM endpoint (LM Studio, Ollama, or cloud)
License
MIT
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 opentower-1.0.0.tar.gz.
File metadata
- Download URL: opentower-1.0.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe247e709af74bed2262a6d8860f9bd6d30c1a6a9006bcb75d97a2bb19a4c74
|
|
| MD5 |
5d0adcb9d45b1bc737b562c8a6f17b32
|
|
| BLAKE2b-256 |
9b0b89990360bc20f30fb70e6607bb3134da582346aff2a0bffa7c31fc87fcac
|
File details
Details for the file opentower-1.0.0-py3-none-any.whl.
File metadata
- Download URL: opentower-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e4bc8693c024f1cf0873d2d6865f1a23d4372a2c8df02377834fa1d2f660a73
|
|
| MD5 |
5b693c19eaf414846b79489f35ae83ad
|
|
| BLAKE2b-256 |
f4b24cbb90f9871e28944b5dafc6fa32cd7da267b10da4ba10ffb30785c46307
|