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 visualizações44 slides
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 visualizações31 slides
Octo API-days 2015 por
Octo API-days 2015Octo API-days 2015
Octo API-days 2015Antoine CHANTALOU
311 visualizações31 slides
Creating Datadipity por
Creating DatadipityCreating Datadipity
Creating DatadipityClickslide
1.2K visualizações32 slides
RefCard API Architecture Strategy por
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture StrategyOCTO Technology
76 visualizações20 slides
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 visualizações24 slides

Mais conteúdo 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 visualizações55 slides
API Documentation.pptx por
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
57 visualizações21 slides
API Documentation.pptx por
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
46 visualizações21 slides
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 visualizações28 slides
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 visualizações62 slides
APIs for... Your Mom por
APIs for... Your MomAPIs for... Your Mom
APIs for... Your MomCarlo Longino
2.4K visualizações20 slides

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 visualizações
API Documentation.pptx por RahulCR31
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR3157 visualizações
API Documentation.pptx por RahulCR31
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptx
RahulCR3146 visualizações
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 visualizações
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 visualizações
APIs for... Your Mom por Carlo Longino
APIs for... Your MomAPIs for... Your Mom
APIs for... Your Mom
Carlo Longino2.4K visualizações
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 visualizações
API-first, going beyond SOA, ESB & Integration por Apigee | Google Cloud
API-first, going beyond SOA, ESB & IntegrationAPI-first, going beyond SOA, ESB & Integration
API-first, going beyond SOA, ESB & Integration
Apigee | Google Cloud1.8K visualizações
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 Bafna575 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
The impact of IoT on APIs por HaufeLexwareRomania
The impact of IoT on APIsThe impact of IoT on APIs
The impact of IoT on APIs
HaufeLexwareRomania881 visualizações
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 visualizações
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 visualizações
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 visualizações
Api design part 1 por Ibrahim Elsawaf
Api design part 1Api design part 1
Api design part 1
Ibrahim Elsawaf215 visualizações
Guide To API Development.pdf por Techugo
Guide To API Development.pdfGuide To API Development.pdf
Guide To API Development.pdf
Techugo17 visualizações

Mais 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
49 visualizações50 slides
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 visualizações17 slides
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
58 visualizações32 slides
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
40 visualizações24 slides
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 visualizações24 slides
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 visualizações43 slides

Mais 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...
apidays49 visualizações
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 visualizações
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,...
apidays58 visualizações
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...
apidays40 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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...
apidays65 visualizações
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 visualizações
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 visualizações
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...
apidays23 visualizações
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 visualizações
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...
apidays17 visualizações
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...
apidays38 visualizações
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
apidays21 visualizações

Último

apple.pptx por
apple.pptxapple.pptx
apple.pptxhoneybeeqwe
6 visualizações15 slides
Infomatica-MDM.pptx por
Infomatica-MDM.pptxInfomatica-MDM.pptx
Infomatica-MDM.pptxKapil Rangwani
11 visualizações16 slides
Shreyas hospital statistics.pdf por
Shreyas hospital statistics.pdfShreyas hospital statistics.pdf
Shreyas hospital statistics.pdfsamithavinal
5 visualizações9 slides
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an... por
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...StatsCommunications
7 visualizações26 slides
Employees attrition por
Employees attritionEmployees attrition
Employees attritionMaryAlejandraDiaz
5 visualizações5 slides
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ... por
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...DataScienceConferenc1
5 visualizações19 slides

Último(20)

apple.pptx por honeybeeqwe
apple.pptxapple.pptx
apple.pptx
honeybeeqwe6 visualizações
Infomatica-MDM.pptx por Kapil Rangwani
Infomatica-MDM.pptxInfomatica-MDM.pptx
Infomatica-MDM.pptx
Kapil Rangwani11 visualizações
Shreyas hospital statistics.pdf por samithavinal
Shreyas hospital statistics.pdfShreyas hospital statistics.pdf
Shreyas hospital statistics.pdf
samithavinal5 visualizações
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...
StatsCommunications7 visualizações
Employees attrition por MaryAlejandraDiaz
Employees attritionEmployees attrition
Employees attrition
MaryAlejandraDiaz5 visualizações
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ... por DataScienceConferenc1
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...
DataScienceConferenc15 visualizações
SUPER STORE SQL PROJECT.pptx por khan888620
SUPER STORE SQL PROJECT.pptxSUPER STORE SQL PROJECT.pptx
SUPER STORE SQL PROJECT.pptx
khan88862013 visualizações
VoxelNet por taeseon ryu
VoxelNetVoxelNet
VoxelNet
taeseon ryu16 visualizações
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion por Bertram Ludäscher
Games, Queries, and Argumentation Frameworks: Time for a Family ReunionGames, Queries, and Argumentation Frameworks: Time for a Family Reunion
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion
Bertram Ludäscher6 visualizações
Oral presentation (1).pdf por reemalmazroui8
Oral presentation (1).pdfOral presentation (1).pdf
Oral presentation (1).pdf
reemalmazroui85 visualizações
CRM stick or twist workshop por info828217
CRM stick or twist workshopCRM stick or twist workshop
CRM stick or twist workshop
info82821714 visualizações
Inawisdom Quick Sight por PhilipBasford
Inawisdom Quick SightInawisdom Quick Sight
Inawisdom Quick Sight
PhilipBasford5 visualizações
Ukraine Infographic_22NOV2023_v2.pdf por AnastosiyaGurin
Ukraine Infographic_22NOV2023_v2.pdfUkraine Infographic_22NOV2023_v2.pdf
Ukraine Infographic_22NOV2023_v2.pdf
AnastosiyaGurin1.4K visualizações
[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f... por DataScienceConferenc1
[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f...[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f...
[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f...
DataScienceConferenc15 visualizações
Listed Instruments Survey 2022.pptx por secretariat4
Listed Instruments Survey  2022.pptxListed Instruments Survey  2022.pptx
Listed Instruments Survey 2022.pptx
secretariat452 visualizações
Inawsidom - Data Journey por PhilipBasford
Inawsidom - Data JourneyInawsidom - Data Journey
Inawsidom - Data Journey
PhilipBasford8 visualizações
[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...
DataScienceConferenc15 visualizações
[DSC Europe 23][DigiHealth] Muthu Ramachandran AI and Blockchain Framework fo... por 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...
DataScienceConferenc19 visualizações
shivam tiwari.pptx por AanyaMishra4
shivam tiwari.pptxshivam tiwari.pptx
shivam tiwari.pptx
AanyaMishra45 visualizações

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