Staff Engineer (Ref: 198565)

Forsyth Barnes

Madrid

On-site

EUR 85,000 - 125,000

Full time

27 hours ago
Be an early applicant

Get a reply from this employer

Your resume and cover letter, tailored to exactly what they’re hiring for.

Get past ATS filters

Job summary

Forsyth Barnes is recruiting the most senior individual-contributor engineer for a client building an agentic AI network for finance operations. The role carries full technical authority over architecture, security, integrations, and platform infrastructure, with no direct reports.

Candidates should bring 8+ years building production systems, deep Python and/or TypeScript and PostgreSQL experience, hands-on LLM and agent-system work, and real expertise in at least one area of finance operations.

Qualifications

  • 8+ years shipping production systems; currently Staff, Principal, Lead IC, or a founding engineer.
  • Strong systems design skills covering agent boundaries, failure modes, trust boundaries, and contract evolution.
  • Production depth in Python and/or TypeScript, plus deep PostgreSQL knowledge.
  • Hands-on experience with LLM-powered systems, agent orchestration frameworks, and document AI.
  • Experience designing production data pipelines, integration architectures, or event-driven systems.
  • Security awareness, including untrusted input handling and segregation of duties.
  • Technical leadership without a title, including effective reviews and adopted designs.
  • Effective use of AI coding tools and strong review skills for LLM integration and authorization code.
  • Real depth in at least one of accounts payable, accounts receivable, or procurement, with working fluency in the others.
  • Fluency with ERP systems, sub-ledger/general-ledger relationships, and period-close constraints.

Responsibilities

  • Design the multi-agent architecture, including agent boundaries, event contracts, orchestration, and authorization controls.
  • Build agents that resolve disputes by gathering evidence, negotiating when appropriate, and escalating to humans when needed.
  • Develop dynamic discounting agents that price early payment, propose terms, and execute them.
  • Build three-way matching, cash application, reconciliation, and exception handling.
  • Implement business-rule validation, duplicate detection, pricing discrepancy checks, and anomaly detection.
  • Create a reusable integration framework for ERP systems, banking APIs, accounting platforms, Gmail, Drive, and Slack.
  • Design zero-trust agent security, source-data verification, outbound-content review, and prompt-injection protections.
  • Own platform infrastructure for event storage, cryptographic verification, policy enforcement, multi-tenancy, authorization, and agent access.
  • Set engineering standards, document architecture decisions, conduct reviews, and participate in on-call.
  • Work with controllers and AP leads to observe agent failures and improve the systems.

Skills

Systems design
Technical leadership
Security awareness
Financial operations
Accounts payable
Accounts receivable
Procurement
Data pipelines
Event-driven systems
LLM systems
Agent orchestration
Document AI
AI coding tools

Tools

Python
TypeScript
PostgreSQL
LangGraph
LangChain
LlamaIndex
LlamaParse
NetSuite
Dynamics
Cerbos
ISO 20022
Peppol

Job description

Every year, $90 trillion moves between businesses - managed through duct-taped workflows, manual data entry, and spreadsheets. 68% of companies still key invoice data by hand. Trillions sit trapped as dead working capital.

Our client is building the first agentic AI network for finance operations. Autonomous agents that don't just automate tasks - they negotiate across company boundaries, resolve disputes in real-time, and make financial decisions with real judgment. Not another dashboard. Not another workflow tool. A system that acts.

The real unlock is what happens at scale: every company that joins makes the network smarter. Agents negotiate with each other across the supply chain. A context graph captures the why behind every financial decision - creating a compounding data moat no competitor can replicate.

Job Description

You'll be the most senior engineer on the agents that run finance operations for our customers - designing, building, and operating the autonomous agents that handle accounts payable and receivable end-to-end. From invoice validation and dispute resolution to cross-company negotiation and cash optimization.

This is an individual-contributor role at the top of our ladder: no direct reports, full technical authority over the architecture the rest of the team builds on.

What you'll do
  • Agent architecture - Design the multi-agent system: agent boundaries, event contracts, orchestration patterns, and the separation between LLM reasoning and deterministic enforcement. LLMs inform; rules enforce. You own where that line sits for every action that moves money, and the authorization gateway that makes it non-negotiable.
  • Agentic dispute resolution - An agent that reads the claim, gathers the evidence from the PO, contract, and delivery record, forms a position, and works it to settlement - negotiating with the counterparty where that's appropriate, escalating to a human where it isn't. Deductions and short pays classified, tied to the underlying claim, and driven to resolution rather than parked in an aging bucket.
  • Agentic dynamic discounting - Agents that continuously price early payment against the cash position on both sides of the transaction, propose terms, and execute them. Static payment terms become a negotiation that runs on its own.
  • Matching and reconciliation - Three-way matching across purchase order, goods receipt, and invoice with configurable tolerances; cash application against bank statements and remittance advices, including partial payments and residuals; the exception paths that follow when any of it fails. Unglamorous but important: The foundation everything agentic sits on.
  • Validation & anomaly detection - Business rule checks, duplicate and near-duplicate detection, pricing discrepancy detection, and anomaly detection across time. Precision matters as much as recall here: a false positive is a blocked supplier and an angry procurement lead.
  • Integration framework - ERP systems first and deepest, then banking APIs, accounting platforms, Gmail, Drive, and Slack. Auth model, credential lifecycle, data normalization. Today each connector is a project; you make the next one a configuration.
  • Compliance & security - Agents operate within a zero-trust model. You'll design how agents verify independently against source data, how outbound content is reviewed, and how the system prevents cascading failures from prompt injection. Plus the European e-invoicing mandates now landing across France, Germany, and Spain, and what EN 16931 means for the pipeline.
  • Platform & data infrastructure - Own the primitives every agent action rests on: an append-only PostgreSQL event store with tamper-evident hash chaining for replay and audit; cryptographic signature verification on agent events and approval chains before anything external fires; the Workflow Constraint Engine that gates payments, emails, and API calls on deterministic policy, not model output; row-level multi-tenancy and tenant-scoped credentials across every data store; attribute-based authorization via Cerbos, evaluated the same way whether the caller is an agent or a human; and the MCP security layer - auth, capability-scoping, rate limiting - for external agent-to-agent access.
  • The engineering standard - Architecture decision records, review bar, on-call, and a clear view of what we deliberately don't build. You'll write the things the next ten engineers read in week one, and you'll spend time with controllers and AP leads watching agents fail in ways no test predicted.
What we're looking for
  • 8+ years shipping production systems; currently Staff, Principal, Lead IC, or a founding engineer. You've carried an architecture through a scaling step and lived with your own decisions.
  • Strong systems design thinking - agent boundaries, failure modes, trust boundaries, contract evolution. Money movement is not retry-safe by default and you already know why.
  • Depth in Python and/or TypeScript in production, and deep PostgreSQL: event sourcing, row-level security, indexing tradeoffs, schema evolution under load.
  • Hands-on experience with LLM-powered systems, agent orchestration frameworks (LangGraph, LangChain, or similar), and document AI (LlamaIndex, LlamaParse, or similar).
  • Strong opinions about when to use an LLM vs. a rules engine vs. traditional ML - and the courage to defend them.
  • Experience designing data pipelines, integration architectures, or event-driven systems in production.
  • Security awareness - you think about what happens when untrusted input meets your pipeline, and about segregation of duties before someone makes you.
  • Technical leadership without a title: reviews that teach, designs that get adopted, engineers who get faster because you're there.
  • Effective use of AI coding tools with strong review skills for LLM integration and auth code.

Domain knowledge across the purchase-to-pay and order-to-cash cycle. You don't need all three areas below, but you need real depth in one and working fluency in the rest - enough that when a controller describes an exception, you understand it before they finish:

  • Accounts payable - PO and non-PO invoice intake, coding to GL account and cost centre, approval routing and delegation of authority, three-way matching and tolerance handling, blocked-invoice and exception workflows, duplicate detection, payment runs, payment terms and early-payment discounts, supplier master data and bank-detail verification, period-end accruals for un-invoiced receipts.
  • Accounts receivable - invoice issuance and e-invoicing, cash application and remittance matching, partial payments, short pays and residuals, credit memos, deductions and dispute handling, dunning and collections strategy, credit limits and credit risk, aging and DSO.
  • Procurement - requisition to purchase order, supplier onboarding and qualification, catalogues and contract pricing, goods receipt, off-contract and maverick spend, sourcing and supplier negotiation, and the handoff into AP where most of the pain actually lives.
  • Fluency with the systems this runs on: ERPs (NetSuite, Dynamics, or the SMB stack), the sub-ledger to general-ledger relationship, and how period close constrains what an agent is allowed to do and when.
Nice to have:
  • Peppol and EN 16931 in production, or bank connectivity via ISO 20022.
  • Cryptographic primitives in production: digital signatures, hash chaining, tamper-evident logs.
  • SOC 2, GDPR, or data-residency engineering in a regulated environment.
  • You've founded something, or have been employee 1 to 5 in a startup.
Get your free, confidential resume review.

or drag and drop your file here.

Michael Carter
Michael Carter
I was stuck sending out resumes with no response until I used JobLeads. They made my resume impossible for recruiters to ignore.
Sophie Reynolds
Sophie Reynolds
JobLeads' resume review helped me fix critical mistakes, and I started getting interviews almost immediately!
Daniel Fischer
Daniel Fischer
With JobLeads' resume review, my resume went from overlooked to interview-ready in no time!
Similar jobs

Similar jobs worth comparing

Staff Engineer, AI R&D
Staff Engineer, AI R&D

dLocal • Madrid

On-site
EUR 75,000 - 110,000
Staff Engineer, AI R&D
Staff Engineer, AI R&D

dLocal • Barcelona

On-site
EUR 85,000 - 125,000
Engineering Lead
Engineering Lead

Causa Prima • Madrid

Hybrid
EUR 90,000 - 130,000
Staff Engineer, AI Governance
Staff Engineer, AI Governance

dLocal • Madrid

On-site
EUR 120,000 - 180,000
AI Software Engineer | Spain
AI Software Engineer | Spain

Accenture PLC • Madrid

On-site
EUR 70,000 - 110,000
Founding Engineer
Founding Engineer

3Y Health • Spain

On-site
EUR 55,000 - 85,000
Full Stack AI Engineer
Full Stack AI Engineer

3Y Health • Spain

On-site
EUR 90,000 - 120,000
Senior Forward Deployed Engineer, AI & Automation
Senior Forward Deployed Engineer, AI & Automation

Bask Health, Inc. • Spain

Remote
EUR 60,000 - 90,000
Staff Engineer, Ai Governance
Staff Engineer, Ai Governance

Dlocal • Barcelona

On-site
EUR 110,000 - 170,000
AI Engineer
AI Engineer

Hilbert • Barcelona

On-site
EUR 90,000 - 130,000