Skip to content

Conversation

@sachigoyal
Copy link
Contributor

@sachigoyal sachigoyal commented Nov 9, 2025

attempts #609

try locally

pnpm install && pnpm start

Quick Start

  1. Authenticate with Echo

    pnpm start login

    Choose between:

    • Echo API Key: Opens your browser to create an API key
    • WalletConnect: Displays a QR code for mobile wallet authentication
  2. Start chatting

    pnpm start
  3. Select a model (optional)

    pnpm start model

Commands

Authentication

pnpm start login          # Authenticate with Echo (API key or wallet)
pnpm start logout         # Sign out and clear credentials

Chat

pnpm start                # Start a new chat session
pnpm start resume         # Resume your last conversation

Model Management

pnpm start model          # Select a different AI model

History

pnpm start history        # View your conversation history
pnpm start export         # Export conversations as JSON

Profile

pnpm start profile        # View your Echo profile and balance

Authentication Methods

Echo API Key

The Echo API Key method creates an API key via your web browser:

  1. Run echodex login and select "Echo API Key"
  2. Your browser will open to echo.merit.systems
  3. Sign in and create an API key
  4. The key is securely stored in your OS keychain

WalletConnect

The WalletConnect method uses the X402 payment protocol:

  1. Run echodex login and select "WalletConnect"
  2. Scan the QR code with your mobile wallet (e.g., MetaMask, Rainbow)
  3. Approve the connection
  4. Pay for AI usage directly from your wallet
echodex.mp4

@vercel
Copy link
Contributor

vercel bot commented Nov 9, 2025

@sachigoyal is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

@sachigoyal
Copy link
Contributor Author

@zdql can you please review it, and give me some feedbacks

Copy link
Contributor

@zdql zdql left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, really nice work @sachigoyal ! Left two notes, While you fix those up I will try to get this merged and you paid on terminal today!

@sachigoyal
Copy link
Contributor Author

@zdql hey added two new features

  • resume command now displays prev messages
  • local wallet (self custody)

also updated the readme of it so that you can get more ideas about the implemenation
you can give it a try if you want

just in case you wanna try directly in the monorepo, let me help you with few notes

  1. cd templates/echo-cli
  2. pnpm install --ignore-workspace
  3. pnpm approve-builds and select all and approve (definitely needed for keytar to work)
  4. pnpm start should display the help command output
  5. pnpm start login to see 3 auth options (3rd is the local wallet)

the reason i didnt add init local wallet command is to preserve the convention of the code. so it will be the 3rd option of authentication. also i kept in mind the security aspects, so users get pretty good warnings and everything that deals with the private key

let me know you opinions, and how else should i modify the docs website to communicate better

thanks

@zdql
Copy link
Contributor

zdql commented Nov 11, 2025

Fantastic @sachigoyal I will merge this ASAP

@rsproule
Copy link
Contributor

Paid

@zdql zdql merged commit 30794f9 into Merit-Systems:master Nov 11, 2025
3 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants