Skip to content
AdarshOnePublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Phase 1 — Prove the mechanic

This is step 1 only: confirm the two-agent conversation actually works and feels real, before building any UI. Run this in your terminal via Claude Code or plain Node.

Setup (2 minutes)

npm init -y
npm install @anthropic-ai/sdk
export ANTHROPIC_API_KEY="your-key-here"
node test.js

Get an API key at https://console.anthropic.com if you don't have one yet. New accounts often get a small free credit — check the console before loading your card, might cover this whole hackathon.

What to watch for when you run it

Read the printed conversation and ask yourself:

  1. Does the customer ever say "As an AI..." or explain its reasoning? If yes, the character-break rules in the system prompt need to be stronger/repeated. This is the #1 risk from our conversation.

  2. Does the customer cave too easily / agree by turn 2? If yes, add more explicit "you are allowed to stay unconvinced" language, maybe even tell it directly it's allowed to say "I need to think about it" as a real ending.

  3. Does it feel like two people talking, or two chatbots being polite to each other? If it feels polite/agreeable, that's the sycophancy problem — push the customer persona's skepticism harder in the prompt.

Cost check

At Haiku 4.5 pricing (~$1/$5 per million tokens) with 6 turns and short responses (~150-200 tokens each), one full run + analysis is a fraction of a cent. You could run this 50+ times testing prompts and still be well under $1 CAD. Don't stress about re-running it to tune the prompts.

Next step (Phase 2, don't start yet)

Once a run through this script actually reads like a real, slightly messy human conversation — not scripted, not overly agreeable — THAT'S when you wrap it in a simple HTML page with a text input for product description and persona fields, swapping the hardcoded PRODUCT_DESCRIPTION and CUSTOMER_PERSONA at the top for user input. Don't build UI before this script convinces you.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages