Skip to content
View gafnts's full-sized avatar
🏗️
Building infrastructure
🏗️
Building infrastructure

Highlights

  • Pro

Block or report gafnts

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gafnts/README.md

Gabriel Fuentes

AI Engineer building production systems that ship and stay running.

Python, AWS, Terraform. Event-driven serverless infrastructure, LLM applications, and the architecture work underneath both.

Website · LinkedIn


Writing

When does agency earn its cost? — benchmarking LLM extraction strategies on legal documents

Same documents, same schema, three model families. The agent rarely beats a single LLM call. A clean counterexample to the reflex of wrapping every task in an agent loop.

LLM Engineering · Agents · Evals


Projects

agentic-kie — schema-driven key information extraction from documents

Typed Python library where a PDF enters as a file path and leaves as a validated Pydantic instance. Handles text-layer detection, OCR routing, image rendering, LLM orchestration, and retry logic. Two extraction strategies — single-pass and agentic ReAct — satisfy the same protocol and swap without touching downstream code. Model-agnostic via LangChain's BaseChatModel.

Python · LangChain · Pydantic · ReAct

CI CD codecov PyPI

agentic-kie-deploy — production-grade serverless AWS pipeline

Terraform-managed event-driven AWS infrastructure for the agentic-kie library. Pre-signed S3 uploads trigger an event-driven Lambda extractor via EventBridge and SQS, writing structured results to DynamoDB. Environment-scoped IAM, plan-bound prod deployments, and ADR-driven architecture decisions.

Terraform · AWS · Lambda · EventBridge · SQS · DynamoDB

Deploy dev Deploy prod


Stack

Python LangChain Pydantic AWS Terraform uv Ruff mypy pytest

Strict typing and high coverage as defaults, not aspirations.


📬 Writing about Agentic AI, LLM Engineering, and ML Engineering → gabriel.com.gt/blog

Pinned Loading

  1. agentic-kie agentic-kie Public

    Schema-driven agentic and single-pass key information extraction (KIE) from documents using LLMs

    Python

  2. agentic-kie-deploy agentic-kie-deploy Public

    Terraform-managed serverless AWS pipeline for the agentic-kie library. Pre-signed S3 uploads trigger an event-driven Lambda extractor via EventBridge and SQS, writing structured results to DynamoDB

    HCL

  3. agentic-kie-evals agentic-kie-evals Public

    Benchmarking agentic and single-pass extraction strategies across LLM providers on the Kleister NDA dataset

    Jupyter Notebook

  4. kleister-nda-preparation kleister-nda-preparation Public

    Prepare the Kleister NDA dataset for LLM-based extraction. Validates labels against a Pydantic schema and delivers partitioned Parquet with co-located PDFs

    Python