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 de 32

Recomendados

What’s behind a high quality web API? Ensure your APIs are more than just a ... por
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 vistas44 diapositivas
Top 7 wrong common beliefs about Enterprise API implementation por
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 vistas31 diapositivas
Octo API-days 2015 por
Octo API-days 2015Octo API-days 2015
Octo API-days 2015Antoine CHANTALOU
311 vistas31 diapositivas
Creating Datadipity por
Creating DatadipityCreating Datadipity
Creating DatadipityClickslide
1.2K vistas32 diapositivas
RefCard API Architecture Strategy por
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture StrategyOCTO Technology
75 vistas20 diapositivas
How to Design and Build a Great Web API por
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 vistas24 diapositivas

Más contenido relacionado

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

Why your APIs should fly first class por
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first classLibbySchulze
71 vistas55 diapositivas
API Documentation.pptx por
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
57 vistas21 diapositivas
API Documentation.pptx por
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
45 vistas21 diapositivas
Pain Points In API Development? They’re Everywhere por
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 vistas28 diapositivas
WSO2Con Asia 2014 - Building the API-Centric Enterprise por
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2
618 vistas62 diapositivas
APIs for... Your Mom por
APIs for... Your MomAPIs for... Your Mom
APIs for... Your MomCarlo Longino
2.4K vistas20 diapositivas

Similar a apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai(20)

Why your APIs should fly first class por LibbySchulze
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first class
LibbySchulze71 vistas
API Documentation.pptx por RahulCR31
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR3157 vistas
API Documentation.pptx por RahulCR31
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR3145 vistas
Pain Points In API Development? They’re Everywhere por 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 vistas
WSO2Con Asia 2014 - Building the API-Centric Enterprise por 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 vistas
APIs for... Your Mom por Carlo Longino
APIs for... Your MomAPIs for... Your Mom
APIs for... Your Mom
Carlo Longino2.4K vistas
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API por 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 vistas
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity por 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 Bafna574 vistas
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business... por 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...
Apigee | Google Cloud10.2K vistas
INTERFACE, by apidays - How to Win Friends and Influence People with API First por 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 vistas
API, Integration, and SOA Convergence por Kasun Indrasiri
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA Convergence
Kasun Indrasiri2.8K vistas
APIdays Zurich 2019 - Digital Ecosystems, fueled by APIs Matthias Biehl, API ... por 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 vistas
Accelerating API Development With OpenAPI and Serverless por SmartBear
Accelerating API Development With OpenAPI and ServerlessAccelerating API Development With OpenAPI and Serverless
Accelerating API Development With OpenAPI and Serverless
SmartBear272 vistas
Securely expose protected resources as ap is with app42 api gateway por 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 vistas
AADI Mashery/Coca-Cola Enterprises November 2012 por BAPISFNYLONDON
AADI Mashery/Coca-Cola Enterprises November 2012  AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012
BAPISFNYLONDON1.6K vistas
Guide To API Development.pdf por Techugo
Guide To API Development.pdfGuide To API Development.pdf
Guide To API Development.pdf
Techugo17 vistas

Más de apidays

apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr... por
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
48 vistas50 diapositivas
apidays Australia - No API is an island, Erik Tveitnes, REA por
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 vistas17 diapositivas
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,... por
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 vistas32 diapositivas
apidays Australia - Discovering APIs And More With An Internal Developer Port... por
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
37 vistas24 diapositivas
Using APIs in a Design Thinking Approach to Problem Solving.pdf por
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 vistas24 diapositivas
apidays Australia - Transforming Your Network To Secure, Control And Observe ... por
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 vistas43 diapositivas

Más de apidays(20)

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

Último

[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx por
[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
5 vistas16 diapositivas
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init... por
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...DataScienceConferenc1
5 vistas18 diapositivas
Chapter 3b- Process Communication (1) (1)(1) (1).pptx por
Chapter 3b- Process Communication (1) (1)(1) (1).pptxChapter 3b- Process Communication (1) (1)(1) (1).pptx
Chapter 3b- Process Communication (1) (1)(1) (1).pptxayeshabaig2004
7 vistas30 diapositivas
[DSC Europe 23] Aleksandar Tomcic - Adversarial Attacks por
[DSC Europe 23] Aleksandar Tomcic - Adversarial Attacks[DSC Europe 23] Aleksandar Tomcic - Adversarial Attacks
[DSC Europe 23] Aleksandar Tomcic - Adversarial AttacksDataScienceConferenc1
5 vistas20 diapositivas
Advanced_Recommendation_Systems_Presentation.pptx por
Advanced_Recommendation_Systems_Presentation.pptxAdvanced_Recommendation_Systems_Presentation.pptx
Advanced_Recommendation_Systems_Presentation.pptxneeharikasingh29
5 vistas9 diapositivas
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... por
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...DataScienceConferenc1
6 vistas11 diapositivas

Último(20)

[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx por 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][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init... por DataScienceConferenc1
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
Chapter 3b- Process Communication (1) (1)(1) (1).pptx por ayeshabaig2004
Chapter 3b- Process Communication (1) (1)(1) (1).pptxChapter 3b- Process Communication (1) (1)(1) (1).pptx
Chapter 3b- Process Communication (1) (1)(1) (1).pptx
ayeshabaig20047 vistas
Advanced_Recommendation_Systems_Presentation.pptx por neeharikasingh29
Advanced_Recommendation_Systems_Presentation.pptxAdvanced_Recommendation_Systems_Presentation.pptx
Advanced_Recommendation_Systems_Presentation.pptx
neeharikasingh295 vistas
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... por DataScienceConferenc1
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
Survey on Factuality in LLM's.pptx por NeethaSherra1
Survey on Factuality in LLM's.pptxSurvey on Factuality in LLM's.pptx
Survey on Factuality in LLM's.pptx
NeethaSherra17 vistas
Ukraine Infographic_22NOV2023_v2.pdf por AnastosiyaGurin
Ukraine Infographic_22NOV2023_v2.pdfUkraine Infographic_22NOV2023_v2.pdf
Ukraine Infographic_22NOV2023_v2.pdf
AnastosiyaGurin1.4K vistas
3196 The Case of The East River por ErickANDRADE90
3196 The Case of The East River3196 The Case of The East River
3196 The Case of The East River
ErickANDRADE9016 vistas
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx por DataScienceConferenc1
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx
UNEP FI CRS Climate Risk Results.pptx por pekka28
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptx
pekka2811 vistas
[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx por DataScienceConferenc1
[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx
[DSC Europe 23] Zsolt Feleki - Machine Translation should we trust it.pptx
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an... por StatsCommunications
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
SUPER STORE SQL PROJECT.pptx por khan888620
SUPER STORE SQL PROJECT.pptxSUPER STORE SQL PROJECT.pptx
SUPER STORE SQL PROJECT.pptx
khan88862013 vistas
CRM stick or twist.pptx por info828217
CRM stick or twist.pptxCRM stick or twist.pptx
CRM stick or twist.pptx
info82821711 vistas

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