PI
jespinel@procodeind:~$ # AI engineering workshop · Cartagena, Colombia

We build open software and share what we learn.

We work on two projects, JATRIX and CondorPay. We write down every decision before we code it, then publish it with its reasoning and its mistakes, so anyone can learn from it, use it, or make it better.

~/projects$ ls

Two projects, documented end to end.

Each one solves a problem every SaaS in Latin America runs into sooner or later: who is allowed to do what, and how to get paid.

JATRIX
Governance for multi-tenant SaaS
GoAPI /v1PostgreSQL

Identity, organizations, tenants, per-product roles and entitlements in one service. Your product keeps its business logic; JATRIX decides who can do what and records every change.

What you can learn here
  • How to isolate tenants in a shared schema
  • Per-product permissions with no inheritance and no surprises
  • Auditing in the same transaction as the change
# can this user do this, in this tenant, in this product?
    POST /v1/organizations/{orgId}/authorize
CONDORPAY
Instant payments for Latin America
MITTypeScriptNode 20+

An open SDK for collecting payments over the region’s instant payment rails. It starts in Colombia with Bre-B QR codes and Wompi, and plugs into Medusa.

@condorpay/sdk0.1.6
@condorpay/co0.3.0
@condorpay/medusa2.0.0
Brazil · Mexico · United Statesin progress
import { CondorPay } from "@condorpay/sdk";

    const cp = new CondorPay({ country: "co", wompi: { publicKey, privateKey } });
    const qr = cp.co.generateQr({ merchantName: "My Store", merchantCity: "Cartagena", merchantAccountId });
npm install @condorpay/sdk
npm ↗
~/rules$ cat PRINCIPLES.md

Six rules we apply to everything we make.

They are written into each project’s specification. If a rule changes, the document changes first.

spec → code

Write it down, then build it

Every structural change goes through an ADR. The specification is the source of truth.

tenant_id

Isolation by default

Every query filters by organization and tenant. Context comes from the token, never from the request body.

audit_log

Everything leaves a trail

Every state change is recorded in the same transaction that makes it.

OpenTelemetry

Everything is observable

Every signal carries organization, tenant, product, user and request_id.

/v1 → /v2

Nothing breaks quietly

A breaking change is a new API version.

cost-aware

Only what is needed

A shared schema, stateless compute, and no infrastructure before it is needed.

~/community$ cat CONTRIBUTING.md

There is room for you, whether you know a lot or are just starting.

Conversations happen in public, in English or Spanish. The rules for taking part are written down and the same for everyone.

read

Learn from the decisions

Each ADR explains the problem, the options, and why we chose one.

Go to the notebook →
ask

Start a discussion

Questions, ideas, or a better way to do it. We answer in public so it helps others too.

GitHub ↗
contribute

Send your first change

Some issues are labeled good first issue. Just sign off your commits with git commit -s.

See issues ↗
sustain

Sponsor the work

Your support pays for maintainer time, CI, and security audits.

Sponsor ↗
Jeffrey Espinel
AI software engineer · founder

Cartagena, Colombia

I started ProCode Ind to build the infrastructure I kept rebuilding on every project: multi-tenant governance and payments for Latin America.

I chose to do it in the open. What I learn designing these systems should not stay in a private repository.

I run the company with a team of AI agents versioned as code, covering planning, finance and maintenance. That system will be open too.

~/contact$ mail

Write to us.

For questions about JATRIX or CondorPay, sponsorships, or if you want to build with us.

jespinel@procodeind.com

Security reports: same address, with [SECURITY] in the subject.