npi-ai/npi

Event trigger

Closed this issue · 0 comments

from npiai.app.github import Github
from npiai.app.google import Calendar

agent1 = Agent(prompt="...")
agent1.use(GitHub(), Gmail())

agent.when("npi-ai/npi has new issues, sending an email to w@npi.ai with the body of issue")