SlideShare a Scribd company logo
1 of 22
Download to read offline
IG-JADE-PKSlib


         An Agent­Based Framework for 
       Advanced Web Service Composition 
               and Provisioning 

                       Erick Martínez & Yves Lespérance

                            Department of Computer Science
                                   York University
                                   Toronto, Canada

1   Martínez & Lespérance             IG-JADE-PKSlib         WSABE @ AAMAS-2004
Motivation
    ●   Next generation Web Services
         –   Semantic Web
         –   Reasoning / Planning
         –   Automation

    ●   Agent­oriented toolkit for advanced MAS / 
        WSC and provisioning

    ●   Previous results (knowledge­based 
        planning)
2   Martínez & Lespérance     IG-JADE-PKSlib   WSABE @ AAMAS-2004
Air Travel MAS Example
                    (WSC & Provisioning)




3   Martínez & Lespérance   IG-JADE-PKSlib   WSABE @ AAMAS-2004
IG-JADE-PKSlib Components
    ●   IndiGolog: high­level model­based 
        programming language based on the situation 
        calculus and good for modeling dynamic 
        domains.
    ●   JADE: open source, Java­based, FIPA­
        compliant software framework for developing 
        MAS
    ●   PKS: efficient knowledge­based planning 
        system, supports incomplete information and 
        sensing actions
4   Martínez & Lespérance   IG-JADE-PKSlib   WSABE @ AAMAS-2004
IndiGolog (IG)
        (De Giacomo & Levesque, 1999)
    ●   Supports:
         –   Reasoning about action (e.g., diagnosis) 
         –   Exogenous events handling,
         –   Sensing, 
         –   Planning / Re­planning, 
         –   Plan execution,
         –   Execution monitoring
    ●   Limitations:
         –   mainly intended for designing individual 
             autonomous agents
5   Martínez & Lespérance     IG-JADE-PKSlib        WSABE @ AAMAS-2004
IG Agent Specification
    Has two parts:
    ● Declarative specification of the domain and its dynamics 
      in the situation calculus:
         –   Axioms describing the initial situation
         –   Action precondition axioms
         –   Successor state axioms
         –   Sensed  fluent axioms
         –   Unique names axioms for the primitive actions
         –   Some foundational, domain independent axioms 
    ●   Procedural description of the agent behaviour in the IG 
        process language
         –   Rich programming language, with support for non­determinism, 
             concurrency, interrupts, search, etc.

6   Martínez & Lespérance           IG-JADE-PKSlib              WSABE @ AAMAS-2004
IG Travel Orchestrator
             Agent Example
                                    proc orchControl 
                                       π id, pid, xid . 
                                          ?(agent_ID = id),
                                          ?(plan_ID = pid),
                                          ?(exec_ID = xid),
                                       /* Three Concurrent Processes */
                                       handleRequest(id) ||
                                       handlePlanning(pid) ||
                                       handleExecution(xid)
                                    endProc
7   Martínez & Lespérance   IG-JADE-PKSlib                  WSABE @ AAMAS-2004
Java Agent DEvelopment
                     Framework (JADE)
                            (TILAB/AOT Labs)
    ●   Supports:
         –   FIPA­compliant agent architecture
              ●   Agent Management System
              ●   Directory Facilitator
              ●   Agent Communication Channel
         –   Full implementation of FIPA communication model
              ●   Agent interaction protocols (AIPs), 
              ●   Agent Communication Language (ACL), 
              ●   SL content language, 
              ●   Some types of ontologies, and
              ●   Transport protocols
    ●   Limitations:
         –   Lack of reasoning mechanisms for agents
              ●   Interface to JESS, but JESS has limitations with respect to 
                  reasoning about dynamic domains (e.g., WS)
8   Martínez & Lespérance             IG-JADE-PKSlib                 WSABE @ AAMAS-2004
IG-JADE Interface


                                IndiGolog



                Exogenous                          Primitive
                Actions (IG)   TCP/IP Socket      Actions (IG)




                                  JADE



