COSCUP x UbuCon Asia 2026 Logo
  • About
  • Session
  • Transportation
  • Venue
  • Communities
  • Sponsors
    • Participate Guide
    • First Timer
    • Activity
    • Speaker Participation
    • Welcome Party
    • For Overseas Visitors
    • Open Source Communities
    • Sponsorship Partners
    • Invitation Letter Guide
  • Staff
  • Fringe Events / BoF
  • Blog
  • CoC
中文

The Deterministic Rubyist: Taming Your AI Pair Programmer with Nix

Time
2026-08-09 10:50 ~ 11:20
Speaker
Pawel Lisewski @palekiwi
Room
TR514
Co-write
https://hackmd.io/Hy7dxNlUMx
Feedback
https://coscup.org/2026-feedback/?session=PSC9EM
Ruby Taiwan IntermediateEnglish

Abstract

AI coding agents are the new "high-speed interns" of the Ruby world. They can be eager and fast, but leave them unconstrained and you risk wrecking your system. Tie them up too tight and they'll end up hallucinating instead of producing results.

The answer isn't more documentation or prompt engineering; it’s a better contract.

In this talk, we’ll explore how Nix - the functional, deterministic package manager - serves as a bridge between human developers and AI agents. We will move beyond the "it works on my machine" era into the "it works in the contract" era.

We'll discuss how a Nix Flake acts as a shared mental model: a declarative, cryptographic receipt of every dependency, compiler, and system library your project requires.

We will dive into:

  • The Bundler Analogy: Translating Nix concepts into a language Rubyists already speak (Gemfile → Flake, Lockfile → Lock).
  • Effectiveness through Shared Context: How to use Nix to ensure your AI agent has the exact tools it needs (like ruby-lsp or specific C-extensions)
  • Security as an Enabler: Using Nix in tandem with Docker to create "principled sandboxes." We’ll look at real-world patterns from my opensource AI sandboxing tool.
  • The "Double Gemfile" Pattern: A practical tip for managing dev-only gems and agent-specific tools within a Nix-based workflow.

By the end of this session, you’ll see that Nix is a powerful tool for the modern Rubyist to build secure, reproducible, and highly effective environments where humans and AI can collaborate without the chaos.

Speaker

Pawel Lisewski @palekiwi

Pawel Lisewski @palekiwi

Based in Taiwan. I appreciate the beauty of competing paradigms although deep at heart I am a functional programmer who naively loves Haskell and Nix and - less naively - Rust. I think it is fun to be a polyglot in both the machine and human world so try asking me a question in any language and there's a non-zero chance I'll manage to answer ;)

Diamond

Cumulative4 YrsCanonical

Gold

Consecutive2 YrsInformation Management AssociationConsecutive2 YrsCathay Financial HoldingsConsecutive5 YrsE.SUN BankCumulative13 YrsMySQLCumulative6 YrsBerry AINitra

Silver

Cumulative16 YrsGamesofa Inc.Cumulative3 YrsLinux Professional Institute

Bronze

Collaborator2 YrsKKTIXCumulative3 YrsNational Center for High-performance ComputingONLYOFFICECumulative6 YrsQNAP Systems, Inc.Consecutive16 YrsThe Archilife Research FoundationSUN SQUARE Co., LtdPenpeer

Friend

Consecutive3 YrsAndes Technology CorporationCumulative12 YrsAppierCumulative3 YrsGeode Labs & ETHTaipei

Special Thanks

Consecutive2 YrsDepartment of Information Technology, Taipei City GovernmentCollaborator3 YrsSiFive數位發展部Rozeta AIGrafana LabsLive YoungCollaborator5 YrsThree Wheel Nitro CoffeeCollaborator9 YrsHackmdCollaborator4 Yrs天瓏書局Collaborator3 YrsTapPayIndividual-Sponsorship

Co-host

Collaborator9 YrsNTUST - Department of Electronic and Computer Engineering

Co-organizer

Collaborator12 YrsOpen Culture Foundation

COSCUP x UbuCon Asia 2026

Conference for Open Source Coders, Users, and Promoters | Asia's largest open source community conference.

Contact

  • Attendee Services
  • Sponsorship
  • Call for Proposals
  • Marketing

Resources

  • COSCUP Blog
  • Newsletter Subscription
  • Event Photos

Sitemap

  • Home
  • About
  • Transportation
20062007200820092010201120122013201420152016201720182019202020212022202320242025