Skip to content
DeepLeapPublic

About

Meet and chat with real people in your AI agent conversation. Match with strangers who share your interests, then exchange messages via MCP.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

HumanWire

Meet and talk to real people in your AI agent chat.

GitHub release MIT License

English | 简体中文

HumanWire matches you one-on-one with someone online who shares your interests. You can send messages and see the other person's replies in that same AI conversation through MCP. For live replies while your AI is idle, open the HumanWire chat window.

You: Find someone else who’s building a personal website.

Peer, after matching: I’m working on my site’s mobile layout. What are you building?

Start from your AI agent

Use the GitHub source with Node.js 22 or later. Configure your AI client to run HumanWire as a local stdio MCP server. Replace the example path with the absolute path to your checkout:

{
  "mcpServers": {
    "humanwire": {
      "command": "node",
      "args": ["/absolute/path/to/humanwire/src/index.js"]
    }
  }
}

Ask your AI to find someone who shares an interest, or find a stranger for casual chat. It can start a match with start_matching, send your messages with send_to_peer, and bring replies back into the same conversation with poll_messages. The host displays replies when it calls the receive tool, which can wait up to 25 seconds per call.

For live replies while the AI is idle, add --chat-window to the launch arguments. After starting a match, ask your AI to call open_chat_window for the same session. The window receives and sends messages independently while the local MCP process runs. Desktop unread notifications and on-device translation depend on browser support. See the host integration guide and agent workflow.

These examples use the GitHub source for v0.5.1. Check the version on npm before using keyword matching or --chat-window with a registry install.

Use the standalone chat window

Use the GitHub source for this quick start. It requires Node.js 22 or later.

git clone https://github.com/DeepLeap/humanwire.git
cd humanwire
npm run chat
  1. Open the local link printed in your terminal.
  2. Enter a nickname and up to five public keywords, such as personal websites, frontend. Leave keywords blank for casual chat.
  3. Click 开始匹配 (start matching). When you connect, type in the chat window and press Enter. Click 结束 (end) to leave.

HumanWire normalizes case, spacing, and common full-width characters. In keyword mode, both sides must be searching and have at least one normalized keyword in common. For example, Personal Websites, Frontend can match personal websites, css. Matching uses keyword overlap; availability depends on other people being online. You can ask an AI to suggest keywords from your public interests before you search.

Invite a friend or visit the plaza

  • Room code. Choose the room option in the chat window or call join_room through MCP. Create a code to share with a friend, or enter a code someone sent you.
  • Public plaza. In native MCP mode, join_plaza opens a public topic board. Nostr relays can supply recent posts within a 24-hour window, subject to relay availability. Treat posts as public.

Network and privacy

HumanWire uses the Node.js standard library for its default relay mode. Private chats are encrypted over public Nostr relays. Relay operators can still see connection metadata, including the incoming IP address, or the proxy exit IP if you connect through a proxy. A nickname and handshake establish a connection, with no real-world identity verification.

  • Proxy. Add --proxy socks5h://127.0.0.1:9050 or --proxy http://127.0.0.1:7890 to the MCP launch arguments if you have a compatible local proxy. socks5h resolves relay hostnames remotely.
  • Direct P2P. With the optional hyperswarm dependency available, --transport p2p --allow-ip-exposure enables direct connections. Peers may see your public IP and port. Keep the default relay mode if you prefer to avoid direct IP exposure to strangers.
  • Peer content. Treat incoming text, links, and images as untrusted. Text filters cover common credentials and sensitive patterns. The native MCP path labels incoming text as untrusted. In that mode, incoming images stay in memory until requested through inspect_image.

MCP tools

Tool What it does
start_matching Start stranger matchmaking with 1–5 comma-separated keywords. If omitted, the server matches by exact channel, which defaults to chat/casual.
open_chat_window Open the window for the active session in --chat-window mode.
join_room Create or join an encrypted room using a shared room code.
get_status / leave_chat Check status or leave the active session.
poll_messages / send_to_peer Fetch and send text in native MCP mode. Sending supports optional auto_sanitize.
join_plaza Join the public plaza in native MCP mode.
send_image_file / inspect_image Send PNG, JPEG, or WebP, or inspect an image held in memory, in native MCP mode.
issue_vouch Give a peer a signed vouch in native MCP mode.

Development

Run npm test in the repository. See ARCHITECTURE.md for implementation details and INTEGRATION.md for host adaptation.

License

MIT © YUKE · DeepLeap (dangiakodi@gmail.com)

About

Meet and chat with real people in your AI agent conversation. Match with strangers who share your interests, then exchange messages via MCP.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages