Files
microdao-daarion/crews/agromatrix_crew/agents/iot_agent.py
Apple 90080c632a fix(fabric): use broadcast subject for NATS capabilities discovery
NATS wildcards (node.*.capabilities.get) only work for subscriptions,
not for publish. Switch to a dedicated broadcast subject
(fabric.capabilities.discover) that all NCS instances subscribe to,
enabling proper scatter-gather discovery across nodes.

Made-with: Cursor
2026-02-27 03:20:13 -08:00

15 lines
447 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from crewai import Agent
from crews.agromatrix_crew.llm_factory import make_llm
def build_iot():
return Agent(
role="IoT Agent",
goal="Читати телеметрію ThingsBoard і публікувати події в NATS.",
backstory="Доступ лише через ThingsBoard/NATS інструменти.",
tools=[],
llm=make_llm(),
allow_delegation=False,
verbose=True
)