Hugo Guerrero

Building APIs in the AI Era

What if you could run a powerful AI coding assistant locally, avoiding cloud costs and privacy risks?

Building APIs in the AI Era
#1about 1 minute

The fundamental relationship between AI and APIs

AI systems rely on APIs for data and connectivity, and conversely, AI can be used to accelerate API development.

#2about 2 minutes

Using local AI models for code assistance

Running large language models locally for code assistance can reduce costs and improve data privacy compared to cloud-based services.

#3about 3 minutes

Understanding the architecture of AI-powered applications

AI applications typically consist of a user interface that communicates with a model inference server via a standardized API, like the OpenAI API.

#4about 2 minutes

Selecting open source models for code generation

Using open source models from platforms like Hugging Face, such as IBM's Granite, ensures compliance and avoids potential licensing issues.

#5about 6 minutes

Setting up a local AI development environment

Configure a local environment by running a model with InstructLab and connecting it to a VS Code extension like Continue via its OpenAI-compatible API.

#6about 2 minutes

Generating an OpenAPI specification from a prompt

Use a local AI assistant integrated into an IDE to generate a complete OpenAPI specification from a simple natural language prompt.

#7about 4 minutes

Linting and refining an AI-generated API specification

Identify and correct issues in an AI-generated OpenAPI specification by using a linter like Spectral and then prompting the AI to make specific fixes.

#8about 4 minutes

Using AI to generate custom API linting rules

Generate custom Spectral linting rules by providing a natural language prompt to the AI assistant, enforcing specific governance policies for your API.

#9about 6 minutes

Generating a Java API implementation with Quarkus

Provide the OpenAPI specification as context to an AI assistant to generate the corresponding Java backend implementation using the Quarkus framework.

#10about 2 minutes

Best practices for using AI in development

Use AI-generated code with caution as context can be limited, and leverage open source tools to experiment with these capabilities in your local environment.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025
CH
Chris Heilmann
Exploring AI: Opportunities and Risks for Developers
In today's rapidly evolving tech landscape, the integration of Artificial Intelligence (AI) in development presents both exciting opportunities and notable risks. This dynamic was the focus of a recent panel discussion featuring industry experts Kent...
Exploring AI: Opportunities and Risks for Developers
BB
Benedikt Bischof
How we Build The Software of Tomorrow
Welcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Thomas Dohmke who introduced us to the future of AI – coding.This is how Thomas describes himself:I am the CEO of GitHub and drive the company’s...
How we Build The Software of Tomorrow

From learning to earning

Jobs that call for the skills explored in this talk.

AI Engineer

AI Engineer

Codurance
Leeds, United Kingdom

£53K
Azure
Python
Agile Methodologies
Amazon Web Services (AWS)
AI Engineer

AI Engineer

Codurance
Manchester, United Kingdom

£55K
Azure
Python
Agile Methodologies
Amazon Web Services (AWS)
AI Prompt Engineer

AI Prompt Engineer

SonarSource
Bochum, Germany

Remote
API
Python
Data analysis
Machine Learning
+2
AI Engineer

AI Engineer

Axiom Software Solutions
Barcelona, Spain

Remote
GIT
DevOps
Python
Terraform
+4
AI Engineer

AI Engineer

Vikara AI

Remote
75-90K
API
C++
GIT
+11