jihoo.
3DGitHub ↗EN
책상 한켠

스레드.

짧은 메모, 작업 중인 생각, 나중에 다시 보고 싶은 링크를 모아 두는 곳이에요.

  1. 숫자를 더하던 에이전트들을 섬에 풀어봤다

    ollama-swarm-test는 Qwen3 0.6B를 쓰는 에이전트 셋에게 숫자를 나눠 더하게 하는 실험으로 시작했다. 각자 8, 11, 13을 내놓았고 마지막 에이전트가 합쳐서 32를 맞혔다. 직접 질문을 던져 답을 모으는 모드도 붙이고, 투표도 넣어봤다. 그러다 정답이 정해진 문제 말고, 셋을 한 공간에 놓으면 뭘 할지가 더 궁금해졌다.

    처음 만든 섬에는 10턴 뒤에 폭풍이 왔다. 첫 실행에서는 30번 중 23번이 잘못된 선택으로 처리됐다. 번호만 받아야 하는데 모델이 메뉴 문구까지 복사하거나 목재 비용인 -2를 답으로 내놓곤 했다. 매 턴 가능한 선택지를 JSON 스키마에 넣고 나서야 잘못된 선택이 0/30으로 줄었다. 그래도 아무도 살아남지 못했다. 30번 중 16번을 음식 나눔에 썼고, 대피소는 필요한 14 중 8까지만 지었다. 응답 형식을 고친 덕에 비로소 가만히 있는 이유와 자원을 엉뚱하게 쓰는 이유를 따로 볼 수 있었다.

    폭풍을 빼고 자유 샌드박스로 바꾸자 다른 종류의 반복이 나왔다. 처음엔 표지판에 자기 말 대신 ‘표지판 짓기’ 메뉴 설명을 적었다. Three.js로 옮긴 뒤에는 주민 셋이 각자의 관찰과 기억을 가지고 로컬 Ollama 모델에 차례대로 물어보게 했다. 이 버전에서는 Qwen3 4B도 한 실행에서 완료된 행동 34번을 전부 이동에 썼다. 별도로 행동 종류를 먼저 고르게 한 실행에서도 계속 탐색을 골랐다. Gemma 3 4B로 바꾸고 한 번에 전체 행동을 고르는 방식으로 돌렸을 땐 이동이 30번 중 26번으로 여전히 많았지만, Mugi가 표지판 두 개를, Sora가 벤치 두 개를 실제로 지었다. 모델과 선택 방식을 둘 다 바꿨고 실행 수도 적어서, 어느 쪽 덕인지는 아직 모른다.

    최근엔 Sora가 큰 캠프파이어를 만들고 싶어 하는 것처럼 보였다. 예전에 Nori랑 이야기하자고 하고 벤치까지 지은 건 로그에 남았지만, 이번 캠프파이어는 아직 관찰 중이다. 다음에는 말을 몇 번 반복하는지보다, 턴이 지나도 같은 계획을 이어서 재료를 모으고 실제로 짓는지를 보고 싶다.

    Read in English: I let my number-crunching agents loose on an island

    ollama-swarm-test started with three Qwen3 0.6B workers splitting up an addition problem. They got 8, 11, and 13, and a final agent added them up to 32. I added a mode where I could ask my own questions, then tried voting. Eventually I got more curious about what the agents would do in a shared space without a known answer.

    On the first island, a storm arrived after ten turns. In the first run, 23 out of 30 choices were invalid. The model sometimes copied the whole menu entry instead of returning a number, or returned the wood cost, -2. Putting each turn’s legal choices into a JSON schema brought invalid choices down to zero. Nobody survived anyway. The agents spent 16 of their 30 actions giving food away and reached only 8 of the 14 shelter points they needed. Fixing the response format let me distinguish actions that never ran from legal choices that didn’t help enough.

    Removing the storm brought out different loops. The first sandbox agents copied the menu description onto their signs. After moving to Three.js, I had the three residents take turns calling one local Ollama model, each with their own observations and memory. In that version, Qwen3 4B spent all 34 completed actions in one run moving. In a separate run where it had to pick an action category first, it kept choosing exploration. When I tried Gemma 3 4B with the full action list, 26 of 30 completed actions were still moves, but Mugi actually built two signs and Sora built two benches. I changed both the model and how choices were presented, so those runs don’t tell me which made the difference.

    Lately Sora has looked like she wants to build a big campfire. The logs do show her inviting Nori to talk and building benches earlier. The campfire is still something I’m watching for. What I want to see next is whether the plan lasts long enough for her to gather materials and build it.

  2. NixOS를 6개월 쓰고 Debian으로 옮긴 이야기

    Debian 로고 후드를 입은 닉스쨩이 KDE Plasma 화면이 켜진 책상 옆에 서 있어요.

    Read in English: Six Months on NixOS, Then Debian

    I finished installing Linux Mint, rebooted, and got no picture. The first time I booted the install USB, I hadn’t gotten a graphical desktop either. Compatibility mode had gotten me far enough to run the installer, so I thought I was past that problem. Instead, I was looking at a black screen again. In the end I installed Debian and went with KDE Plasma.

    After six months on NixOS

    I used NixOS for about six months. My favorite part was keeping configuration in code. I could come back later and read what I’d changed, and I could leave a file in each project that said what tools it needed.

    Over time, though, I got tired of working with Nix. I still liked the habit of writing down my setup, but I wanted to spend less energy getting my work environment ready. I decided to try Linux Mint for my everyday work.

    Getting past the first hurdle in compatibility mode

    When I booted the Mint live ISO normally, the graphical desktop never appeared. I selected compatibility mode from the boot menu, got a desktop, and finished the installation that way.

    On the installed system, the next thing I wanted to set up was the input method. I clicked Install in the settings, but it didn’t install. I tried rebooting, only to get no picture from the installed system either. That’s where I decided to stop trying Mint. I didn’t find out why the input method wouldn’t install or whether the two display problems had the same cause. What I did learn was that getting the installer onscreen in compatibility mode didn’t tell me whether the installed system would be usable day to day.

    What stays with Debian and what goes into Graft

    I installed Debian with KDE Plasma next. That’s as far as the switch has gone: Debian is installed, and managing my development environments with Graft is still something I have to try.

    I plan to leave Debian’s system packages and updates to APT, then use Graft, the package manager I’m building, to put together each project’s development tools. One habit I picked up from using NixOS was not relying on my memory for which tools a project needs when I come back to it. I’d like to keep that habit on a different operating system.

    I’m going to use this journal as the first test. I want to put the Node and npm the site needs in a dev shell, install the dependencies in a fresh checkout, and build the site. Just getting a shell prompt isn’t enough. If I can rebuild the site this post lives on without my old Nix configuration, I’ll have brought over something I actually wanted to keep.

    Linux Mint를 설치하고 재부팅했는데, 화면이 나오지 않았어요. 설치 USB로 처음 부팅할 때도 화면이 나오지 않아서 호환성 모드로 겨우 설치 화면을 띄웠거든요. 설치까지 마쳤으니 이제 쓸 수 있겠다 싶었는데, 다시 검은 화면을 마주했어요. 결국 Mint 대신 Debian을 설치했고, 이번에는 KDE Plasma를 골랐어요.

    NixOS를 6개월 쓰고 나서

    NixOS를 쓴 건 6개월 정도예요. 그동안 좋았던 건 설정을 코드로 남기는 방식이었어요. 나중에 무엇을 바꿨는지 다시 읽을 수 있고, 프로젝트에 들어갈 때 어떤 도구가 필요한지도 파일에 적어둘 수 있으니까요.

    그런데 시간이 지나면서 Nix를 계속 다루는 게 좀 지쳤어요. 설정을 코드로 남기는 습관은 좋았지만, 작업할 환경을 꾸리는 일에 들이는 힘은 조금 줄이고 싶었어요. 그래서 일단 작업 환경을 Linux Mint로 바꿔보기로 했어요.

    호환성 모드로 넘긴 첫 고비

    Mint 라이브 ISO를 일반 모드로 부팅했을 때는 그래픽 화면이 뜨지 않았어요. 부팅 메뉴에서 호환성 모드를 골랐더니 그래픽 화면이 나와서, 그 상태로 설치를 마쳤어요.

    설치한 시스템에서 다음으로 하려던 건 입력기 설정이었어요. 설정 화면에서 설치 버튼을 눌렀는데 설치가 되지 않았어요. 재부팅을 해봤지만 이번에는 설치한 시스템에서도 화면이 나오지 않았고, 거기서 Mint를 더 붙들고 있지 않기로 했어요. 입력기 설치가 왜 안 됐는지, 두 번의 화면 문제가 같은 원인이었는지는 확인하지 못했어요. 다만 호환성 모드에서 설치 화면을 띄운 것과 설치 후 매일 쓸 수 있는 건 별개라는 걸 이번에 배웠어요.

    Debian에 남겨둘 것과 Graft로 가져갈 것

    그다음에 설치한 건 Debian과 KDE Plasma예요. 이번 전환에서 어디까지 끝났냐고 하면, Debian을 설치한 데까지예요. Graft로 개발 환경을 관리하는 건 이제 해볼 일이에요.

    Debian의 시스템 패키지와 업데이트는 APT에 맡기고, 프로젝트마다 필요한 개발 도구는 제가 만들고 있는 Graft로 묶어볼 생각이에요. NixOS를 쓰면서 들인 습관 중 하나는 프로젝트를 다시 열었을 때 필요한 도구를 기억에 맡기지 않는 거였어요. 운영체제는 바꿨지만 그 습관은 남기고 싶어요.

    첫 시험은 이 저널로 해보려고 해요. 사이트에 필요한 Node와 npm을 dev shell에 넣고, 새 체크아웃에서 의존성을 설치한 다음 사이트를 빌드해보는 거예요. 셸이 열리는 것만으로는 부족하니까요. 예전 Nix 설정 없이도 이 글을 싣는 사이트를 다시 빌드할 수 있다면, 제가 새 환경에 가져가고 싶었던 한 가지가 제대로 옮겨온 셈이에요.