Skip to main content
An input device sends data to the agent while it runs. Use one to connect an added sensor, a webhook, or any event the agent should react to.

Write an input

Save this as ~/innate-os/workspace/inputs/ticker.py. It sends a message every second:
Then add it to an agent:

Data types

The microphone

MARS ships with MicroInput, which streams speech from the built-in microphone. Add it to an agent to talk to it. Its source, workspace/inputs/micro_input.py, is the best example of a real input.