GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tchambil/agent-server: A Flexible and Scalable Platform for Multi-Agent Systems

BranchesTags
Open more actions menu

Latest commit

 

History

181 Commits
181 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main
src/main
 
 
target
target
 
 
README.md
README.md
 
 
agent-server.iml
agent-server.iml
 
 
agent-server.ipr
agent-server.ipr
 
 
agent-server.iws
agent-server.iws
 
 
architecture.png
architecture.png
 
 
pom.xml
pom.xml
 
 

Repository files navigation

A Flexible and Scalable Platform for Multi-Agent Systems:


Plataform Agent Server

The Agent Server platform incorporates relevant information and functions for managing agents from the behavior and life cycle point of view. The architecture of this platform includes the Message Transport Protocol Module for reliable processing of messages, which uses the Agent Communication Language (ACL) specified by FIPA and managed by the methods GET, POST and PUT of the HTTP communication protocol. Likewise Agent Manager incorporates the module responsible for the management of the platform and agents. All agents in the Agent Server platform have the same actions implemented, thus allowing to develop their capabilities in a uniform manner. Agent Server is an extension of "Agent-Server-Stage-0"

Architecture

Requirements

  • Apache Tomcat 7+
  • Java SE Development Kit (JDK) 7

Download(Optional for Deploy in Tomcat)

  • War distribution of AgentServer is available for download

Install manual

  • Edit file /var/lib/tomcat/conf/server.xml
<Host name="localhost" >
<value …/>
     <Context path="" docBase="/var/lib/tomcat7/webapps/agent-server-1.0"
      Reloable=”true”/>
</Host>
  • Create directory for data
  cd /var/lib/tomcat7
  mkdir  persistent_store 
  chmod 777 persistent_store 
  • Download file war
  cd /var/lib/tomcat7/webapps
  
  sudo service tomcat7 stop(optional)

  sudo wget -O agent-server-1.0.war https://github.com/tchambil/agent-server/blob/master/target/agent-server-1.0.war?raw=true
  
  sudo service tomcat7 restart(optional)

For start agent

http://localhost:8080/

Steps for run:
1)Plataform (Agent Server)
->For running Plataform with button "start"
->For pause Plataform with button "pause"
->For Restart Plafaform with button "Restart"
->For stop Plataform with button "stop"
->For get status of Plataform with button "status"
->For get configuration of Plataform with button "config"
->For get about of the Plataform with button "about"
2)Users
->For add users with button "add"
->For update data of users with button "update"
->For get list of users with button "list all"
->For get specification of a users with button "get" 
3)Agent Definition
->For add agent Definition with button "add definition" 
->For get agent Definition with button "get definition" 
4)Agent
->For add agents with button "add agent" 
->For get all agents with button "get all"
-> . . . .

Example(http://agentserver.herokuapp.com/)

Basic Configurations: (STEPS)

  • Create user with id "test-user-1" This is mandatory

  • Create Agent Definition (for read messages) ->AgentDefinition Menu -> JSON

{
    "name": "definitions1",
     "timers": [
        {
            "name": "message",
            "interval": "seconds(4)",
            "script": "message w; return w.read('only');",
        }
    ]
}
  • Create agents

  • Create groups

  • Imports agents from other servers

  • Suscribe to groups

  • More informations Tutorial Plataform Agent Server ->Tutorial Menu

Case Studio NautiLOD Distributed:

  • To acces http://agentserver.herokuapp.com/nautilodindex.do -> Run Script Menu -> into Expression NautiLOD
	Seed URI ->  http://dbpedia.org/resource/Italy
	
	NautiLOD expression->

<http://dbpedia.org/ontology/hometown>[ASK {?ctx <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://dbpedia.org/ontology/Person>. ?ctx <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://dbpedia.org/ontology/MusicalArtist>.}]/<http://dbpedia.org/ontology/birthPlace>/
<http://www.w3.org/2002/07/owl#sameAs>/<http://www.w3.org/2000/01/rdf-schema#isDefinedBy>
[ASK {?ctx <http://www.geonames.org/ontology#population> ?pop. FILTER (?pop <15000).}] -f files.rdf
  • For get Result -> Result Menu with Task ID

Configure message for Delegate task:

the sintaxis for delegate is:

Delegate(A, B, Task), where
A=Agent delegator,
B=Agent Contractor,
Task= Set and sequence actions (eg, putTo, exec, join, message, result)
Example:
Delegate(A,B, putTo(C, exec(Q, const))), where
Q=Query sql,
const= constrains for execution actions

In content have actions ::putTo and ::exec

{ 
"conversationId": "geonames-123581844", 
"sender": "[email protected]", 
"receiver": "[email protected]", 
"replyTo": "[email protected]", 
"content": "::putTo([email protected], ::exec(http://sws.geonames.org/3165322/ -p 
			<http://www.w3.org/2000/01/rdf-schema#isDefinedBy> 
			[ASK {?ctx <http://www.geonames.org/ontology#population> 
			?pop. FILTER (?pop >10000).}] -f files.rdf))", 
"language": "", 
"encoding": "123525235", 
"ontology": "2", 
"protocol": "REQUEST", 
"replyWith": "",
"inReplyTo": "",
"replyBy": "", 
"performative": "REQUEST" 
}

For more information contact [email protected]

About

A Flexible and Scalable Platform for Multi-Agent Systems

Topics

agent-serverdelegationlinked-data

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.