9   Martínez & Lespérance        IG-JADE-PKSlib                  WSABE @ AAMAS-2004
IG-JADE Interface
                             (IG Arch.)
                                                ●   Original IG 
                                                    Limitation:  intended 
                                                    for designing individual 
                                                    autonomous agents

                                                ●   Extended IG Features:
                                                     –   FIPA ACL (message) 
                                                         handling
                                                     –   FIPA SL (content) 
                                                         handling 
                                                     –   Support for FIPA Agent 
                                                         Interaction Protocols 
                                                         (AIPs)
                                                ●   Integration to MAS
                                                ●   Asynchronous 
                                                    communication
                                                     –   Proactive + reactive IG 
                                                         agents
10   Martínez & Lespérance     IG-JADE-PKSlib              WSABE @ AAMAS-2004
IG Travel Orchestrator
        Agent Example (Revisited)
                                    proc handleRequest(id)
                                       /* FIPA AIP (Request­participant) */
                                       initRequestParticipantRole(id)
                                    endProc

     proc orchControl               proc handlePlanning(pid)  
        π id, pid, xid .               <cid: state_planning(pid, cid) = ready  
           ?(agent_ID = id),               /* FIPA AIP (Request­initiator) */  
           ?(plan_ID = pid),               → initRequestInitiatorRole(id)>
           ?(exec_ID = xid),
                                       〉〉 
        handleRequest(id) ||
        handlePlanning(pid) ||
                                           <true →  noOp>
        handleExecution(xid)        endProc
     endProc
11   Martínez & Lespérance       IG-JADE-PKSlib                 WSABE @ AAMAS-2004
IG-JADE Interface
                             (JADE Arch.)
                                                 ●   Original JADE 
                                                     Limitation:  lack of 
                                                     reasoning mechanisms 
                                                     for agents (dynamical 
                                                     domains)

                                                 ●   Extended JADE 
                                                     Features:
                                                      –   Socket interface to IG

                                                 ●   Messenger is a full­
                                                     fledged JADE agent
                                                      –   ACL handling
                                                      –   Translator/mailbox

                                                 ●   Extended capabilities 
                                                     to do reasoning on 
                                                     dynamical domains

12   Martínez & Lespérance      IG-JADE-PKSlib              WSABE @ AAMAS-2004
Air Travel MAS Example
                             (Revisited)




13   Martínez & Lespérance      IG-JADE-PKSlib   WSABE @ AAMAS-2004
Automated Web Service
          Composition as Planning
     ●   WSC Problem: given a set of Web services and some 
         user defined task or goal to be achieved, automatically 
         find a composition of the available services to accom­
         plish the task.

     ●   WSC as a Planning Problem:  
          –   Predefined available services as the building blocks of a plan
          –   Many WS actions involve sensing
          –   Large search space, incomplete information in the initial 
              state



14   Martínez & Lespérance          IG-JADE-PKSlib               WSABE @ AAMAS-2004
Planning with Knowledge
            and Sensing (PKS)
     ●   Supports:
          –   Planning under conditions of incomplete knowledge
          –   Sensing actions,
          –   Parameterized conditional plans,
          –   Planning at the knowledge level (without considering 
              all the different ways the physical world can be 
              configured),
          –   Efficient, sound, forward chaining inference algorithm
     ●   Limitations:
          –   Only limited forms of incomplete knowledge can be 
              represented 
          –   Inference algorithm is efficient but incomplete
15   Martínez & Lespérance       IG-JADE-PKSlib            WSABE @ AAMAS-2004
WSC in PKS
         (Martínez & Lespérance, 2004)

     ●   PKS primitive actions correspond to WS
          –   Knowledge­producing actions  ↔       information 
              gathering WS
          –   Physical actions  ↔   world­altering WS

     ●   New WS becomes available  →      add new 
         primitive action to domain specification


