@ngandu/chanda
v1.0.5
Published
Chanda - Autonomous Personal Assistant built with Deep Agents in TypeScript
Maintainers
Readme
🌟 What is Chanda?
Most AI tools are trapped inside a single browser tab. When you close the tab, they forget who you are, what you were working on, and how you prefer things done.
Chanda is different.
Chanda is an autonomous personal companion designed to live alongside you throughout your day. Whether you are typing in your terminal, sending a message from your phone on Telegram, collaborating with your team on Slack, or hanging out in Discord, Chanda is there — with continuous memory, the ability to take real action on your computer, and support for your favorite AI model.
⚡ Why Chanda?
| Superpower | What it means for you |
| :--- | :--- |
| 🌐 Unified Presence | Talk to Chanda in your Terminal, on Slack, via Telegram on your phone, or in Discord. One assistant everywhere. |
| 🧠 Remembers You | Chanda learns your preferences, projects, habits, and past conversations so you never have to repeat yourself. |
| 🛠️ Takes Real Action | Not just a chatbot. Chanda can read and organize files, search documents, run commands, and execute tasks autonomously. |
| 📷 Vision & Media | Understands and reasons about images, screenshots, diagrams, documents, audio, and video files across all channels. |
| 🎯 Your Choice of AI Brain | Use Anthropic Claude, OpenAI GPT-4o (Responses API), Google Gemini, Groq, or run 100% free and offline with Ollama. |
| ⚡ OpenAI Responses API | Built-in support for OpenAI's native Responses API (/v1/responses), reasoning summaries, and native web search & code interpreter tools. |
| 🔒 Private & Local-First | All your memories, notes, and credentials stay safely stored on your computer in ~/.chanda. Your data is yours. |
| ⏰ Proactive Companion | Chanda doesn't just wait for you to ask questions. It can deliver morning briefings, track tasks, and send scheduled reminders. |
🚀 Get Started in 60 Seconds
You don't need to be a software engineer or clone any code repository. If you have Node.js installed on your computer, you can start right now:
Step 1: Run the Onboarding Wizard
Open your terminal and run:
npx @ngandu/chanda onboard(Or install Chanda globally so it's always ready with npm install -g @ngandu/chanda)
The friendly setup wizard will walk you through everything step by step:
- Choose your AI Brain (Claude 3.7, GPT-4o, Gemini 2.0, Groq, or offline Ollama).
- Enter your API key (or skip if using local Ollama).
- Select your channels (Terminal, Slack, Telegram, Discord).
All your settings and keys are saved securely to your personal home folder (~/.chanda).
Step 2: Start Chatting
To start talking with Chanda in your terminal:
npx @ngandu/chanda chat(If installed globally, simply type chanda or chanda chat)
That's it! Say hello, ask a question, or give Chanda a task to complete.
💬 Connect Your Favorite Apps
Chanda is designed to meet you wherever you already communicate:
┌──────────────────────┐
│ Terminal (CLI) │
└──────────┬───────────┘
│
┌──────────────────┐ │ ┌──────────────────┐
│ Slack Bot │───────┼───────│ Telegram Bot │
│ (DMs & Threads) │ │ │ (Mobile / Web) │
└──────────────────┘ │ └──────────────────┘
│
┌──────────┴───────────┐
│ Discord Bot │
│ (Servers & Mentions) │
└──────────────────────┘
│
┌───────────▼────────────┐
│ ✨ CHANDA CORE │
│ Memory • Tools • Brain│
└────────────────────────┘To connect your messaging apps, run:
chanda gatewayChanda starts an always-on assistant service that connects to your enabled channels simultaneously.
📱 Telegram
- Talk to Chanda directly from your phone while away from your desk.
- Receive scheduled briefings, reminders, and quick answers.
- Shows native "typing..." status while thinking.
💼 Slack
- Add Chanda to your workplace or private workspace.
- Chat with
@chandain direct messages or tag Chanda in team channels. - Integrates with Slack's native Assistant status bar (
is typing...).
🎮 Discord
- Bring Chanda into your community server or private server.
- Mention
@chandato get instant answers, code reviews, or research summaries. - Shows standard Discord typing indicators while processing.
💻 Terminal
- Fast, rich interactive terminal interface with markdown formatting, status indicators, and full command support.
💡 What Can Chanda Do For You?
Here are some real-world examples of how people use Chanda every day:
1. Daily Planning & Reminders
"Good morning! What are my key priorities today, and what did we discuss yesterday regarding the launch plan?"
"Set a reminder to check in with the design team every weekday at 10:00 AM."
2. Research & Deep Summaries
"Analyze the latest updates in our project documentation and create a clean summary of the three biggest changes."
"Find all notes in my workspace mentioning 'budget' and draft an executive briefing."
3. File & Computer Tasks
"Look at the files in this folder, organize the messy filenames, and create an index markdown file."
"Draft an email welcoming our new team member and save it as a template in my notes."
4. Continuous Learning & Memory
"Remember that I prefer concise, bullet-pointed summaries without pleasantries."
"Remember that our staging server URL is https://staging.example.com and only deploy after 6 PM."
Next week, Chanda will remember these preferences automatically without being reminded!
5. Multimodal Vision & Media Analysis
"Inspect this architecture diagram (architecture.png) and explain the data flow between our microservices."
"Look at this error screenshot and suggest a fix for why the database connection failed."
"Extract and summarize the text from this quarterly report PDF."
🧰 Helpful Commands
Chanda comes with an intuitive set of everyday commands:
| Command | What it does |
| :--- | :--- |
| chanda chat | Start an interactive conversation in your terminal. |
| chanda onboard | Run the setup wizard to adjust models, keys, channels, or service. |
| chanda service init | Setup & register Chanda as a 24/7 background system service (chanda.service). |
| chanda service logs | View or stream live logs from the background daemon (chanda service logs -f). |
| chanda service status | Inspect service health, PID, active runtime, and system status. |
| chanda service uninstall | Stop, disable, and cleanly remove the background service. |
| chanda media [path] | Inspect, analyze, or list media assets (images, documents, audio, video). |
| chanda status | Check Chanda's health, active channels, and memory stats. |
| chanda memory | View or search what Chanda remembers about you. |
| chanda gateway | Launch the multi-channel daemon for Slack, Telegram, and Discord in foreground. |
| chanda cron | View and manage scheduled briefings and automated reminders. |
| chanda model | Check or switch your active AI model on the fly. |
| chanda wiki | Search your personal knowledge base and stored notes. |
| chanda version | View version information and system environment. |
| chanda update | Check the npm registry for a newer release (--apply to install it). |
🔄 Run 24/7 as a Background Service (chanda.service)
Want Chanda to listen to your Slack, Telegram, and Discord messages 24/7 without keeping a terminal open?
Chanda includes automated system service setup:
# 1. Initialize and register the background service
chanda service init
# 2. View live daemon logs in real time
chanda service logs -f
# 3. Check service health & status
chanda service status
# 4. Uninstall anytime with a single command
chanda service uninstall(Tip: You can also choose to install chanda.service automatically during chanda onboard!)
Inside the Terminal Chat:
While chatting inside the terminal, you can also use quick shortcuts:
/image <path|url> [prompt]— Inspect and reason about an image directly./media <path|url> [prompt]— Inspect documents, audio, or video assets./model— Switch your active AI brain instantly./memory— Inspect what Chanda has learned during this session./tools— View all active tools Chanda has access to./clear— Clear the screen./exit— End your chat session.
🔒 Privacy & Local-First Security
Your personal data should belong to you, not a third-party corporation:
- Local Storage: All of Chanda's memories, conversation history, user preferences, and configuration are stored locally on your machine at
~/.chanda. - Strict Permissions: Files containing API tokens or sensitive configurations are protected with strict operating system permissions (
0o600for files,0o700for directories). - No Mystery Telemetry: Chanda does not harvest your personal notes or sell your activity logs.
- Offline Option: If you want 100% data privacy without any cloud API calls, connect Chanda to Ollama to run models directly on your hardware.
🛠️ For Developers & Engineers
Looking for deep technical architecture specifications, system flow diagrams, protocol details, automated test matrices, or release pipelines?
👉 Read the comprehensive technical guide: IMPLEMENTATION.md
Topics covered in IMPLEMENTATION.md:
- Deep Agents harness architecture & LangGraph runtime
- Model-agnostic brain router (Hermes Agent pattern)
- Proactive gateway engine & channel protocols (OpenClaw pattern)
- Multimodal media engine & cross-channel attachments (
src/media/,skills/media-processing/) - Native typing indicator implementations (Slack Assistant API, Telegram chat actions, Discord Gateway v10)
- Full-text search memory indexing & dynamic cognitive profiling
- Automated release engineering & semantic versioning pipeline
- Complete 45-test verification suite
📄 License
This software is released under the MIT License.
Copyright © 2026 Chanda.
