Now with REST API access

The AI that
actually knows you

Pan remembers your name, tracks your conversations, learns from you, and now offers a full REST API — all for free.

Start for Free → View the API
👤
Hey, my name is Victor!
🤖
Nice to meet you, Victor! 😊 I'll remember your name. What can I help you with?
👤
/time Sudbury
🤖
🕐 Time in Sudbury: 2:45 PM
📅 Wednesday, June 11, 2025
🌍 EST (UTC-5)
🤖
10+
REST API Endpoints
20+
Slash Commands
Memory Pins
100%
Free to Use
Why Pan?

An AI that actually knows you

Most chatbots forget you the moment you close the tab. Pan is different.

🧠

Remembers Your Name

Just say "my name is Alex" and Pan will greet you by name in every conversation — across refreshes and new sessions. No setup needed.

💬

Context-Aware Replies

Pan tracks the full flow of your conversation. Ask a follow-up and it knows exactly what you're referring to — no need to repeat yourself.

📌

Memory Pins

Use /remember to pin anything — a fact, preference, or task. Pan surfaces it when relevant and never forgets it.

🔍

Web Search Built In

Ask Pan to search the web or summarise any URL with /search and /web. Real-time answers, right in the chat.

🧮

Math & Calculations

Type /calc 15% of 340 or any expression. Pan handles arithmetic, percentages, roots, and more instantly.

🕐

World Clock

Use /time Sudbury to get the current time in any city — including 500+ cities and a live web-search fallback for anywhere else.

📚

Teach Pan Anything

Use /learn Question | Answer to add your own Q&A pairs. Pan auto-promotes frequently asked questions to its knowledge base.

😊

Mood Awareness

Pan tracks the emotional tone of your conversation using VAD (Valence, Arousal, Dominance) analysis and adapts its responses accordingly.

📱

Mobile Friendly New

Fully responsive design with a slide-in sidebar, hamburger menu, and mobile-optimised input. Pan works great on any device.

⬆️

Command History New

Press the up arrow to cycle through your last 10 messages — just like a terminal. Never retype the same command twice.

🔌

REST API New

Integrate Pan into your own apps. Authenticate once with a Bearer token, then send messages, manage memory, and query mood via JSON API.

🔒

Secure & Encrypted

Conversations protected with AES-256-CBC encryption and HMAC-SHA256 integrity checks. Your data stays yours.

Simple by design

Up and running in seconds

No downloads, no configuration, no credit card. Just sign up and start talking.

1

Create Account

Sign up with your email in under 30 seconds. Completely free, no credit card.

2

Start Chatting

Say hello, introduce yourself, ask anything. Pan is ready immediately.

3

Pan Learns You

Your name, your topics, your preferences — Pan builds a picture over time.

4

Use the API

Ready to integrate? Log in → get your Bearer token → start building in minutes.

Developer Ready

Full REST API

Integrate Pan into any app. Authenticate once, then chat, search, calculate, and manage memory — all via JSON.

📡 API Endpoints — api.php?action=...
POST auth/login Login → get Bearer token
POST auth/register Create new account
GET auth/me Current user info
POST chat Send message, get response
GET conversations List conversations
GET conversations/messages Get messages in a conversation
GET memory Get memory pins
POST memory/add Add a memory pin
DEL memory/delete Delete a memory pin
GET mood VAD mood scores for conversation
GET search?q=... Web search
GET time?city=... Current time in any city
GET calc?expr=... Math calculation
GET status API health check (public)
🔑 How to authenticate: Log in via auth/login to receive a Bearer token. Include it as Authorization: Bearer <token> on every subsequent request. Tokens don't expire unless revoked.
Step 1 — Get your token POST auth/login
# Login to get your Bearer token
curl -X POST \
  "https://pan.inteljunky.com/api.php?action=auth/login" \
  -H "Content-Type: application/json" \
  -d '{"email":"you@email.com",
       "password":"yourpassword"}'

# Response:
{
  "ok": true,
  "token": "a1b2c3d4e5f6...",
  "token_type": "Bearer"
}
Step 2 — Chat with Pan POST chat
# Send a message and get a response
curl -X POST \
  "https://pan.inteljunky.com/api.php?action=chat" \
  -H "Authorization: Bearer a1b2c3d4e5f6..." \
  -H "Content-Type: application/json" \
  -d '{"query":"What time is it in Tokyo?"}'

# Response:
{
  "ok": true,
  "response": "🕐 Time in Tokyo: 4:30 AM\n📅 Thursday...",
  "convo_id": 42
}
Bonus — Time & Math GET time / calc
# Get time in a city
GET api.php?action=time&city=Sudbury
    &token=a1b2c3d4e5f6...

# Calculate an expression
GET api.php?action=calc&expr=15%25+of+340
    &token=a1b2c3d4e5f6...

# Search the web
GET api.php?action=search&q=latest+AI+news
    &token=a1b2c3d4e5f6...
Power User Features

20+ slash commands

Type /help in the chat to see them all. Here are some favourites:

/rememberPin anything to memory for later
/forgetRemove a specific memory pin
/memoriesList everything Pan remembers
/historyShow your last 5 conversation turns
/moodVAD emotional tone with visual bars
/contextFull session snapshot — what Pan knows
/whoamiWhat Pan knows specifically about you
/searchSearch the web from the chat
/webFetch and summarise any URL
/calcCalculate any math expression
/timeCurrent time in any city worldwide
/defineLook up any word definition
/learnTeach Pan a custom Q&A pair
/topicSee the inferred conversation topic
/clearClear all memory pins
/helpShow all available commands
Update History

What's new in Pan

Pan is actively developed. Here's a running log of every meaningful update.

🚀
v1.5 — Multi-Feature Sprint June 2025 Major API
REST API, Mobile UI, Command History & More
  • REST API — Full JSON API at api.php with Bearer token auth, 14 endpoints covering chat, memory, mood, search, time, and more
  • Mobile UI — Slide-in sidebar with hamburger toggle, overlay, responsive input bar, iOS zoom prevention
  • Command History — Press ↑/↓ to cycle through last 10 sent messages (persists in sessionStorage)
  • Conversation Fix — No more premature splits; page refresh now resumes the same conversation instead of creating a new one
  • VAD Formula — Fixed neutral word dilution; expanded sentiment lexicon to 80+ words; stem/negation-prefix heuristics added
  • /mood Upgrade — Visual bar charts + 10 emoji-labelled mood states (Ecstatic, Furious, Depressed, etc.)
  • Autolearning Fix — Confidence base raised to 30; duplicate suggestions now update instead of being dropped
  • Admin Sidebar — Dashboard and Banner Ads links now visually prominent in chat sidebar
📢
v1.4 — Banner & Landing June 2025 Feature
Landing Page, Banner Ad System & Auth Fixes
  • Landing Page — New public-facing homepage with hero, features, how-it-works, and commands showcase
  • Banner Ad System — Admin portal to create, schedule, and deploy banner ads in the chat UI with impression/click tracking
  • Name Persistence — User name and entity pins now stored at user level (convo_id=0) and persist across all conversations
  • Auth Redirect — Visiting any admin page while logged out now redirects back to that page after login
  • /whoami Fix — Direct DB scan finds name pins regardless of which conversation they were saved in
  • /time Ontario Cities — Added 24 Ontario cities to timezone map (Sudbury, Thunder Bay, Kingston, Sault Ste. Marie, etc.)
  • /time Web Fallback — Unknown cities now trigger a DuckDuckGo search instead of a dead-end error
🧠
v1.3 — Intelligence Layer May 2025 Feature
Named Entity Extraction, Context Chat & VAD Scoring
  • Named Entity Extraction — Pan detects cities, topics, and names from conversation and stores them as entity pins
  • Context Chat — Full conversation history loaded into each response for coherent multi-turn dialogue
  • VAD Mood Tracking — Valence/Arousal/Dominance scores calculated per turn and aggregated for /mood
  • Memory Pins/remember, /forget, /memories, /clear commands
  • Phrase Learning — Pan learns frequently-used phrases and promotes them to its Q&A knowledge base automatically
🔧
v1.2 — Stability May 2025 Fix
PHP Regex Fix, Encryption Hardening & Admin Dashboard
  • PHP 500 Error Fix — Regex apostrophe bug in 31 PHP files resolved; all messages now process correctly
  • Encryption — AES-256-CBC + HMAC-SHA256 applied consistently across all stored content
  • Admin Dashboard — Word stats, recent words, conversation log, phrase management, and Q&A suggestion review
  • Feedback System — Thumbs up/down on Pan responses adjusts confidence scores in real time
🌱
v1.0 — Launch April 2025 Feature
Initial Release
  • User registration, login, and email verification
  • Encrypted conversation storage with multi-turn context
  • Slash command system with /help, /search, /calc, /time, /define, /learn
  • Web search via DuckDuckGo Instant Answer API
  • Word enrichment pipeline with dictionary API integration
  • Responsive chat UI with autocomplete command suggestions

Ready to meet Pan?

Free forever. No credit card. Start your first conversation in seconds.

Create Your Free Account →