apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai

apidays
apidaysapidays
Zdeněk Němec, superface.ai, September ‘23
Autonomous Agents
The year of AI: Forget about APIs?
superface.ai
AI and APIs
• Pioneered the API-first approach
at Apiary.io → Oracle
• Founder of API consulting Good
API
• Helped several Fortune 100
companies with their API
strategy and execution
• Founder and CTO of Superface.ai
Zdeněk “Z” Němec
superface.ai
We have been upgraded!
superface.ai
Year of AI: Impact on APIs?
superface.ai
APIs today
superface.ai
API
Interface for sharing capabilities
GET https:!"wttr.in/london?format=j1
200 OK
Technical
Business
Weather forecast for London
- location
- temperature in Celsius
- humidity
- barometric pressure
- uv indext
- and more…
superface.ai
Tight coupling
Welding client and server together
Server
Client
GET https:!"wttr.in/london?format=j1
Server implementation
hardcoded in client
superface.ai
API provider challenges
API providers facing many problems
How to version API?
API design
Securing APIs
How to publish API?
API product management
What API style? REST vs GraphQL vs …
How to monetize API
How to discover API
API testing
API documentation
API SDK
Developer experience DX
API governance
Observability
Operations & monitoring
superface.ai
Analysis Development Testing Deployment
time budget
Expectation:
Analysis Development … …
Reality:
superface.ai
API consumer perspective
Finding the right API
Capability I need?
Costs?
How to get access?
What are the limitations? SLAs?
How to use it?
How it works?
How to map my data model?
Why is it not doing what I want?
Typical API integration project
API plumbing
Manual labor needed to provide and consume capabilities
!
Design API
"
Document
#
Publish
$
Discover
%
Try
&'
Implement Maintain
(
Build SDK
)
Purchase
*
Test
&
Test
!
Implement
+
API provider API consumer
superface.ai
API documentation
The centerpiece of APIs
Most information needed are
transferred “out of band" in
human-centric API
documentation*
⚠
superface.ai * - not accessible to machines until 2023
Using AI to reduce API plumbing
superface.ai
AI API analysis
AI connects the APIs for you
• You can use ChatGPT / Bard / Copilot directly to generate the code
• _if_ it knows the API
• the API information _might_ be outdated
• OpenAPI (OAS) quality varies greatly, often the critical information are not in OAS
• Code quality differs greatly based on the language
• You are still coupled with the API
• Chatbots are for users, not programmers
superface.ai
Comlink
Communication link for APIs
1. Analyze API documentation, plain text, HTML, or OAS
2. Figure out how to fulfill YOUR use case with the given API
3. Your application calls the API directly using the Comlink interface and client
API Documentation
API
Your App
superface.ai
Your use-case
Comlink interface
# index API from plain text, readme.io, or OpenAPI Spec
$ superface prepare https://resend.com/docs
# create new Comlink for your use case
$ superface new resend “send an email”
Comlink interface
superface.ai
Resend API
Your App
Your vocabulary
Change data model, let AI to figure out the mapping
# run mapping; Comlink engine will figure out
how to map `from` to `sender`
$ superface map send-email
superface.ai
• Dramatically reduces the time needed to integrate an API
• Decouples client from the API, including
• API data model
• API style, media types, etc.
Decoupled
Robust, free to evolve
v1 v2
Breaking API change
Your App
API
superface.ai
One use-case multiple APIs
Unified APIs? Your app can handle it!
# Index API documentations of different providers
$ superface prepare https://resend.com/docs
$ superface prepare https://docs.sendgrid.com/api-reference
Resend API
Sendgrid API
Your App
# Map use case to Resend API
$ superface map send-email resend
# Map use case to SendGrid API
$ superface map send-email sendgrid
superface.ai
AI-powered API documentation
Best developer experience for your API
superface.ai
superface.ai
• Integrate many APIs really quick
• Not bother with API docs
• API client resilient to changes
• We don’t even have to know the endpoint(s)
Do we have to know what API we
use?
superface.ai
Autonomous Agent
superface.ai
Autonomous Agent
Autonomy: freedom from external control or influence;
independence
Agent: a person who acts on behalf of another person, the
doer of an action
A software that acts on
behalf of its users, that is
free to make decisions.
superface.ai
Autonomous Agent Concept
https://lilianweng.github.io/posts/2023-06-23-agent/
Autonomous API Agent
• No hardcoded API calls
• Decides at runtime what
API to connect to
• Figures out at runtime
how to connect
API
API
Agent
Registry
I am here, and this
is how agents
connect
I need to send
email. What API is
available?
Here are the
APIs and how
to connect
API Communication
superface.ai
API landscape
Agent
Inventory 1 Inventory 2
Orders
CRM
PLM
Agent is written for a use case,
GET https:!"192.12.13.1/service/
inventory?pid=12355
“Check inventory”
not for an API
Use cases, not APIs
superface.ai
Boundary within agent navigates
Multiple API landscapes
Mesh of capabilities
Stripe Azure
Ayden
Twilio
Google Fedex
…
Global Landscape
Global capabilities
Partner organization
Service 2
Service 1 Service 3
Agent
CRM Inventory 2
Orders
Inventory 1
PLM
Organization landscape
Partner capabilities
superface.ai
Navigation in a landscape
Unknown or changing landscape of capabilities and providers
Superface Hub
Superface Auto Agent
"Who can tell me about inventory?” List of available inventory services
“What is the inventory for our
product?”
“The inventory for is 42”
Internal inventory services
superface.ai
Personal assistant
Autonomous agent decides what of the available email services to use
based on its configuration and your identity…
“When was the last email from
Edgar?”
Gmail API
Based on Hub configuration
auto agent will ask Gmail
“The last email from
edgar@superface.ai was
Yesterday”
superface.ai
Provider selection
The right capability and provider for the task
Price, quality and relevancy…
“Send “Greetings from Jane” to
+38553694008”
Infobip API
Based on configuration, price,
and country auto agent uses
Infobip
“Your message has been
sent”
superface.ai
Workflows
Multi-step, complex, workflows in unknown or changing landscape
superface.ai
superface.ai
Forget APIs?
superface.ai
Thank you!
Let’s talk!
Zdenek “Z” Nemec
Twitter/X: @zdne
superface.ai
superface.ai
1 sur 32

Recommandé

What’s behind a high quality web API? Ensure your APIs are more than just a ... par
What’s behind a high quality web API? Ensure your APIs are more than just a ...What’s behind a high quality web API? Ensure your APIs are more than just a ...
What’s behind a high quality web API? Ensure your APIs are more than just a ...Kim Clark
2.2K vues44 diapositives
Top 7 wrong common beliefs about Enterprise API implementation par
Top 7 wrong common beliefs about Enterprise API implementationTop 7 wrong common beliefs about Enterprise API implementation
Top 7 wrong common beliefs about Enterprise API implementationOCTO Technology
3.1K vues31 diapositives
Octo API-days 2015 par
Octo API-days 2015Octo API-days 2015
Octo API-days 2015Antoine CHANTALOU
311 vues31 diapositives
Creating Datadipity par
Creating DatadipityCreating Datadipity
Creating DatadipityClickslide
1.2K vues32 diapositives
RefCard API Architecture Strategy par
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture StrategyOCTO Technology
76 vues20 diapositives
How to Design and Build a Great Web API par
How to Design and Build a Great Web APIHow to Design and Build a Great Web API
How to Design and Build a Great Web APILaunchAny
1.2K vues24 diapositives

Contenu connexe

Similaire à apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai

Why your APIs should fly first class par
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first classLibbySchulze
71 vues55 diapositives
API Documentation.pptx par
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
57 vues21 diapositives
API Documentation.pptx par
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
45 vues21 diapositives
Pain Points In API Development? They’re Everywhere par
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywhereNordic APIs
961 vues28 diapositives
WSO2Con Asia 2014 - Building the API-Centric Enterprise par
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2
618 vues62 diapositives
APIs for... Your Mom par
APIs for... Your MomAPIs for... Your Mom
APIs for... Your MomCarlo Longino
2.4K vues20 diapositives

