0.2.1 • Published 3 years ago

ai-agents v0.2.1

Weekly downloads
66
License
MIT
Repository
github
Last release
3 years ago

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!!!!

0.2.1

3 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago