로컬 LLM용 Ai harness

84
This post has not been translated to English yet. Showing the original text.

같은 모델이라도 harness를 뭘 써느냐에 따라 같은 prompt에도 결과물이 많이 차이가 나는군요.

처음 ai coding시작할때는 오픈코드, 클로드코드, pi 이것저것 쓰다가, pi에다 유명한 extension 몇 개 깔아서 주로 써왔습니다. 최근 tau라고 python으로 만들어진 초보적인 코딩 에이전트 결과가 더 좋은 걸 확인하고, 다시 탐색이 시작되었습니다.

그 중에 하나로, omp(oh my pi)가 초기에 비해 엄청 개선이 된 걸 확인했습니다. typescript만 쓰다가 rust가 도입되고 속도도 빨라지고 결과물은 tau보다도 더 좋네요.

특히 제가 주목하는 건 compaction 부분입니다. local LLM을 쓸 때는 하드웨어 한계로 context size가 작기 때문에 이게 제대로 되지 않으면, 작업이 꼬이거나 실패합니다. 그런데 omp는 다양한 compaction방법을 제공하고, LLM summarization을 거치지 않는 방법을 우선적으로 제공하기 때문에 compaction할때마다 한참 기다렸다가 다음 작업을 하지 않고 연속적으로 작업을 할수 있어서, 로컬 LLM의 그러한 한계 극복에 도움이 됩니다.

재미있는 건 omp가 두번째로 선호하는 방법인 snapcompact란 방법입니다. 로컬 LLM은 서브측 compaction을 제공하지 않기 때문에 무조건 첫 번째가 되겠죠. 이건 text를 이미지로 찍어서 보관합니다. 이미지를 읽을수 있는 LLM인 경우에만 쓰는데, 아래 처럼 이미지를 찍어서 기억하는거죠. 사람의 포토 메모리 같은 방법 같습니다.

입력 프롬프트와 테스트 결과물은 다음과 같습니다.

## Prompt 3 - Very general, seems easy, clear requirements

Black Hole Simulator Coding Task

You are an expert physics programmer and graphics developer.
Your task is to create a complete, runnable black hole simulation with realistic visual effects.

Requirements:

1. Use **Three.js** for rendering a 3D scene in the browser.
2. Simulate: - Event horizon - Accretion disk with particle motion - Gravitational lensing effect (light bending)
3. Include camera controls (OrbitControls) so the user can explore the scene.
4. Physics: - Use shaders to distort background stars according to gravitational lensing. - Animate accretion disk rotation and particle movement.
5. Code must be **self-contained** in HTML + JavaScript, with all imports handled via CDN.
6. Include robust error handling for WebGL context loss.
7. Optimize for smooth performance on mid-range GPUs.
8. Add comments explaining each section of the code.

Deliverables:  
- A single HTML file containing all code.  
- No external build tools required — just open in a browser.  
- Must run without modification.  

Output:  
- Provide the complete HTML code block.  
- After the code, explain how to run it and how the simulation works.  

https://omp.sh/docs/compaction

로그인한 회원만 댓글 등록이 가능합니다.

개발한당

KR | ID | EN
  • IDR
  • KOR
7.40 ▼ -0.01

2026.11.23 KEB 하나은행 고시회차 557회

다가오는 한인 행사일정

  • 등록 된 일정이 없어요!