16   Martínez & Lespérance     IG-JADE-PKSlib         WSABE @ AAMAS-2004
PKS Spec. Example
                        (Air Travel Domain)
         Action          Precondition                 Effects
      findRFlight(x)  K(airCo(x))           add(Kw, flightExists(x))
                      K(indFindRFlight(x))  add(Kf,¬indFindRFlight(x))
                      K(desFindRFlight(x))

      bookFlight(x)        K(airCo(x))                   add(Kf, bookedFlight(x))
                           K(availFlight(x))             del(Kf, availFlight(x))
                           K(indBookFlight(x))           add(Kf,¬indBookFlight(x))
                           K(desBookFlight(x))

     Domain specific update rules (DSUR)
      K(airCo(x))  ¬Kv(flightNum(x))  K(flightExists(x))  
                                             add(Kv,  flightNum(x))


                                 1 explicit parameter: company

17    Martínez & Lespérance            IG-JADE-PKSlib                  WSABE @ AAMAS-2004
PKS-JADE Interface




                    ●
                         Why PKS­JADE? 
                         – Both object­oriented: JADE (Java), PKS (C++) 
                    ●   PKS­WA is a full­fledged JADE agent 
                         – FIPA AIPs
                         – FIPA ACL
                         – FIPA SL
                         – Ontology support (e.g., pks­ontology)
                    ●   Extended knowledge­based planning capabilities
18   Martínez & Lespérance            IG-JADE-PKSlib                WSABE @ AAMAS-2004
Air Travel MAS Example
              (Final / IG-JADE-PKSlib)




19   Martínez & Lespérance   IG-JADE-PKSlib   WSABE @ AAMAS-2004
Main Contributions
       ●   Extended IndiGolog, added support for:
            –   FIPA Agent Interaction Protocols (AIPs)
            –   FIPA ACL (message) handling
            –   FIPA SL (content) handling 
            –   Integration to MAS
       ●   Asynchronous communication, proactive + reactive IG agent 
           behaviours
       ●   IG­JADE­PKSlib: agent­based infrastructure and toolkit, for 
           developing inter­operable, intelligent MASs (e.g. advanced WS 
           applications)
       ●   Our toolkit provides comprehensive support for multiple fea­
           tures, such as: reasoning for dynamical domains, knowledge­
           based planning (incomplete knowledge, sensing), execution 
           monitoring, AIPs, ontologies, etc.
20   Martínez & Lespérance           IG-JADE-PKSlib           WSABE @ AAMAS-2004
Open Problems and
                      Future Work
     ●   Translation of OWL, DAML­S, etc. into PKS/IG specifications
     ●   Representation of atomic services
     ●   Customizing domain theory based on problem
          –   Automatic generation (desc. goal + user pref.)

     ●   IG­PKS interface (i.e., IG built­in KB planning)
          –   IG passes planning calls to PKS (efficient)
          –   Prolog­based reimplementation of PKS (more flexible, but less 
              efficient) 
     ●   Experiments + case studies to validate performance and
         scalability of integrated framework [Martínez & Lespérance, 2004]
     ●   Plan execution and contingency recovery
21   Martínez & Lespérance           IG-JADE-PKSlib             WSABE @ AAMAS-2004
Thank You!



22   Martínez & Lespérance      IG-JADE-PKSlib   WSABE @ AAMAS-2004

More Related Content

Similar to IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition and Provisioning

The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...
The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...
The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...Channy Yun
 
LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...
LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...
LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...AdaLabs
 
AdaLabs FOSDEM 2012 Ada on Rails
AdaLabs FOSDEM 2012 Ada on RailsAdaLabs FOSDEM 2012 Ada on Rails
AdaLabs FOSDEM 2012 Ada on RailsAdaLabs
 
Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View Tail-f Systems
 
[Day 3] Assessment Grid By Chris Nicholas
[Day 3] Assessment Grid By Chris Nicholas[Day 3] Assessment Grid By Chris Nicholas
[Day 3] Assessment Grid By Chris Nicholascsi2009
 
My research proposal slides.
My research proposal slides.My research proposal slides.
My research proposal slides.Bu Sawoo
 
OGCE MSI Presentation
OGCE MSI PresentationOGCE MSI Presentation
OGCE MSI Presentationmarpierc
 
Scale Transactional Apps Across Multiple Regions with Low Latency
Scale Transactional Apps Across Multiple Regions with Low LatencyScale Transactional Apps Across Multiple Regions with Low Latency
Scale Transactional Apps Across Multiple Regions with Low LatencyYugabyte
 
How Salesforce.com uses Hadoop
How Salesforce.com uses HadoopHow Salesforce.com uses Hadoop
How Salesforce.com uses HadoopNarayan Bharadwaj
 
Greenplum-Spark November 2018
Greenplum-Spark November 2018Greenplum-Spark November 2018
Greenplum-Spark November 2018KongYew Chan, MBA
 
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...PivotalOpenSourceHub
 
How salesforce.com Uses Hadoop Webinar
How salesforce.com Uses Hadoop WebinarHow salesforce.com Uses Hadoop Webinar
How salesforce.com Uses Hadoop WebinarSalesforce Developers
 
Secrets of Spark's success - Deenar Toraskar, Think Reactive
Secrets of Spark's success - Deenar Toraskar, Think Reactive Secrets of Spark's success - Deenar Toraskar, Think Reactive
Secrets of Spark's success - Deenar Toraskar, Think Reactive huguk
 
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...gogo6
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Arun Gupta
 
Bazillion New Technologies
Bazillion New TechnologiesBazillion New Technologies
Bazillion New TechnologiesAyman Mahfouz
 
Digital Signal Processing with FPGAs for Accelerated AI
Digital Signal Processing with FPGAs for Accelerated AIDigital Signal Processing with FPGAs for Accelerated AI
Digital Signal Processing with FPGAs for Accelerated AILogic Fruit Technologies
 

Similar to IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition and Provisioning (20)

The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...
The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...
The Construction of the Internet Geological Data System Using WWW+Java+DB Tec...
 
LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...
LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...
LSM 2011 AdaLabs presentation slides: How to make my business opensource & vi...
 
AdaLabs FOSDEM 2012 Ada on Rails
AdaLabs FOSDEM 2012 Ada on RailsAdaLabs FOSDEM 2012 Ada on Rails
AdaLabs FOSDEM 2012 Ada on Rails
 
Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View
 
[Day 3] Assessment Grid By Chris Nicholas
[Day 3] Assessment Grid By Chris Nicholas[Day 3] Assessment Grid By Chris Nicholas
[Day 3] Assessment Grid By Chris Nicholas
 
My research proposal slides.
My research proposal slides.My research proposal slides.
My research proposal slides.
 
OGCE MSI Presentation
OGCE MSI PresentationOGCE MSI Presentation
OGCE MSI Presentation
 
Scale Transactional Apps Across Multiple Regions with Low Latency
Scale Transactional Apps Across Multiple Regions with Low LatencyScale Transactional Apps Across Multiple Regions with Low Latency
Scale Transactional Apps Across Multiple Regions with Low Latency
 
How Salesforce.com uses Hadoop
How Salesforce.com uses HadoopHow Salesforce.com uses Hadoop
How Salesforce.com uses Hadoop
 
Greenplum-Spark November 2018
Greenplum-Spark November 2018Greenplum-Spark November 2018
Greenplum-Spark November 2018
 
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
 
How salesforce.com Uses Hadoop Webinar
How salesforce.com Uses Hadoop WebinarHow salesforce.com Uses Hadoop Webinar
How salesforce.com Uses Hadoop Webinar
 
Secrets of Spark's success - Deenar Toraskar, Think Reactive
Secrets of Spark's success - Deenar Toraskar, Think Reactive Secrets of Spark's success - Deenar Toraskar, Think Reactive
Secrets of Spark's success - Deenar Toraskar, Think Reactive
 
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
 
How Salesforce.com Uses Hadoop
How Salesforce.com Uses HadoopHow Salesforce.com Uses Hadoop
How Salesforce.com Uses Hadoop
 
Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011
 
Bazillion New Technologies
Bazillion New TechnologiesBazillion New Technologies
Bazillion New Technologies
 
The Java alternative to Javascript
The Java alternative to JavascriptThe Java alternative to Javascript
The Java alternative to Javascript
 
Digital Signal Processing with FPGAs for Accelerated AI
Digital Signal Processing with FPGAs for Accelerated AIDigital Signal Processing with FPGAs for Accelerated AI
Digital Signal Processing with FPGAs for Accelerated AI
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

IG-JADE-PKSlib: An Agent-Based Framework for Advanced Web Service Composition and Provisioning

  • 1. IG-JADE-PKSlib An Agent­Based Framework for  Advanced Web Service Composition  and Provisioning  Erick Martínez & Yves Lespérance Department of Computer Science York University Toronto, Canada 1 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 2. Motivation ● Next generation Web Services – Semantic Web – Reasoning / Planning – Automation ● Agent­oriented toolkit for advanced MAS /  WSC and provisioning ● Previous results (knowledge­based  planning) 2 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 3. Air Travel MAS Example (WSC & Provisioning) 3 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 4. IG-JADE-PKSlib Components ● IndiGolog: high­level model­based  programming language based on the situation  calculus and good for modeling dynamic  domains. ● JADE: open source, Java­based, FIPA­ compliant software framework for developing  MAS ● PKS: efficient knowledge­based planning  system, supports incomplete information and  sensing actions 4 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 5. IndiGolog (IG) (De Giacomo & Levesque, 1999) ● Supports: – Reasoning about action (e.g., diagnosis)  – Exogenous events handling, – Sensing,  – Planning / Re­planning,  – Plan execution, – Execution monitoring ● Limitations: – mainly intended for designing individual  autonomous agents 5 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 6. IG Agent Specification Has two parts: ● Declarative specification of the domain and its dynamics  in the situation calculus: – Axioms describing the initial situation – Action precondition axioms – Successor state axioms – Sensed  fluent axioms – Unique names axioms for the primitive actions – Some foundational, domain independent axioms  ● Procedural description of the agent behaviour in the IG  process language – Rich programming language, with support for non­determinism,  concurrency, interrupts, search, etc. 6 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 7. IG Travel Orchestrator Agent Example proc orchControl     π id, pid, xid .        ?(agent_ID = id),       ?(plan_ID = pid),       ?(exec_ID = xid),    /* Three Concurrent Processes */    handleRequest(id) ||    handlePlanning(pid) ||    handleExecution(xid) endProc 7 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 8. Java Agent DEvelopment Framework (JADE) (TILAB/AOT Labs) ● Supports: – FIPA­compliant agent architecture ● Agent Management System ● Directory Facilitator ● Agent Communication Channel – Full implementation of FIPA communication model ● Agent interaction protocols (AIPs),  ● Agent Communication Language (ACL),  ● SL content language,  ● Some types of ontologies, and ● Transport protocols ● Limitations: – Lack of reasoning mechanisms for agents ● Interface to JESS, but JESS has limitations with respect to  reasoning about dynamic domains (e.g., WS) 8 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 9. IG-JADE Interface IndiGolog Exogenous Primitive Actions (IG) TCP/IP Socket Actions (IG) JADE 9 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 10. IG-JADE Interface (IG Arch.) ● Original IG  Limitation:  intended  for designing individual  autonomous agents ● Extended IG Features: – FIPA ACL (message)  handling – FIPA SL (content)  handling  – Support for FIPA Agent  Interaction Protocols  (AIPs) ● Integration to MAS ● Asynchronous  communication – Proactive + reactive IG  agents 10 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 11. IG Travel Orchestrator Agent Example (Revisited) proc handleRequest(id)    /* FIPA AIP (Request­participant) */    initRequestParticipantRole(id) endProc proc orchControl   proc handlePlanning(pid)      π id, pid, xid .     <cid: state_planning(pid, cid) = ready         ?(agent_ID = id),        /* FIPA AIP (Request­initiator) */         ?(plan_ID = pid),        → initRequestInitiatorRole(id)>       ?(exec_ID = xid),    〉〉     handleRequest(id) ||    handlePlanning(pid) ||        <true →  noOp>    handleExecution(xid) endProc endProc 11 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 12. IG-JADE Interface (JADE Arch.) ● Original JADE  Limitation:  lack of  reasoning mechanisms  for agents (dynamical  domains) ● Extended JADE  Features: – Socket interface to IG ● Messenger is a full­ fledged JADE agent – ACL handling – Translator/mailbox ● Extended capabilities  to do reasoning on  dynamical domains 12 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 13. Air Travel MAS Example (Revisited) 13 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 14. Automated Web Service Composition as Planning ● WSC Problem: given a set of Web services and some  user defined task or goal to be achieved, automatically  find a composition of the available services to accom­ plish the task. ● WSC as a Planning Problem:   – Predefined available services as the building blocks of a plan – Many WS actions involve sensing – Large search space, incomplete information in the initial  state 14 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 15. Planning with Knowledge and Sensing (PKS) ● Supports: – Planning under conditions of incomplete knowledge – Sensing actions, – Parameterized conditional plans, – Planning at the knowledge level (without considering  all the different ways the physical world can be  configured), – Efficient, sound, forward chaining inference algorithm ● Limitations: – Only limited forms of incomplete knowledge can be  represented  – Inference algorithm is efficient but incomplete 15 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 16. WSC in PKS (Martínez & Lespérance, 2004) ● PKS primitive actions correspond to WS – Knowledge­producing actions  ↔    information  gathering WS – Physical actions  ↔   world­altering WS ● New WS becomes available  →    add new  primitive action to domain specification 16 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 17. PKS Spec. Example (Air Travel Domain) Action Precondition Effects  findRFlight(x)  K(airCo(x))  add(Kw, flightExists(x))  K(indFindRFlight(x))  add(Kf,¬indFindRFlight(x))  K(desFindRFlight(x))  bookFlight(x)  K(airCo(x))  add(Kf, bookedFlight(x))  K(availFlight(x))  del(Kf, availFlight(x))  K(indBookFlight(x))  add(Kf,¬indBookFlight(x))  K(desBookFlight(x)) Domain specific update rules (DSUR)  K(airCo(x))  ¬Kv(flightNum(x))  K(flightExists(x))   add(Kv,  flightNum(x)) 1 explicit parameter: company 17 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 18. PKS-JADE Interface ●  Why PKS­JADE?  – Both object­oriented: JADE (Java), PKS (C++)  ● PKS­WA is a full­fledged JADE agent  – FIPA AIPs – FIPA ACL – FIPA SL – Ontology support (e.g., pks­ontology) ● Extended knowledge­based planning capabilities 18 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 19. Air Travel MAS Example (Final / IG-JADE-PKSlib) 19 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 20. Main Contributions ● Extended IndiGolog, added support for: – FIPA Agent Interaction Protocols (AIPs) – FIPA ACL (message) handling – FIPA SL (content) handling  – Integration to MAS ● Asynchronous communication, proactive + reactive IG agent  behaviours ● IG­JADE­PKSlib: agent­based infrastructure and toolkit, for  developing inter­operable, intelligent MASs (e.g. advanced WS  applications) ● Our toolkit provides comprehensive support for multiple fea­ tures, such as: reasoning for dynamical domains, knowledge­ based planning (incomplete knowledge, sensing), execution  monitoring, AIPs, ontologies, etc. 20 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 21. Open Problems and Future Work ● Translation of OWL, DAML­S, etc. into PKS/IG specifications ● Representation of atomic services ● Customizing domain theory based on problem – Automatic generation (desc. goal + user pref.) ● IG­PKS interface (i.e., IG built­in KB planning) – IG passes planning calls to PKS (efficient) – Prolog­based reimplementation of PKS (more flexible, but less  efficient)  ● Experiments + case studies to validate performance and     scalability of integrated framework [Martínez & Lespérance, 2004] ● Plan execution and contingency recovery 21 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004
  • 22. Thank You! 22 Martínez & Lespérance IG-JADE-PKSlib WSABE @ AAMAS-2004