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

Recommended

What’s behind a high quality web API? Ensure your APIs are more than just a ... by
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 views44 slides
Top 7 wrong common beliefs about Enterprise API implementation by
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 views31 slides
Octo API-days 2015 by
Octo API-days 2015Octo API-days 2015
Octo API-days 2015Antoine CHANTALOU
311 views31 slides
Creating Datadipity by
Creating DatadipityCreating Datadipity
Creating DatadipityClickslide
1.2K views32 slides
RefCard API Architecture Strategy by
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture StrategyOCTO Technology
77 views20 slides
How to Design and Build a Great Web API by
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 views24 slides

More Related Content

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

Why your APIs should fly first class by
Why your APIs should fly first classWhy your APIs should fly first class
Why your APIs should fly first classLibbySchulze
71 views55 slides
API Documentation.pptx by
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
58 views21 slides
API Documentation.pptx by
API Documentation.pptxAPI Documentation.pptx
API Documentation.pptxRahulCR31
47 views21 slides
Pain Points In API Development? They’re Everywhere by
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywhereNordic APIs
963 views28 slides
WSO2Con Asia 2014 - Building the API-Centric Enterprise by
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2
618 views62 slides
APIs for... Your Mom by
APIs for... Your MomAPIs for... Your Mom
APIs for... Your MomCarlo Longino
2.4K views20 slides

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

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

More from apidays

apidays Australia - The Swiss Cheese Model of Layered API Security, Leon Andr... by
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
64 views50 slides
apidays Australia - No API is an island, Erik Tveitnes, REA by
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
42 views17 slides
apidays Australia - How We Built Our Generative AI Assistant; New Relic Grok,... by
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
62 views32 slides
apidays Australia - Discovering APIs And More With An Internal Developer Port... by
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
43 views24 slides
Using APIs in a Design Thinking Approach to Problem Solving.pdf by
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
41 views24 slides
apidays Australia - Transforming Your Network To Secure, Control And Observe ... by
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
31 views43 slides

More from apidays(20)

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

Recently uploaded

DGIQ East 2023 AI Ethics SIG by
DGIQ East 2023 AI Ethics SIGDGIQ East 2023 AI Ethics SIG
DGIQ East 2023 AI Ethics SIGKaren Lopez
5 views7 slides
Running PostgreSQL in a Kubernetes cluster: CloudNativePG by
Running PostgreSQL in a Kubernetes cluster: CloudNativePGRunning PostgreSQL in a Kubernetes cluster: CloudNativePG
Running PostgreSQL in a Kubernetes cluster: CloudNativePGNick Ivanov
7 views29 slides
Data Journeys Hard Talk workshop final.pptx by
Data Journeys Hard Talk workshop final.pptxData Journeys Hard Talk workshop final.pptx
Data Journeys Hard Talk workshop final.pptxinfo828217
11 views18 slides
Underfunded.pptx by
Underfunded.pptxUnderfunded.pptx
Underfunded.pptxvgarcia19
15 views7 slides
Report on OSINT by
Report on OSINTReport on OSINT
Report on OSINTAyonDebnathCertified
6 views15 slides
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion by
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 ReunionBertram Ludäscher
9 views37 slides

Recently uploaded(20)

DGIQ East 2023 AI Ethics SIG by Karen Lopez
DGIQ East 2023 AI Ethics SIGDGIQ East 2023 AI Ethics SIG
DGIQ East 2023 AI Ethics SIG
Karen Lopez5 views
Running PostgreSQL in a Kubernetes cluster: CloudNativePG by Nick Ivanov
Running PostgreSQL in a Kubernetes cluster: CloudNativePGRunning PostgreSQL in a Kubernetes cluster: CloudNativePG
Running PostgreSQL in a Kubernetes cluster: CloudNativePG
Nick Ivanov7 views
Data Journeys Hard Talk workshop final.pptx by info828217
Data Journeys Hard Talk workshop final.pptxData Journeys Hard Talk workshop final.pptx
Data Journeys Hard Talk workshop final.pptx
info82821711 views
Underfunded.pptx by vgarcia19
Underfunded.pptxUnderfunded.pptx
Underfunded.pptx
vgarcia1915 views
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion by 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
Data about the sector workshop by info828217
Data about the sector workshopData about the sector workshop
Data about the sector workshop
info82821729 views
4_4_WP_4_06_ND_Model.pptx by d6fmc6kwd4
4_4_WP_4_06_ND_Model.pptx4_4_WP_4_06_ND_Model.pptx
4_4_WP_4_06_ND_Model.pptx
d6fmc6kwd47 views
PRIVACY AWRE PERSONAL DATA STORAGE by antony420421
PRIVACY AWRE PERSONAL DATA STORAGEPRIVACY AWRE PERSONAL DATA STORAGE
PRIVACY AWRE PERSONAL DATA STORAGE
antony4204218 views
DGST Methodology Presentation.pdf by maddierlegum
DGST Methodology Presentation.pdfDGST Methodology Presentation.pdf
DGST Methodology Presentation.pdf
maddierlegum7 views
CRM stick or twist.pptx by info828217
CRM stick or twist.pptxCRM stick or twist.pptx
CRM stick or twist.pptx
info82821711 views
Analytics Center of Excellence | Data CoE |Analytics CoE| WNS Triange by RNayak3
Analytics Center of Excellence | Data CoE |Analytics CoE| WNS TriangeAnalytics Center of Excellence | Data CoE |Analytics CoE| WNS Triange
Analytics Center of Excellence | Data CoE |Analytics CoE| WNS Triange
RNayak35 views
Customer Data Cleansing Project.pptx by Nat O
Customer Data Cleansing Project.pptxCustomer Data Cleansing Project.pptx
Customer Data Cleansing Project.pptx
Nat O6 views
Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language... by patiladiti752
Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language...Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language...
Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language...
patiladiti7528 views
AZConf 2023 - Considerations for LLMOps: Running LLMs in production by SARADINDU SENGUPTA
AZConf 2023 - Considerations for LLMOps: Running LLMs in productionAZConf 2023 - Considerations for LLMOps: Running LLMs in production
AZConf 2023 - Considerations for LLMOps: Running LLMs in production

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