Senior Software Engineer on the Managed Postgres team at ClickHouse. I also build PgBeam and maintain open source.
18 npm packages · 25K+ monthly downloads · 20 open source repos · TypeScript and Go
Senior Software Engineer on the Managed Postgres team at ClickHouse, which acquired Xata in October 2026. I work on ClickHouse's Postgres service.
At Xata, the serverless Postgres platform (2022 to 2026):
- Led TypeScript technical decisions and designed cross-team features with the backend team.
- Built the platform's authentication and authorization: sessions, role-based access control and fine-grained API key permissions.
- Built the platform's AI features, from agents that work on a database to the tooling that lets them reach it safely.
- Earlier: main developer of the TypeScript SDK, the in-browser playground, Xata Workers and the CLI, and built an edge query endpoint on Cloudflare that caches and routes global requests to cut latency.
Agents usually get a superuser connection string. PgBeam gives them a scoped one instead: read-only access, table allowlists, PII masking and a full audit trail, all enforced in the wire protocol rather than in the prompt.
| Piece | Where |
|---|---|
| SDKs | TypeScript, Go, Python |
| CLI | pgbeam-cli, brew install sferarc/pgbeam/pgbeam |
| Infrastructure as code | Terraform, Pulumi, Crossplane |
| For agents | pgbeam-agent: installable skills and plugin |
| Go libraries | pgscram, auditchain, promptscan, schemadigest |
| Package | What it does | Downloads |
|---|---|---|
vercel-api-js |
Type-safe Vercel API client, regenerated daily from the spec | |
v0-api |
Type-safe client for the Vercel v0 API | |
keycloak-api |
Type-safe Keycloak API client | |
zoom-api-js |
Type-safe Zoom API client | |
netlify-api |
Type-safe Netlify API client | |
litellm-api |
Type-safe LiteLLM API client | |
cloudflare-api-js |
Type-safe Cloudflare API client | |
nuki-api-js |
Type-safe Nuki API client | |
rollup-plugin-import-cdn |
Rollup plugin that resolves bare imports to CDN URLs | |
ai-gateway-proxy |
OpenAI-compatible proxy for the Vercel AI Gateway | |
vscode-ai-gateway |
VS Code extension that brings Vercel AI Gateway models to chat | |
openapi |
The generator behind the type-safe API clients above |
I send fixes upstream to Keycloak and Better Auth, and was a core maintainer of the Paranoid Android custom ROM.
sferadev.com · npm · sferarc