on_event
React when something happens on the bus.
Client
await messenger.publish("order.created", payload)
Server
class OrderService:
@on_event("order.created")
async def on_order(self, payload):
...
Kontiki is a compact open-source stack for teams that need the essentials — building, running and monitoring Python services — without the heavy ops stack.
A Python framework on AMQP — you write entrypoints, Kontiki runs the bus.
React when something happens on the bus.
Client
await messenger.publish("order.created", payload)
Server
class OrderService:
@on_event("order.created")
async def on_order(self, payload):
...
Call another service like a local method.
Client
await StockProxy(messenger).get_stock(sku)
Server
class StockService:
@rpc
async def get_stock(self, sku):
return self.delegate.stock_for(sku)
Expose a simple HTTP API.
class HealthService:
@http("/health", "GET")
async def health(self, request):
return {"ok": True}
Run a periodic task.
class PollService:
@task(interval=60)
async def poll(self):
...
A Textual TUI over what the Kontiki registry already tracks — plus local logs.
A small ops suite for Kontiki platforms — complete enough to run, simple enough to own.
pip install kontiki kontiki-tui kontiki-monitor