Skip to content
Templates

iMessage agent with LangGraph.js

Put your product in iMessage with Keiki. Your LangGraph.js agent helps customers set up integrations and remembers what they were working on in the thread.

View imessage-langgraph-agent on GitHub

How do I build an iMessage agent with LangGraph.js?

  1. Create a Keiki agent with an external harness and copy its ID.
  2. Clone nizzyabi/imessage-langgraph-agent and deploy it to Render or a Docker host with KEIKI_AGENT_ID and OPENAI_API_KEY set.
  3. In Keiki push mode, set the dispatch URL to your public HTTPS endpoint ending in /keiki/turn.
  4. Attach an iMessage line. Text “Help me connect GitHub”, then “What plan do I need?” to see the graph use its tools and conversation memory.

Your code, your model, your servers. Keiki only handles the channels.

Details

  • Stack: LangGraph.js, Hono, Node.js, TypeScript, @onkeiki/channels
  • Channels: iMessage
  • Docs: /docs/external-harness