Similaire à apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai(20)

Why your APIs should fly first class par LibbySchulze
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first class
LibbySchulze71 vues
API Documentation.pptx par RahulCR31
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR3157 vues
API Documentation.pptx par RahulCR31
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR3145 vues
Pain Points In API Development? They’re Everywhere par Nordic APIs
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re Everywhere
Nordic APIs961 vues
WSO2Con Asia 2014 - Building the API-Centric Enterprise par WSO2
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2618 vues
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API par apidays
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good APIAPIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
apidays352 vues
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity par Jitendra Bafna
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
Jitendra Bafna575 vues
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business... par Apigee | Google Cloud
O'Reilly author webinar "APIs: A Strategy guide":  Transforming Your Business...O'Reilly author webinar "APIs: A Strategy guide":  Transforming Your Business...
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business...
INTERFACE, by apidays - How to Win Friends and Influence People with API First par apidays
INTERFACE, by apidays - How to Win Friends and Influence People with API FirstINTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API First
apidays47 vues
API, Integration, and SOA Convergence par Kasun Indrasiri
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA Convergence
Kasun Indrasiri2.8K vues
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ... par apidays
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ...
apidays351 vues
Accelerating API Development With OpenAPI and Serverless par SmartBear
Accelerating API Development With OpenAPI and ServerlessAccelerating API Development With OpenAPI and Serverless
Accelerating API Development With OpenAPI and Serverless
SmartBear272 vues
Securely expose protected resources as ap is with app42 api gateway par Zuaib
Securely expose protected resources as ap is with app42 api gatewaySecurely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gateway
Zuaib66 vues
AADI Mashery/Coca-Cola Enterprises November 2012 par BAPISFNYLONDON
AADI Mashery/Coca-Cola Enterprises November 2012  AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012
BAPISFNYLONDON1.6K vues
Guide To API Development.pdf par Techugo
Guide To API Development.pdfGuide To API Development.pdf
Guide To API Development.pdf
Techugo17 vues

Plus de apidays

apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr... par
apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr...apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr...
apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr...apidays
49 vues50 diapositives
apidays Australia - No API is an island, Erik Tveitnes, REA par
apidays Australia - No API is an island, Erik Tveitnes, REAapidays Australia - No API is an island, Erik Tveitnes, REA
apidays Australia - No API is an island, Erik Tveitnes, REAapidays
37 vues17 diapositives
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,... par
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,...apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,...
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,...apidays
57 vues32 diapositives
apidays Australia - Discovering APIs And More With An Internal Developer Port... par
apidays Australia - Discovering APIs And More With An Internal Developer Port...apidays Australia - Discovering APIs And More With An Internal Developer Port...
apidays Australia - Discovering APIs And More With An Internal Developer Port...apidays
40 vues24 diapositives
Using APIs in a Design Thinking Approach to Problem Solving.pdf par
Using APIs in a Design Thinking Approach to Problem Solving.pdfUsing APIs in a Design Thinking Approach to Problem Solving.pdf
Using APIs in a Design Thinking Approach to Problem Solving.pdfapidays
27 vues24 diapositives
apidays Australia - Transforming Your Network To Secure, Control And Observe ... par
apidays Australia - Transforming Your Network To Secure, Control And Observe ...apidays Australia - Transforming Your Network To Secure, Control And Observe ...
apidays Australia - Transforming Your Network To Secure, Control And Observe ...apidays
27 vues43 diapositives

Plus de apidays(20)

apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr... par apidays
apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr...apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr...
apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr...
apidays49 vues
apidays Australia - No API is an island, Erik Tveitnes, REA par apidays
apidays Australia - No API is an island, Erik Tveitnes, REAapidays Australia - No API is an island, Erik Tveitnes, REA
apidays Australia - No API is an island, Erik Tveitnes, REA
apidays37 vues
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,... par apidays
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,...apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,...
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,...
apidays57 vues
apidays Australia - Discovering APIs And More With An Internal Developer Port... par apidays
apidays Australia - Discovering APIs And More With An Internal Developer Port...apidays Australia - Discovering APIs And More With An Internal Developer Port...
apidays Australia - Discovering APIs And More With An Internal Developer Port...
apidays40 vues
Using APIs in a Design Thinking Approach to Problem Solving.pdf par apidays
Using APIs in a Design Thinking Approach to Problem Solving.pdfUsing APIs in a Design Thinking Approach to Problem Solving.pdf
Using APIs in a Design Thinking Approach to Problem Solving.pdf
apidays27 vues
apidays Australia - Transforming Your Network To Secure, Control And Observe ... par apidays
apidays Australia - Transforming Your Network To Secure, Control And Observe ...apidays Australia - Transforming Your Network To Secure, Control And Observe ...
apidays Australia - Transforming Your Network To Secure, Control And Observe ...
apidays27 vues
apidays Australia - Consuming And Building APIs During Hackathons, William Mc... par apidays
apidays Australia - Consuming And Building APIs During Hackathons, William Mc...apidays Australia - Consuming And Building APIs During Hackathons, William Mc...
apidays Australia - Consuming And Building APIs During Hackathons, William Mc...
apidays11 vues
apidays Australia - Building On-Premise Hybrid API Platforms, David Freeman, ... par apidays
apidays Australia - Building On-Premise Hybrid API Platforms, David Freeman, ...apidays Australia - Building On-Premise Hybrid API Platforms, David Freeman, ...
apidays Australia - Building On-Premise Hybrid API Platforms, David Freeman, ...
apidays17 vues
apidays Australia - Enable Faster Delivery With Collaborative Platform Teams,... par apidays
apidays Australia - Enable Faster Delivery With Collaborative Platform Teams,...apidays Australia - Enable Faster Delivery With Collaborative Platform Teams,...
apidays Australia - Enable Faster Delivery With Collaborative Platform Teams,...
apidays28 vues
apidays Australia - Building Trust Brick by Brick, Dasith Wijesiriwardena, Ju... par apidays
apidays Australia - Building Trust Brick by Brick, Dasith Wijesiriwardena, Ju...apidays Australia - Building Trust Brick by Brick, Dasith Wijesiriwardena, Ju...
apidays Australia - Building Trust Brick by Brick, Dasith Wijesiriwardena, Ju...
apidays39 vues
apidays Australia - The Playful Bond Between REST And Data Streams, Warren Ve... par apidays
apidays Australia - The Playful Bond Between REST And Data Streams, Warren Ve...apidays Australia - The Playful Bond Between REST And Data Streams, Warren Ve...
apidays Australia - The Playful Bond Between REST And Data Streams, Warren Ve...
apidays36 vues
apidays Australia - Unlocking The Power: The Importance Of API Registration, ... par apidays
apidays Australia - Unlocking The Power: The Importance Of API Registration, ...apidays Australia - Unlocking The Power: The Importance Of API Registration, ...
apidays Australia - Unlocking The Power: The Importance Of API Registration, ...
apidays17 vues
apidays Australia - API Strategy In The Era Of Generative AI,Shreshta Shyamsu... par apidays
apidays Australia - API Strategy In The Era Of Generative AI,Shreshta Shyamsu...apidays Australia - API Strategy In The Era Of Generative AI,Shreshta Shyamsu...
apidays Australia - API Strategy In The Era Of Generative AI,Shreshta Shyamsu...
apidays65 vues
apidays London 2023 - How APIs support the democratization of FAIR data and d... par apidays
apidays London 2023 - How APIs support the democratization of FAIR data and d...apidays London 2023 - How APIs support the democratization of FAIR data and d...
apidays London 2023 - How APIs support the democratization of FAIR data and d...
apidays67 vues
apidays London 2023 - Revolutionising fitness and well-being, David Turner, V... par apidays
apidays London 2023 - Revolutionising fitness and well-being, David Turner, V...apidays London 2023 - Revolutionising fitness and well-being, David Turner, V...
apidays London 2023 - Revolutionising fitness and well-being, David Turner, V...
apidays31 vues
apidays London 2023 - Let's make "true" impact happen!, Sandra Sydow, Climate... par apidays
apidays London 2023 - Let's make "true" impact happen!, Sandra Sydow, Climate...apidays London 2023 - Let's make "true" impact happen!, Sandra Sydow, Climate...
apidays London 2023 - Let's make "true" impact happen!, Sandra Sydow, Climate...
apidays23 vues
apidays London 2023 - 7 pillars of an API Factory, Patrick Brosse, Amadeus par apidays
apidays London 2023 - 7 pillars of an API Factory, Patrick Brosse, Amadeusapidays London 2023 - 7 pillars of an API Factory, Patrick Brosse, Amadeus
apidays London 2023 - 7 pillars of an API Factory, Patrick Brosse, Amadeus
apidays48 vues
apidays London 2023 - Meeting Relentless Business Change in a Post API Econom... par apidays
apidays London 2023 - Meeting Relentless Business Change in a Post API Econom...apidays London 2023 - Meeting Relentless Business Change in a Post API Econom...
apidays London 2023 - Meeting Relentless Business Change in a Post API Econom...
apidays17 vues
apidays London 2023 - Overengineering Weakens your API Security, Dr. David Va... par apidays
apidays London 2023 - Overengineering Weakens your API Security, Dr. David Va...apidays London 2023 - Overengineering Weakens your API Security, Dr. David Va...
apidays London 2023 - Overengineering Weakens your API Security, Dr. David Va...
apidays38 vues
apidays London 2023 - When to soar and when to dive, Claire Barrett, APIsFirst par apidays
apidays London 2023 - When to soar and when to dive, Claire Barrett, APIsFirst apidays London 2023 - When to soar and when to dive, Claire Barrett, APIsFirst
apidays London 2023 - When to soar and when to dive, Claire Barrett, APIsFirst
apidays21 vues

Dernier

[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf par
[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf
[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdfDataScienceConferenc1
5 vues54 diapositives
UNEP FI CRS Climate Risk Results.pptx par
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptxpekka28
11 vues51 diapositives
Organic Shopping in Google Analytics 4.pdf par
Organic Shopping in Google Analytics 4.pdfOrganic Shopping in Google Analytics 4.pdf
Organic Shopping in Google Analytics 4.pdfGA4 Tutorials
16 vues13 diapositives
SUPER STORE SQL PROJECT.pptx par
SUPER STORE SQL PROJECT.pptxSUPER STORE SQL PROJECT.pptx
SUPER STORE SQL PROJECT.pptxkhan888620
13 vues16 diapositives
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx par
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptxDataScienceConferenc1
9 vues16 diapositives
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation par
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented GenerationDataScienceConferenc1
17 vues29 diapositives

Dernier(20)

[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf par DataScienceConferenc1
[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf
[DSC Europe 23] Ales Gros - Quantum and Today s security with Quantum.pdf
UNEP FI CRS Climate Risk Results.pptx par pekka28
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptx
pekka2811 vues
Organic Shopping in Google Analytics 4.pdf par GA4 Tutorials
Organic Shopping in Google Analytics 4.pdfOrganic Shopping in Google Analytics 4.pdf
Organic Shopping in Google Analytics 4.pdf
GA4 Tutorials16 vues
SUPER STORE SQL PROJECT.pptx par khan888620
SUPER STORE SQL PROJECT.pptxSUPER STORE SQL PROJECT.pptx
SUPER STORE SQL PROJECT.pptx
khan88862013 vues
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx par DataScienceConferenc1
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation par DataScienceConferenc1
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation
[DSC Europe 23] Spela Poklukar & Tea Brasanac - Retrieval Augmented Generation
Advanced_Recommendation_Systems_Presentation.pptx par neeharikasingh29
Advanced_Recommendation_Systems_Presentation.pptxAdvanced_Recommendation_Systems_Presentation.pptx
Advanced_Recommendation_Systems_Presentation.pptx
Data Journeys Hard Talk workshop final.pptx par info828217
Data Journeys Hard Talk workshop final.pptxData Journeys Hard Talk workshop final.pptx
Data Journeys Hard Talk workshop final.pptx
info82821710 vues
OPPOTUS - Malaysians on Malaysia 3Q2023.pdf par Oppotus
OPPOTUS - Malaysians on Malaysia 3Q2023.pdfOPPOTUS - Malaysians on Malaysia 3Q2023.pdf
OPPOTUS - Malaysians on Malaysia 3Q2023.pdf
Oppotus23 vues
Dr. Ousmane Badiane-2023 ReSAKSS Conference par AKADEMIYA2063
Dr. Ousmane Badiane-2023 ReSAKSS ConferenceDr. Ousmane Badiane-2023 ReSAKSS Conference
Dr. Ousmane Badiane-2023 ReSAKSS Conference
AKADEMIYA20635 vues
[DSC Europe 23][DigiHealth] Muthu Ramachandran AI and Blockchain Framework fo... par DataScienceConferenc1
[DSC Europe 23][DigiHealth] Muthu Ramachandran AI and Blockchain Framework fo...[DSC Europe 23][DigiHealth] Muthu Ramachandran AI and Blockchain Framework fo...
[DSC Europe 23][DigiHealth] Muthu Ramachandran AI and Blockchain Framework fo...
PRIVACY AWRE PERSONAL DATA STORAGE par antony420421
PRIVACY AWRE PERSONAL DATA STORAGEPRIVACY AWRE PERSONAL DATA STORAGE
PRIVACY AWRE PERSONAL DATA STORAGE
antony4204217 vues
CRM stick or twist workshop par info828217
CRM stick or twist workshopCRM stick or twist workshop
CRM stick or twist workshop
info82821712 vues
[DSC Europe 23][AI:CSI] Dragan Pleskonjic - AI Impact on Cybersecurity and P... par DataScienceConferenc1
[DSC Europe 23][AI:CSI]  Dragan Pleskonjic - AI Impact on Cybersecurity and P...[DSC Europe 23][AI:CSI]  Dragan Pleskonjic - AI Impact on Cybersecurity and P...
[DSC Europe 23][AI:CSI] Dragan Pleskonjic - AI Impact on Cybersecurity and P...
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ... par DataScienceConferenc1
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...

apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai

  • 1. Zdeněk Němec, superface.ai, September ‘23 Autonomous Agents The year of AI: Forget about APIs? superface.ai
  • 2. AI and APIs • Pioneered the API-first approach at Apiary.io → Oracle • Founder of API consulting Good API • Helped several Fortune 100 companies with their API strategy and execution • Founder and CTO of Superface.ai Zdeněk “Z” Němec superface.ai
  • 3. We have been upgraded! superface.ai
  • 4. Year of AI: Impact on APIs? superface.ai
  • 6. API Interface for sharing capabilities GET https:!"wttr.in/london?format=j1 200 OK Technical Business Weather forecast for London - location - temperature in Celsius - humidity - barometric pressure - uv indext - and more… superface.ai
  • 7. Tight coupling Welding client and server together Server Client GET https:!"wttr.in/london?format=j1 Server implementation hardcoded in client superface.ai
  • 8. API provider challenges API providers facing many problems How to version API? API design Securing APIs How to publish API? API product management What API style? REST vs GraphQL vs … How to monetize API How to discover API API testing API documentation API SDK Developer experience DX API governance Observability Operations & monitoring superface.ai
  • 9. Analysis Development Testing Deployment time budget Expectation: Analysis Development … … Reality: superface.ai API consumer perspective Finding the right API Capability I need? Costs? How to get access? What are the limitations? SLAs? How to use it? How it works? How to map my data model? Why is it not doing what I want? Typical API integration project
  • 10. API plumbing Manual labor needed to provide and consume capabilities ! Design API " Document # Publish $ Discover % Try &' Implement Maintain ( Build SDK ) Purchase * Test & Test ! Implement + API provider API consumer superface.ai
  • 11. API documentation The centerpiece of APIs Most information needed are transferred “out of band" in human-centric API documentation* ⚠ superface.ai * - not accessible to machines until 2023
  • 12. Using AI to reduce API plumbing superface.ai
  • 13. AI API analysis AI connects the APIs for you • You can use ChatGPT / Bard / Copilot directly to generate the code • _if_ it knows the API • the API information _might_ be outdated • OpenAPI (OAS) quality varies greatly, often the critical information are not in OAS • Code quality differs greatly based on the language • You are still coupled with the API • Chatbots are for users, not programmers superface.ai
  • 14. Comlink Communication link for APIs 1. Analyze API documentation, plain text, HTML, or OAS 2. Figure out how to fulfill YOUR use case with the given API 3. Your application calls the API directly using the Comlink interface and client API Documentation API Your App superface.ai
  • 15. Your use-case Comlink interface # index API from plain text, readme.io, or OpenAPI Spec $ superface prepare https://resend.com/docs # create new Comlink for your use case $ superface new resend “send an email” Comlink interface superface.ai Resend API Your App
  • 16. Your vocabulary Change data model, let AI to figure out the mapping # run mapping; Comlink engine will figure out how to map `from` to `sender` $ superface map send-email superface.ai
  • 17. • Dramatically reduces the time needed to integrate an API • Decouples client from the API, including • API data model • API style, media types, etc. Decoupled Robust, free to evolve v1 v2 Breaking API change Your App API superface.ai
  • 18. One use-case multiple APIs Unified APIs? Your app can handle it! # Index API documentations of different providers $ superface prepare https://resend.com/docs $ superface prepare https://docs.sendgrid.com/api-reference Resend API Sendgrid API Your App # Map use case to Resend API $ superface map send-email resend # Map use case to SendGrid API $ superface map send-email sendgrid superface.ai
  • 19. AI-powered API documentation Best developer experience for your API superface.ai
  • 20. superface.ai • Integrate many APIs really quick • Not bother with API docs • API client resilient to changes • We don’t even have to know the endpoint(s)
  • 21. Do we have to know what API we use? superface.ai
  • 23. Autonomous Agent Autonomy: freedom from external control or influence; independence Agent: a person who acts on behalf of another person, the doer of an action A software that acts on behalf of its users, that is free to make decisions. superface.ai Autonomous Agent Concept https://lilianweng.github.io/posts/2023-06-23-agent/
  • 24. Autonomous API Agent • No hardcoded API calls • Decides at runtime what API to connect to • Figures out at runtime how to connect API API Agent Registry I am here, and this is how agents connect I need to send email. What API is available? Here are the APIs and how to connect API Communication superface.ai
  • 25. API landscape Agent Inventory 1 Inventory 2 Orders CRM PLM Agent is written for a use case, GET https:!"192.12.13.1/service/ inventory?pid=12355 “Check inventory” not for an API Use cases, not APIs superface.ai Boundary within agent navigates
  • 26. Multiple API landscapes Mesh of capabilities Stripe Azure Ayden Twilio Google Fedex … Global Landscape Global capabilities Partner organization Service 2 Service 1 Service 3 Agent CRM Inventory 2 Orders Inventory 1 PLM Organization landscape Partner capabilities superface.ai
  • 27. Navigation in a landscape Unknown or changing landscape of capabilities and providers Superface Hub Superface Auto Agent "Who can tell me about inventory?” List of available inventory services “What is the inventory for our product?” “The inventory for is 42” Internal inventory services superface.ai
  • 28. Personal assistant Autonomous agent decides what of the available email services to use based on its configuration and your identity… “When was the last email from Edgar?” Gmail API Based on Hub configuration auto agent will ask Gmail “The last email from edgar@superface.ai was Yesterday” superface.ai
  • 29. Provider selection The right capability and provider for the task Price, quality and relevancy… “Send “Greetings from Jane” to +38553694008” Infobip API Based on configuration, price, and country auto agent uses Infobip “Your message has been sent” superface.ai
  • 30. Workflows Multi-step, complex, workflows in unknown or changing landscape superface.ai superface.ai
  • 32. Thank you! Let’s talk! Zdenek “Z” Nemec Twitter/X: @zdne superface.ai superface.ai