First create an Agent through the chats UI and copy the Agent ID
Accessing your Agents through our API is extremely simple
# make sure that you set your EveryAI Api Key
Everyai.api_key = "secret_api_key"
agent = Everyai::Agent.find("AGENT_ID")
agent.generate("Hey agent how are you doing?")
# I'm doing great how are you