ai-agents
v0.2.1
Published
Framework to create virtual agents
Downloads
12
Maintainers
Readme
ai-agents
First attemp to create a multi agent framework for the lecture: Introducción a la inteligencia Artificial.
Install
git clone https://github.com/andcastillo/ai-agents.git
cd ai-agents
npm install
Run the example
node src/example/main.js
Output
Winner Smith
[ { agentID: 'Smith', action: 'DOWN' },
{ agentID: 'Smith', action: 'RIGHT' },
{ agentID: 'Smith', action: 'RIGHT' },
{ agentID: 'Smith', action: 'LEFT' },
{ agentID: 'Smith', action: 'RIGHT' },
{ agentID: 'Smith', action: 'LEFT' },
{ agentID: 'Smith', action: 'RIGHT' },
{ agentID: 'Smith', action: 'LEFT' },
{ agentID: 'Smith', action: 'RIGHT' },
{ agentID: 'Smith', action: 'LEFT' },
{ agentID: 'Smith', action: 'RIGHT' },
{ agentID: 'Smith', action: 'LEFT' } ]
[ [ 0, 0, 0, 0 ],
[ 0, 1, 1, -1 ],
[ 0, 1, 0, 0 ],
[ 0, 'X', 0, 1 ] ]
As we still having the -1 in the problem matrix, we assume that agent could not solve the given problem.
Now, try it yoursel!!!!