IoT platforms collect data, run rules and record device operations. When conditions change in less predictable ways, someone still has to examine trends, decide what to do and check the outcome. We are exploring how an AI agent can help with that sequence: inspect authorized data, investigate when needed, recommend or perform permitted actions, and follow up later.
Our AI Advisor began with a single model analysis. We then introduced tool calls, working memory across runs and growing presets. This article describes those design choices and their limits. The greenhouse examples are illustrative, not field results.
Starting with a fixed snapshot
The first design collected the latest readings, historical data and recent operations for the sensor and control points assigned to the advisor on a schedule. It sent a fixed snapshot to the model, then converted the structured response into control or scheduling recommendations. Direct point control was added later for configured cases.
The snapshot reused existing data and operation paths, but its contents were decided before the model ran. If a temperature change raised a new question, the model could not request more detailed historical data or related operation records. We needed data retrieval to become part of the reasoning process.
Letting the model use tools
We replaced the single call with a tool loop. The model can inspect assigned points and open follow-ups, then choose whether to query history, read operation records, propose an action or use another permitted tool. Each result goes back to the model for its next decision, until the run ends.
In a hypothetical greenhouse, a rising temperature might lead the advisor to inspect the summary since its previous run, then request more detailed historical data and recent operation records. If the available data cannot explain the change, it should state that uncertainty rather than invent a cause.
The design starts with sensor summaries and uses statistics, samples or raw data when needed. Time matters too: a current reading more than two hours old is treated as unknown instead of being presented as the present state.
Following up across runs
A tool loop can pursue a question within one run. The next step was to organize matters that need attention later as working memory managed by the advisor. Each run ends; a later run reads open follow-ups and the outcomes of previous recommendations, then reassesses them against fresh data.
Suppose the advisor recommends ventilation after a sustained temperature rise and records the expected effect. A later run can check whether the user accepted the recommendation and compare subsequent readings. Other actions may also have affected the temperature; a successful command alone does not prove the problem is solved.
Working memory stores judgments and tasks that need continuity: evidence, progress, expected effects and a review time. Raw sensor data and operation records remain in their source systems. The design limits the number of open follow-ups and the length of their text fields, and closes items that have not been reviewed for too long. A previous conclusion can be wrong, so a review must use current evidence.
Permission and physical effects
An agent can affect real equipment. The advisor is designed to access only assigned points. Direct control requires separate authorization for a controllable point; otherwise the advisor can propose an action for the user. Server-side checks enforce the boundary.
A device accepting a command does not prove that airflow reached the intended area or that temperature improved. An action already taken cannot be rolled back merely because the rest of a run fails. The current design therefore does not automatically retry an entire failed run, which could repeat an operation.
Equipment that must stop after a limited period, such as a watering system, needs a reliable stopping mechanism in its control system. A later agent review cannot guarantee that stop: data, networks, scheduling or execution can fail.
Domain presets and site context
As tasks expanded into growing applications, we separated platform rules, shared cultivation principles, plant-specific presets and user-provided site instructions. A run also uses the points and permissions configured by the user. A custom task can be used instead of a preset.
For example, the bird’s-nest fern preset covers routine care for established potted plants and provides default growing reference ranges. It does not assume that a particular sensor or device is installed. Assigned points determine what the advisor can observe and operate. Missing data matters when it limits a particular judgment; it is not automatically an abnormal condition.
A reference range is not an equipment switching threshold. A decision also depends on duration, trends, device purpose, site requirements and stopping conditions. Low air humidity, for example, does not establish that the growing medium needs water.
Always-on service and run intervals
Anthropic’s Building always-on agents describes a system that wakes for an event or timer, saves what it needs after a run and waits for the next trigger. The article describes five components: an event inbox, timers, memory, permissions and an outbox.
That framework exposes an open question in Advisor. The design supports fixed run intervals and follow-up review times, but a review time does not itself wake the advisor. If the interval is six hours and a review is planned after 30 minutes, the system does not guarantee a run at that time.
Waking for a due follow-up warrants investigation alongside concurrency, missed runs and model cost. Recovery also needs care: an event may fail after equipment has already moved. The system must determine what happened before deciding whether a retry is safe. These are future considerations, not completed features.
The cloud platform foundation
YenGear IoT Cloud supports device connections, point data, remote control, schedules, alerts, operation records and project permissions. Advisor is designed to build on those facilities, retrieving authorized data, using existing action paths and checking outcomes in later runs. Available data and actions depend on the equipment, connection and configuration.
The advisor backend and management interface implement the design described here. The complete chain with a real model, field data and test equipment still needs validation, and production scheduled dispatch has not yet been restored. Preset judgments, notification frequency and follow-up outcomes remain to be assessed in operation.



