Brandon Soria

Brandon Soria · Full-stack & AI Engineer

Open to full-time · remote or CDMX

I build AI agents that do real work — and stay under control.

Three live systems. Try them on this page.

Based in
Mexico City UTC−6
English
C1
Stack
Python + TypeScript
Client work
Since 2024

Ask about my experience and projects, out loud, in English or Spanish.

Fastest way to reach me

+52 55 1651 6493
Emailbrandon.s.engineer@gmail.com
LinkedInlinkedin.com/in/brandon-i-soria
GitHubgithub.com/Brandon-S-Engineer
01 · Answerlive

Answer from company data

Answers customers from the store’s policies and live orders, and cites every source.

3 tools
one loop, no framework
≤ 5 steps
per answer, then it stops
Every answer
cites its source
Volt Mobile · support agent

Where is order VM-1002? My email is luis@example.com

Your order VM-1002 has been shipped via DHL. The tracking number is DHL8820145567. It is an iPhone 15, 128GB, Black.

looked up with get_order

This is a saved run. Now make it answer you, with a live model call. Try to make it hallucinate.

What the agent did

model: gpt-4.1-mini

The model picks a tool1602 ms · 399→25 tok
get_order runs a fixed SQL query
{"order_id":"VM-1002","email":"luis@example.com"}
SELECT o.id, o.status, o.total_mxn, o.created_at, o.shipped_at, o.carrier, o.tracking, p.model, p.storage_gb, p.color
FROM agent_demo.orders o JOIN agent_demo.products p ON p.sku = o.sku
WHERE o.id = $1 AND lower(o.customer_email) = lower($2)

1120 ms

The model writes the answer945 ms · 522→37 tok
latency
3.7 s
tokens
983
cost
$0.0005
How it’s builtOne example step by step, then the decisions and what they costOpen

In one sentence: A customer asks, the agent looks the answer up in the store’s policies and database, and replies showing where it came from.

Use this when the answers exist in documents or a database, but finding them takes a person.

Follow one examplePlain words on top · the tech underneath

“Do you have an iPhone 13? Can I return it?”

  1. 1

    The question arrives

    Two questions in one message.

    Question · streamed chat

  2. 2

    The agent decides what it needs

    Here: the return policy and the stock.

    Agent loop · tool calling, max 5 steps

  3. 3

    It reads the policy

    Finds the 30-day return policy.

    search_docs · policies in pgvector

  4. 4

    It checks the stock

    Finds iPhone 13 units in stock.

    find_products · get_order · Postgres

  5. 5

    It answers and shows its work

    Replies and cites the policy it used.

    Answer + trace · sources, SQL, cost

The decisions, and what each one costs

Why not use an agent framework?

Decision: no framework

Because three tools and one loop fit in a plain route handler.

It costs retries and memory written by hand.

Why two kinds of search?

Decision: vector search + SQL

Because policies are fuzzy text; stock and orders need exact values.

It costs the model can pick the wrong tool. The trace shows it when it does.

Why can’t the model write SQL?

Decision: fixed, parameterized queries

Because nothing it writes ever reaches the database; arguments are validated with zod.

It costs no ad-hoc questions outside the three tools.

When things go wrong

  • It can’t find a good matchIt says “I don’t know” instead of guessing.similarity < 0.3
  • The model calls a tool with bad argumentsThe error goes back to the model. No crash.zod validation
  • Someone tries to abuse itIt stops at 5 steps per answer and 25 requests an hour.per-visitor rate limit
Next.jsOpenAIpgvectorPostgreszod
View the code
02 · Actlive

Act on the CRM, with approval

Qualifies a lead and prepares the CRM updates, then waits for a person to approve.

6 steps
in one LangGraph run
0 writes
without human approval
Survives restarts
state saved in Postgres
Inbound WhatsApp leadwaking Python service…

On the right is a saved run of the hot lead. Now run one live:

What the agent did · LangGraph

  1. QualifyLLM · structured output2.4s
  2. Look upMCP · find_contact, search_inventory0.9s
  3. Draft replyLLM · streamed1.1s
  4. Propose CRM actionsLLM · MCP tool schemas2.7s
  5. Human approvalLangGraph interrupt · Postgres checkpointstopped here
  6. ExecuteMCP · write tools

recorded run · real output · gpt-4.1-mini

Paused before any write. Nothing changes in the CRM until a person approves.
intent
buy
score
85/100
urgency
now

Drafted reply

Hi Carlos! We have the iPhone 15 Pro 256GB in Natural Titanium for 18,999 MXN, which fits your budget. We do accept trade-ins for iPhone 12 devices, as long as they power on and are unlocked from iCloud; the value is confirmed after inspection and applied as store credit. We offer same-day shipping if you order before 2 pm. Would you like me to reserve one for you today?

Proposed CRM actions · waiting for approval

This run stopped here. Run the agent live to approve or reject its actions yourself.

CRM pipeline · Postgres

new · 0

qualified · 0

quoted · 0

won · 0

lost · 0

How it’s builtOne example step by step, then the decisions and what they costOpen

In one sentence: A lead writes in, the agent scores it, drafts the reply and prepares the CRM updates, then stops until a person approves.

Use this when the AI should take actions, but a wrong one costs money or customers.

Follow one examplePlain words on top · the tech underneath

“iPhone 15 Pro today, 16,000 pesos.”

  1. 1

    It sizes up the lead

    A buyer, score 85.

    Qualify · intent, budget, score

  2. 2

    It checks what the store knows

    Checks the contact and matching stock.

    Look up · CRM + inventory via MCP

  3. 3

    It prepares everything

    Writes the reply and the CRM updates.

    Draft + propose · reply and actions

  4. 4

    It waits for a person

    Stops here. A person reviews it.

    Approval · paused, state in Postgres

  5. 5

    It does only what was approved

    Runs only what was approved.

    Execute · approved actions only

The decisions, and what each one costs

Why use LangGraph here?

Decision: LangGraph

Because the run pauses for hours and resumes exactly where it stopped.

It costs more moving parts than the first system.

Why does the CRM get its own MCP server?

Decision: a custom MCP server

Because it is the only door to the CRM, and any agent can reuse it.

It costs one more process to run.

Why does every write need a human?

Decision: human approval before writes

Because nothing changes before approval, and only allow-listed tools run.

It costs slower than full autonomy.

When things go wrong

  • The agent proposes a tool outside the allow-listIt is rejected.allow-list of 4 write tools
  • The server restarts in the middle of an approvalThe run resumes where it stopped.Postgres checkpoint
  • The service is asleep (free tier)The page says so instead of hiding it.cold start shown
PythonFastAPILangGraphMCPPostgres
View the code
03 · Decide · in production

Resale Intelligence

The system I built to price used electronics from real market data.

19,000+
listings tracked
4 LLM agents
spec, market, risk, lead
< 5 s · $0.001
per deal scored
brandon-s-engineer.com/resaleFull page
real data · last capture Nov 13, 6:20 AM

Listings tracked

19,155

since Sep 24

Likely sold

5,444

tracked ≥20 h, then gone

Price changes logged

20,952

every re-capture

New in last 7 days

2,417

iPhone, iPad, Mac, audio

What used Apple devices really sell for in Mexico City

Bar = middle 50% of asking prices (P25–P75) · tick = median · MXN

  • iPhone 17 Pro Max$20,000
  • iPhone 16 Pro Max$14,000
  • iPhone 16 Pro$12,500
  • iPhone 15 Pro Max$10,300
  • iPhone 16$9,600
  • iPhone 15 Pro$8,900
  • iPhone 14 Pro Max$7,500
  • iPhone 15$7,000
  • iPhone 14 Pro$6,800
  • iPhone 14$5,500
iPhone 17 Pro MaxP25 $18,000median $20,000P75 $22,0001,063 listings255 soldsells in ~2 d

Today’s flagged deals · real listings

Scored by the CRM against the market. Pick one and let the agents decide, live.

Or paste any listing

Deal desk · multi-agent

recorded run · real output · 2.1s
NEGOTIATEiPhone 12

“iPhone 12 128GB unlocked, great deal $3,800”

Asking
$3,800
Max buy
$3,500
Resale
$5,200
Margin
$1,700
Sells in
~6 d

Message to the seller

Hi! Is the iPhone 12 still available? I can offer MXN 3500 if you're interested.

1,170 tokens · $0.0007 · 2.1s ·numbers by code, judgment by LLM

How it got there

Parse listingcode0.0s

iPhone 12 · storage 128 GB · asking $3,800 · confidence 1.00

Spec analystLLM

Skipped — Parser was confident — no LLM call needed.

Market compsSQL0.0s

13 comps · exact config · P25 $5,000 · median $5,600 · P75 $5,600 · 2 sold in ~6 d · price ceiling $4,100

running in parallel
Market analystLLM0.9s · 343 tok

resale $5,200 · demand medium

The expected resale price for this iPhone 12 128GB is around MXN 5200, which is below the median but above the 25th percentile. With 2 out of 10 listings sold recently, demand is medium and median days to sell is 6.

Risk analystLLM0.8s · 291 tok

low riskhaircut 5%unlocked

The iPhone 12 is unlocked and priced moderately below market, presenting low risk.

Deal leadLLM1.1s · 536 tok
  • Listing price MXN 3800 is about 8.5% above maxBuy MXN 3500.
  • Risk is low, so no major concerns about device condition.
  • Expected resale price MXN 5200 supports a reasonable margin at MXN 3500 offer.
How it’s builtOne example step by step, then the decisions and what they costOpen

In one sentence: I browse listings, the system records every price, code works out what a device is really worth, and the agents judge whether a deal is safe to buy.

Follow one examplePlain words on top · the tech underneath

“iPhone 13 128GB, $6,500.”

  1. 1

    It sees the listing

    Sees the listing while I browse.

    Chrome extension · captures listings

  2. 2

    It saves it once

    Saves it once, with its price.

    Ingest API · validated, deduped

  3. 3

    Code does the math

    Works out market price and max buy.

    Price model · deterministic code + SQL

  4. 4

    It remembers every price

    Keeps it with its price history.

    Postgres · listings, price history

  5. 5

    The agents give a verdict

    Verdict: negotiate. Offer written.

    Agents · judgment only

The decisions, and what each one costs

Why not let the AI do the math?

Decision: code for numbers, AI for judgment

Because prices and margins must be exact, so they are code. Agents only judge text and scam signals.

It costs more code than “ask the model”.

Why capture listings with a Chrome extension?

Decision: capture at the source

Because it sends every listing I browse, exactly as the buyer sees it.

It costs coverage is only what I browse.

Why cache the market view?

Decision: 30-minute cache

Because it lets the database sleep between visits.

It costs numbers can be 30 minutes old.

Chrome extensionNext.jsPostgresMulti-agentzod
View the code

Next: cross-border sourcing.

Smaller builds

Focused features, each one real.

Let’s talk.

+52 55 1651 6493

Open to full-time · remote or CDMX

WhatsApp+52 55 1651 6493Call+52 55 1651 6493Emailbrandon.s.engineer@gmail.comLinkedInlinkedin.com/in/brandon-i-soriaGitHubgithub.com/Brandon-S-EngineerCVLive linkDownload