# Vercel agent-browser, --native 기능 도입

> Clean Markdown view of GeekNews topic #27218. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=27218](https://news.hada.io/topic?id=27218)
- GeekNews Markdown: [https://news.hada.io/topic/27218.md](https://news.hada.io/topic/27218.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2026-03-05T16:54:16+09:00
- Updated: 2026-03-05T16:54:16+09:00
- Original source: [agent-browser.dev](https://agent-browser.dev/)
- Points: 24
- Comments: 2

## Summary

**헤드리스 브라우저 자동화 CLI**인 **agent-browser**가 새롭게 변신했습니다. 기존 Node.js + Playwright 구조 대신 Rust 바이너리가 CDP를 직접 호출해, 런타임 메모리 사용량과 프로세스 풋프린트를 크게 줄였습니다. `snapshot`, `click`, `diff` 등 명령을 통해 접근성 트리 기반의 고유 ref로 페이지를 제어하며, AI 에이전트 워크플로우에 최적화된 자동화를 제공합니다.

## Topic Body

- AI 에이전트를 위한 **헤드리스 브라우저 자동화 CLI**  
- 기존 node.js + playwright + CDP 구조에서 Rust 바이너리가 CDP를 직접 호출하게 변경  
- 독립실행형 데몬으로 런타임에 Node.js 프로세스가 없어서 메모리 사용량 감소 및 풋프린트도 작아짐   
- **AI 친화적 워크플로우 명령들**   
  - `snapshot` 명령으로 접근성 트리를 가져와서 **고유 ref(@e1, @e2)** 를 생성하고 이 기반으로 동작 (전통적인 셀렉터도 지원)  
  - 페이지 탐색(`open`, `goto`), 클릭·입력(`click`, `fill`, `type`, `hover`, `check`, ..), 스크린샷·PDF 생성(`screenshot`, `pdf`)  
  - 상태 조회(`get text`, `get attr`), 상태 체크(`is`), 대기(`wait`), 마우스·키보드 제어(`mouse`, `keyboard`)  
  - 엘리먼트 검색(`find`), 브라우저 세팅(`set`), 탭/윈도우/프레임/다이얼로그(`tab`, `window`, `frame`, `dialog`)  
  - 비교 (`diff`) : 스냅샷/스크린샷/URL 등으로 비교   
  - 세션·스토리지·쿠키 관리(`cookie`, `storage`), 네트워크 요청 가로채기 및 모킹(`network route`) 지원  
- `--session`으로 **격리된 브라우저 인스턴스** 실행  
- `--profile` 또는 `--session-name`으로 **로그인·스토리지 상태 유지**  
- `--annotate` 옵션으로 **요소 번호가 표시된 주석 스크린샷** 생성 지원   
- macOS, Linux, Windows 전용 Rust 바이너리 제공, Node.js 폴백 지원  
- Apache-2.0 라이선스

## Comments



### Comment 52468

- Author: unqocn
- Created: 2026-03-05T17:10:31+09:00
- Points: 1

너무너무 잘 쓰고 있습니다. 토큰 효율도 좋아요.

### Comment 52466

- Author: xguru
- Created: 2026-03-05T16:56:05+09:00
- Points: 1

agent-browser 를 소개한 적이 없었네요. 요즘 뭔가 너무 많아서 놓쳤나 봅니다 ㅎ  
  
새로 실험적인 기능으로 --native 인자가 도입되어서 더 작고 빨라졌습니다.  
  
https://x.com/ctatedev/status/2028960626685386994  
  
[portless - 포트 번호를 이름 기반 .localhost URL로 대체하는 도구](https://news.hada.io/topic?id=27116) 를 만든 Chris Tate의 또 다른 프로젝트 입니다.
