Giter Site home page Giter Site logo

slaa's Introduction

Introduction

SLAA agent architecture for Web-based developing of communication oriented agents. The implementation has been done with the Java JAIN SLEE standard and the Drools rule engine for rule-based programming agents. The behavior of an agent is defined by the actions done after a rule is �red. The rules are triggered by the arrival of events. These events are received at the JAIN SLEE server through resource adapters and are typically generated by external elements but can also be generated internally. An agent is aware of what is happening in its environment through the events received, and it can interact with the environment via the available actions de�ned by the arrival of events.

Installation

###1.System Requirements

  • Ubuntu 12.10
  • java version "1.7.0_17"

###2.System Configuration Set the JBOSS_HOME environment variable to point to the directory "slaa-1.0.FINAL":

export JBOSS_HOME=/home/fet/Desktop/slaa-1.0.FINAL

###3.Server Configuration Set the server IP and port in the slaa-1.0.FINAL/server/default/deploy/ROOT.war/slaa/js/config.js file:

endPoint = 'http://localhost:8080/mobicents'

###4.Running Server Go to slaa-1.0.FINAL/bin and execute:

  • ./run.sh (for local access)
  • ./run.sh -b 0.0.0.0 (for local and external access)

Now you can go to a web client and try the server at localhost:8080/slaa

Running the Example

###1.Configuring Agent Click on [exampleUser] and then on [exampleAgent] and set the Agent Gtalk user credentials. Create a Gtalk account for the Agent if you don't have one.
Go to rules editor and add and expert user in the "Started" rule. You can add yourself as expert user in order to test the agent:

String[] experts = {"[email protected]"};
String[] names = {"Your Name"};

###2.Configuring Agent web client Set the configuration in the slaa-1.0.FINAL/server/default/deploy/ROOT.war/exampleAgent/js/config.js file:

endPoint = 'http://localhost:8080/mobicents'
userName = 'exampleUser'
agentName = 'exampleAgent'

###3.Starting the Agent

  • Add the Agent Gtalk account to the expert user Gtalk contacts list
  • Click on [agents] or [exampleUser] and then on [start]. Now you must see the Agent online.
  • Go to a web client and try the agent at localhost:8080/exampleAgent.
  • Have fun!

Contributors

at Grupo de Sistemas Inteligentes, ETSIT-UPM.

License

Copyright 2013 UPM-GSI: Group of Intelligent Systems - Universidad Politécnica de Madrid (UPM)

Licensed under the Apache License, Version 2.0 (the "License"); 
You may not use this file except in compliance with the License. 
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by 
applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific 
language governing permissions and limitations under the License.

GSI Logo

slaa's People

Contributors

neoner2002 avatar

Watchers

James Cloos avatar  avatar

Forkers

gsi-upm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.