Lightweight multi-agent orchestration framework
Project description
Orkes
🔍 What is Orkes?
Orkes helps you coordinate LLM agents using plain Python. No magic, no unnecessary layers. Just explicit control flow, transparent agent logic, and simple message passing.
📝 Background
A while back, I was tasked with ensuring that our agentic-based streaming calls closed properly when a client disconnected.
Out of the box, there wasn’t a straightforward way to close the underlying HTTP connection. Why does this matter?
Because in our case, leaving connections hanging was detrimental to keeping our self-hosted LLM stable and reliable.
The frustrating part: today’s higher level libraries are abstractions on top of abstractions, hidden under even more abstractions, and at the end hidden in dependencies abstraction, layered until a simple fix turns into a complete clusterfuck.
Hence the pain of using high-level abstraction frameworks, some niche cases just don’t get covered.
📚 Documentation
- orkes.agents – Documentation for agent classes, interfaces, and tool integration.
- orkes.graph – Guides for building, compiling, and running DCG-based workflows with OrkesGraph.
- orkes.services – Details on LLM connections, prompt handling, and response parsing services.
🔹 Core Principles
- Explicit control flow — use DCGs, FSMs, or plain loops
- Transparent agents — define prompt, tool, and logic directly
- Simple message passing — plain dicts, no graph state magic
- Minimal dependencies — only what you truly need
- 100% Pythonic — easy to read, modify, and extend
- Stateless by default — you control memory and state
- Hackable and debuggable — nothing hidden
🛠️ Project Status
This is the initial stage of Orkes.
- Vision and core philosophy
- Elementary Directed Cyclic Graph orchestration engine
- Agent structure (prompt + tool + fn)
- LLM related interfaces
- Minimal examples
- Documentations
License
This poject is available as open source under the terms of the MIT 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
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 orkes-0.1.2.tar.gz.
File metadata
- Download URL: orkes-0.1.2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cf8d7466748329e0dad7e13ab8c9d11e93e1bbbd958e1433a04871b965598f0
|
|
| MD5 |
cf64163274b6d0d36a60b6f055d9c5e5
|
|
| BLAKE2b-256 |
9ce1062df8f8250973bc32f836e6be7b94bb29aa3b2ac0574fcbe77ef973b5dc
|
File details
Details for the file orkes-0.1.2-py3-none-any.whl.
File metadata
- Download URL: orkes-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ccba73ff6d192d0f185705fb076c025f9e362736502622d0bf958f09e78eba
|
|
| MD5 |
6a47119ac9a80c52d27d7b635eac9138
|
|
| BLAKE2b-256 |
2dbfbdbb5f00f8a639335fb089ea7b719f9dc1fbd174c435eec07cd66359ee00
|