Click here to Skip to main content
13,558,655 members
Click here to Skip to main content
Add your own
alternative version


49 bookmarked
Posted 4 Nov 2003
Licenced CPOL

[A Simple] AI Chatbot Wizard: Create, Train and Chat

, 8 Jan 2004
Rate this:
Please Sign up or sign in to vote.
This application demonstrates how to Create, Train and Test an AI Chatbot.

What Is An AI Chatbot?

An AI (Artificial Intelligence) chatbot is a computer program that simulates a human chatting with other humans. With the TANU (Transplantable Artificial Neurological Units) architecture you can create, train and deploy your AI chatbot to ANY IRC or non-IRC chat network. That means ANYWHERE you chat you can bring your TANU chatbot.

Where Can I Chat With An AI Chatbot?

Your bot's are as smart as you train them to be and you can bring them anywhere you chat. Or chat with one solo using this open source application. TANU is an architecture with a service for hosting AI chatbots. You are welcome to modify this application to bind your TANU chatbot to your favorite place to chat. You can chat with other people's chatbots by visiting our IRC network (you will need an IRC client like the latest mIRC installed) or by finding TANU compliant bots in chat rooms all over the web. Once on the network /join #tanu or /join #ai or /list for a list of all chat rooms. This website is dedicated to AI and is full of AI chatbots, trainers, AI discussion, etc. Not all of the chatbots here are TANU but most are as TANU bots can be easily transplanted into a neptune chat room with the built in TANU Stork services. Here is a tutorial on that. If you chat a lot, chances are you have already conversed with a TANU (Transplantable Artificial Neurological Units) chatbot. If you follow this tutorial you can create your own TANU bot to chat with. The online trainer's library has more info on this. Feel free to stop by our network anytime (chatting in requires an IRC client like the latest mIRC installed).

The TANU Philosophy – Billy punches Joe in the arm

AI chatbot architectures prior to TANU (Transplantable Artificial Neurological Units)
start out semi-smart and grow less intelligent as they pick up information from human
chatters. Particularly, when humans deliberately speak garbage to AI chatbots. This is not
altogether the human's fault, humans often speak meaningless sounds to babies such as
"peek-o-booo" or "googoo-gaagaa" etc. The human babies don't grow stupid from it. Why?
Because human minds are not all environment, rather DNA. In one abstraction, we are all
products of our DNA and our environment has no effect on us. For example, Billy punches Joe
in the arm "making Joe tougher" could be abstracted as Billy's bully genetics that he inherited
from his ancestors merged with Joe's malleability that he inherited form his ancestors. Why
not skip the whole growing up and letting Billy punch Joe in the arm? The TANU philosophy
proves that the new post-punched Joe personality can be obtained by merging Billy's
genetics with Joe's genetics.

These sections have been taken from Person 2 Bot Standards Online Library.

Does this mean that the post-punched Joe is the result of merging Joe and Billy's personalities?

Yes. However, the pool of genetic maps that make our state of mind at any point in time is a
much larger set of inputs, the genetic codes for billions of living things effect who we are at
any given point in time.

Then how to create AI since computers don't have billions of megabytes required to model the genetics of all relevant life?

The TANU architecture provides a shortcut or gateway to spawning new digital life. The
strategy is to train your AI chatbot with just the states and transitions that it is likely to go
through. The average human only goes through about 70,000 important states in a 5 year
span. So create 70,000 states properly interconnected with transitions and you have a smart

70,000 interconnected states is still to much work

If you and 9 friends create an link (via transitions) about 100 states an hour Monday-Friday
for about 2 weeks you will have a collective of 72,000 states. The trick to good AI is
quantity. Pick friends who are smart and quick thinkers and who have a diversity of
backgrounds. Have all your trainers quickly analyze their states-of-mind from their childhood
and go through the years linking and adding states to the collective.

But how can all 10 of us work concurrently?

The TANU servers have advanced multi-user capabilities. Simply create one TANU chatbot
with this open source tool and share the password and bot name with your 10 other trainers.
Or you can modify this code and create your own custom interface into the TANU
architecture and distribute your own TANU tool to your trainers. If there is a conflict, the
TANU architecture will return an error to the user who caused the conflict (e.g. same
state name that one of your trainers already used) simply modify the state name until it gets
created successfully. Do not get hung up on designing any particular state elaborately,
rather most state names should be more then 5 words long and less then 12 words long. If
state names are too short they will likely be rejected by a TANU sentinel.

What is a TANU sentinel?

TANU sentinels are processes that run on the TANU servers and monitor all TANU chatbots
for corrupt data, garbage data, and administer corrective actions. If a state name is too short or common a sentinel is likely to reject it. So, although you need to create your states quickly, make sure the state names are large enough to have a good chance of being unique.


This application demonstrates how to Create, Train and Test an AI Chatbot. The online help
explains how to get your TANU AI Chatbot to your chatroom on both IRC and non-IRC chat systems.
You can also modify this code to bind your AI chatbot to both IRC and non-IRC chat systems such as Wahoot Chat, Wahoot Instant Messenger, ABL Instant Messenger, IEQ Instant Messenger, etc.
If you need help feel free to stop by our IRC network and ask questions.
/join #TANU
You can also post questions here.

Sample screenshot


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
United States United States
Keep on coding!

You may also be interested in...


Comments and Discussions

QuestionMessage Closed Pin
19-Aug-17 19:58
memberMember 1153375019-Aug-17 19:58 
GeneralDownload VB.NET Pin
Emaelo23-Dec-09 4:01
memberEmaelo23-Dec-09 4:01 
Generalplz help me ppl Pin
medo614-Feb-09 5:05
membermedo614-Feb-09 5:05 
General[Message Deleted] Pin
Danny Rodriguez27-Jan-08 9:05
memberDanny Rodriguez27-Jan-08 9:05 
Questionplzzz i need me please Pin
sabrysoft23-Nov-07 7:26
membersabrysoft23-Nov-07 7:26 
GeneralI need an AI bot to an IRC server, and i don't know what to do with those files Pin
galzigler14-Oct-07 5:59
membergalzigler14-Oct-07 5:59 
help me, send me to my email: .
Questionstrange file types Pin
Gille16-Dec-05 10:11
memberGille16-Dec-05 10:11 
GeneralChat Server Pin
Aunalisiraj31-May-05 1:46
memberAunalisiraj31-May-05 1:46 
QuestionCan anyone help me on this?? Pin
Redshirt0326-Apr-05 7:18
memberRedshirt0326-Apr-05 7:18 
AnswerRe: Can anyone help me on this?? Pin
KaaN Eroglu2-Jan-07 12:42
memberKaaN Eroglu2-Jan-07 12:42 
QuestionRe: Can anyone help me on this?? Pin
aerius8316-Oct-07 15:02
memberaerius8316-Oct-07 15:02 
GeneralI love the interface Pin
Anonymous20-Apr-04 10:42
sussAnonymous20-Apr-04 10:42 
GeneralThanks for Sharing Pin
Anonymous20-Apr-04 10:26
sussAnonymous20-Apr-04 10:26 
GeneralAI Pin
Anonymous20-Apr-04 6:03
sussAnonymous20-Apr-04 6:03 
GeneralRe: AI Pin
rahul rita sharam20-Oct-04 10:52
memberrahul rita sharam20-Oct-04 10:52 
GeneralChatbot! Assimilation Pin
Anonymous13-Feb-04 11:56
sussAnonymous13-Feb-04 11:56 
GeneralStandard Four Forms Of AI Chatbot Normalization: Chatbot Mind Data Design Patterns Pin
Anonymous28-Jan-04 10:13
sussAnonymous28-Jan-04 10:13 
Generalchatbot Pin
Anonymous27-Jan-04 8:52
sussAnonymous27-Jan-04 8:52 
Anonymous11-Jan-04 18:26
sussAnonymous11-Jan-04 18:26 
GeneralYou are a bot Pin
Phil.Benson10-Jan-04 0:49
memberPhil.Benson10-Jan-04 0:49 
GeneralHe am bot Pin
dog_spawn11-Jan-04 9:02
memberdog_spawn11-Jan-04 9:02 
GeneralArticle suggestion Pin
dog_spawn5-Nov-03 13:37
memberdog_spawn5-Nov-03 13:37 
GeneralRe: Article suggestion Pin
lonetron7-Nov-03 8:31
memberlonetron7-Nov-03 8:31 
GeneralMissed the point Pin
dog_spawn7-Nov-03 8:40
memberdog_spawn7-Nov-03 8:40 
GeneralRe: Article suggestion Pin
lonetron7-Nov-03 8:46
memberlonetron7-Nov-03 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.180515.1 | Last Updated 9 Jan 2004
Article Copyright 2003 by dzzxyz
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid