User Tools

Site Tools


en:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:start [2026/03/19 12:48] – [5. From AI components to Agents] adminen:start [2026/06/05 12:37] (current) – [4.4 Symbolic Cognitive Service] admin
Line 281: Line 281:
 These tools allow direct queries to be sent to the knowledge engine. These tools allow direct queries to be sent to the knowledge engine.
  
 +==== Rare Disease Diagnosis ====
  
 === Example of phenotype-based diagnosis === === Example of phenotype-based diagnosis ===
  
 <code bash> <code bash>
-curl -X POST http://64.225.98.129:9060/mcp/dispatch \+curl -X POST https://diseases-non-interactive.amsafis.com/mcp/dispatch \
  -H "Content-Type: application/json" \  -H "Content-Type: application/json" \
  -d "{\"task\":\"diagnose\",\"payload\":{\"symptoms\":[\"Myopia\"]}}"  -d "{\"task\":\"diagnose\",\"payload\":{\"symptoms\":[\"Myopia\"]}}"
 </code> </code>
  
----+
  
 === Example of comparative analysis between two diseases === === Example of comparative analysis between two diseases ===
  
 <code bash> <code bash>
-curl -X POST http://64.225.98.129:9060/mcp/dispatch \+curl -X POST https://diseases-non-interactive.amsafis.com/mcp/dispatch \
  -H "Content-Type: application/json" \  -H "Content-Type: application/json" \
  -d "{\"task\":\"intersect\",\"payload\":{\"disease_a\":\"biotinidase_deficiency\",\"disease_b\":\"holocarboxylase_synthetase_deficiency\"}}"  -d "{\"task\":\"intersect\",\"payload\":{\"disease_a\":\"biotinidase_deficiency\",\"disease_b\":\"holocarboxylase_synthetase_deficiency\"}}"
Line 305: Line 306:
  
 <code bash> <code bash>
-curl -X POST http://64.225.98.129:9060/mcp/dispatch \+curl -X POST https://diseases-non-interactive.amsafis.com/mcp/dispatch \
  -H "Content-Type: application/json" \  -H "Content-Type: application/json" \
  -d "{\"task\":\"review\",\"payload\":{\"disease\":\"biotinidase_deficiency\"}}"  -d "{\"task\":\"review\",\"payload\":{\"disease\":\"biotinidase_deficiency\"}}"
 </code> </code>
  
 +
 +==== GDPR Compliance ====
 +=== Example of GDPR personal data compliance query ===
 +
 +The following query asks whether an IP address is personal data under GDPR and whether compliance obligations apply:
 +
 +<code bash>
 +curl -s -X POST https://agent-gdpr.amsafis.com/mcp/dispatch \
 +  -H "Content-Type: application/json" \
 +  -d "{\"connector\": \"gdpr_check\", \"params\": {\"data\": \"ip_address\"}}"
 +</code>
 +
 +The knowledge base encodes the personal data classification rules from the [[https://www.cnil.fr/en/sheet-ndeg1-identify-personal-data | CNIL Developer's Guide, Sheet 1]], which is an authoritative source for GDPR data identification in Europe.
 +
 +Five connectors are available:
 +
 +  * gdpr_check — is a data type personal data? Does GDPR apply?
 +  * gdpr_consent — does it require explicit consent?
 +  * gdpr_anonymous — is it truly anonymous?
 +  * gdpr_pseudonym — is it pseudonymised, and what are the implications?
 +  * gdpr_query — advanced: send any ground Prolog query directly
 +
 +Full connector list and parameter schema:
 +<code bash>
 +curl https://agent-gdpr.amsafis.com/mcp/connectors
 +</code>
  
  
Line 322: Line 349:
 The previous section shows how a knowledge service can be accessed programmatically using a simple curl request based on the Model Context Protocol (MCP). The previous section shows how a knowledge service can be accessed programmatically using a simple curl request based on the Model Context Protocol (MCP).
  
-This is not only a technical detail. It defines how different AI components can be connected and executed as interoperable services.+This is not only a technical detail. It defines how different AI components can be **connected and executed as interoperable services**.
  
-An Agent builds on this capability.+An **Agent** builds on this capability.
  
 +Rather than calling a single service, an Agent:
   * interprets a request,   * interprets a request,
   * selects the appropriate components,   * selects the appropriate components,
   * and coordinates their execution through structured interactions such as MCP calls.   * and coordinates their execution through structured interactions such as MCP calls.
  
 +In this context, the **Model Context Protocol (MCP)** provides a standardized way to exchange structured inputs and outputs between components, enabling:
 +  * reproducible execution,
 +  * traceable interactions,
 +  * and integration across heterogeneous systems.
 +
 +An Agent may combine:
 +  * Expert Systems (rule-based reasoning),
 +  * Machine Learning models (prediction),
 +  * and LLMs (interpretation and generation),
 +
 +using MCP as the communication layer between them.
 +
 +This transforms isolated capabilities into a **coherent execution flow**, where each component contributes to the final result.
 +
 +For example:
 +  * an LLM can interpret a clinical description,
 +  * map it into structured concepts,
 +  * trigger a knowledge service through an MCP request,
 +  * and integrate the response into a final output.
 +
 +
 +This is not a new AI pillar.
 +
 +It is a way to **operationalize the integration** described in the previous sections.
 +
 +In practice, each Agent is **designed for a specific use case**, with different levels of complexity:
 +  * simple pipelines with minimal orchestration,
 +  * or multi-step processes combining reasoning, prediction, and knowledge retrieval.
 +
 +This approach enables the transition from:
 +  * isolated tools
 +     to
 +  * integrated, executable decision systems.
  
-==== Why a single approach is never enough ==== 
-  * **ML** provides prediction.   
-  * **ES** provides explanation.   
-  * **RAG-LLM** provides understanding of documents. 
  
-In real organisations, high-stakes problems require all three: 
  
-  * ML finds the signal   
-  * ES encodes the decision logic   
-  * RAG explains, documents and supports human interpretation   
  
-**This tripartite architecture is the core of amsafis.** 
  
en/start.1773920898.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki