<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>터미널CLI &#8211; WONIZZ.LOG</title>
	<atom:link href="https://blog.wonizz.com/tag/%ED%84%B0%EB%AF%B8%EB%84%90cli/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.wonizz.com</link>
	<description>AI 자동화를 직접 굴려 본 개발자의 실무 교훈</description>
	<lastBuildDate>Wed, 18 Nov 2026 22:56:26 +0000</lastBuildDate>
	<language>ko-KR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/08/wz-siteicon-512.png?fit=32%2C32&#038;ssl=1</url>
	<title>터미널CLI &#8211; WONIZZ.LOG</title>
	<link>https://blog.wonizz.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">152411368</site>	<item>
		<title>[AI 코딩] 안티그래비티 사용법, agy 로 버그 3개 찾기 13초</title>
		<link>https://blog.wonizz.com/2026/10/07/antigravity-how-to-use/</link>
					<comments>https://blog.wonizz.com/2026/10/07/antigravity-how-to-use/#respond</comments>
		
		<dc:creator><![CDATA[워니즈]]></dc:creator>
		<pubDate>Wed, 07 Oct 2026 00:58:06 +0000</pubDate>
				<category><![CDATA[AI & LLM]]></category>
		<category><![CDATA[agy]]></category>
		<category><![CDATA[AI코딩]]></category>
		<category><![CDATA[antigravity]]></category>
		<category><![CDATA[안티그래비티]]></category>
		<category><![CDATA[터미널CLI]]></category>
		<guid isPermaLink="false">https://blog.wonizz.com/?p=4212</guid>

					<description><![CDATA[<p>The standard Lorem Ipsum passage, used since the 1500s<br />
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
<p>Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC<br />
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"</p>
<p>1914 translation by H. Rackham<br />
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"</p>
<p>Section 1.10.33 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC<br />
"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat."</p>
<p>1914 translation by H. Rackham<br />
"On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains."</p>
<p>안티그래비티 사용법을 2026-10-03 빈 폴더에서 agy 1.2.12 로 직접 따라 했습니다. 버그 3개 찾기 13초, 33줄 스크립트 받기 8초, 8줄 셸 스크립트 한국어 설명 33초와 파일 쓰기가 거부된 곳, 확인하지 못한 요금까지 상황별로 정리했습니다.</p>
<p>The post <a rel="nofollow" href="https://blog.wonizz.com/2026/10/07/antigravity-how-to-use/">[AI 코딩] 안티그래비티 사용법, agy 로 버그 3개 찾기 13초</a> appeared first on <a rel="nofollow" href="https://blog.wonizz.com">WONIZZ.LOG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The standard Lorem Ipsum passage, used since the 1500s<br />
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
<p>Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC<br />
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"</p>
<p>1914 translation by H. Rackham<br />
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"</p>
<p>Section 1.10.33 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC<br />
"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat."</p>
<p>1914 translation by H. Rackham<br />
"On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains."</p>
<div class="box-4212-steps" style="border:2px solid #2563eb;border-radius:8px;padding:14px 18px;margin:0 0 24px;background:#f1f5ff">
<strong>안티그래비티 사용법, 3단계로 먼저 보면 이렇습니다.</strong>
<ol>
  <li><strong>설치 확인</strong> 터미널에 <code>agy --version</code> 을 쳐서 버전이 나오는지 봅니다(이 글은 1.2.12 기준, 설치 과정은 다루지 않았습니다)</li>
  <li><strong>폴더로 이동</strong> 시험할 작업 폴더로 <code>cd</code> 로 들어갑니다</li>
  <li><strong>한 줄 입력</strong> <code>agy -p "할 일"</code> 을 보냅니다. 권한이 거부되면 요청 문장을 바꿔 다시 보냅니다</li>
</ol>
</div>

2026-10-03 새벽 빈 폴더에서 안티그래비티 CLI(<code>agy</code>)로 안티그래비티 사용법을 상황별로 따라 해 보니, 버그 3개는 13초, 33줄 코드는 8초, 8줄 셸 스크립트 설명은 33초 만에 답이 왔습니다. 그런데 처음 보낸 요청 두 번은 권한 거부로 아무것도 남기지 않았고, 종료 코드는 0이었습니다.

안녕하세요? 정리하는 개발자 워니즈입니다. IDE 가 아니라 터미널용 Antigravity CLI 로 해 본 안티그래비티 사용법을 상황별로 정리했고, 이번 시험을 위해 새로 가입한 서비스는 없습니다.

<ul>
  <li><strong>무엇을 했나</strong> 안티그래비티 사용법의 기본은 작업 폴더에서 <code>agy -p "할 일"</code> 한 줄을 보내는 것이고, 저는 agy 1.2.12 로 세 상황에 요청 아홉 개를 보냈습니다</li>
  <li><strong>결과 숫자</strong> 읽고 답하는 일(버그 3개 13초, 설명 33초)은 바로 됐고, 파일 쓰기와 명령 실행은 거부돼 요청 문장을 바꾼 뒤에야 결과가 나왔습니다(8초, 33초)</li>
  <li><strong>누구에게 쓸모</strong> 터미널에서 AI 에게 버그 찾기와 코드 설명을 맡겨 보려는 개발자, 그리고 그 결과를 스크립트로 받으려는 분께 맞습니다</li>
</ul>

<figure class="wp-block-table">

<table><thead><tr><th>상황</th><th>막힌 요청</th><th>통한 요청</th><th>걸린 시간</th></tr></thead><tbody><tr><td>디버깅</td><td>없음</td><td>&#8220;고치지 말고 문제와 고칠 방법만&#8221;</td><td>13초</td></tr><tr><td>새 기능</td><td>&#8220;현재 폴더에 만들어 줘&#8221;(write_file 거부)</td><td>&#8220;파일은 만들지 말고 코드만 출력&#8221;</td><td>8초</td></tr><tr><td>코드 공부</td><td>&#8220;실행하지는 마&#8221;(command 거부)</td><td>&#8220;터미널 명령은 쓰지 말고 파일 읽기만&#8221;</td><td>33초</td></tr><tr><td>기본 모델</td><td>429 오류(종료 코드 3)</td><td><code>--model claude-sonnet-4-6</code></td><td>5초</td></tr></tbody></table>

</figure>

<h2 id="s1">1. 안티그래비티 사용법, 세 가지를 시켜 보니 몇 초 걸렸을까?</h2>

짧게는 8초, 길게는 33초였습니다. 2026-10-03 05:13~05:17 KST, macOS 27.0 arm64 와 agy 1.2.12 로 <code>/tmp</code> 아래 새 폴더 세 개에서만 돌렸고, 시간은 명령 앞뒤 <code>date +%s</code> 의 차이입니다. 이날 기본 모델이 429 로 끝나 세 상황 모두 Claude Sonnet 4.6 으로 돌렸습니다.
<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/01-chart.png?w=1200&#038;ssl=1" alt="안티그래비티 사용법 시험에서 보낸 요청 9개의 걸린 시간을 초 단위 막대로 비교한 그림, 만들기 거부와 실행마 거부 두 요청도 14초·7초로 표시된다" />
<strong>권한이 거부돼 아무것도 만들지 못한 두 번도 종료 코드는 0이었습니다.</strong> 이 안티그래비티 사용법을 스크립트로 옮긴다면 종료 코드가 아니라 결과 파일이나 답 내용으로 성공을 판정해야 합니다.

<h2 id="s2">2. 디버깅할 때 버그 3개를 찾게 하려면?</h2>

파일이 있는 폴더에서 범위를 묶어 묻습니다. 22줄짜리 <code>orders.py</code> 에 흔한 실수 셋을 심어 두고 파일은 고치지 말고 문제가 있는 함수와 고칠 방법만 알려 달라고 보내자 13초 만에 셋 다 줄 번호와 함께 짚었고, 빠진 것도 지어낸 것도 없었습니다. 답 뒤에도 파일은 그대로였습니다.

<figure class="wp-block-table">

<table><thead><tr><th>함수</th><th>심어 둔 문제</th><th>agy 가 짚은 줄</th></tr></thead><tbody><tr><td>average_price</td><td>빈 목록이면 0으로 나눔</td><td>5번 줄, ZeroDivisionError</td></tr><tr><td>add_tag</td><td>기본값 <code>tags=[]</code> 를 호출끼리 공유</td><td>8번 줄, 가변 기본 인자</td></tr><tr><td>page</td><td>끝 인덱스에서 1을 더 뺌</td><td>15번 줄, off-by-one</td></tr></tbody></table>

</figure>

<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/04-diagram-2.png?w=1200&#038;ssl=1" alt="orders.py 에서 agy 가 짚은 버그 3개를 함수 이름과 줄 번호로 정리한 카드 그림(average_price 5번 줄, add_tag 8번 줄, page 15번 줄), repro.log 응답을 다시 그린 것으로 실제 터미널 캡처는 아니다" />
가변 기본 인자 설명은 <a href="https://docs.python.org/3/tutorial/controlflow.html#default-argument-values" target="_blank" rel="noopener">파이썬 공식 튜토리얼의 기본 인자 값 절</a>과 같았습니다. 다만 버그 위치를 제가 미리 아는 파일이었고, 실제 코드에서 무엇을 놓치는지는 이 기록으로 말할 수 없습니다.

<h2 id="s3">3. 새 기능을 만들 때 &#8216;만들어 줘&#8217; 대신 무엇이라고 해야 하나요?</h2>

&#8220;코드만 출력해 줘&#8221; 입니다. &#8220;현재 폴더에 wordcount.py 를 만들어 줘&#8221; 는 14초 뒤 아래 문구만 남기고 끝났고 폴더는 비어 있었습니다.

<blockquote>
a tool required the &#8220;write_file&#8221; permission that headless mode cannot prompt for, so it was auto-denied.
</blockquote>

<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/05-diagram-1.png?w=1200&#038;ssl=1" alt="같은 폴더에서 '만들어 줘'는 write_file 권한 자동 거부로 끝나고 '출력해 줘'로 문장만 바꾸자 성공한 결과를 좌우로 비교한 그림(repro.log 응답을 다시 그린 것)" />
&#8220;파일은 만들지 말고 코드만 출력&#8221; 으로 바꾸자 8초에 33줄이 왔고, 저장해 돌리니 동작했습니다. 그런데 시험 글에서 Apple 과 <code>banana.</code> 를 다른 단어로 세어 apple 을 3회로 냈습니다. <code>-c</code> 로 대화를 이어 대소문자와 문장부호를 떼게 하자 8초에 37줄 코드가 왔고 사람이 센 값(apple 4회, banana 3회)과 같아졌습니다.
<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/06-chart.png?w=1200&#038;ssl=1" alt="wordcount.py 첫 코드와 고친 코드를 같은 시험 글에 돌린 결과를 막대로 비교한 그림, apple 이 3회에서 4회로 바뀐 막대가 강조돼 있다" />
오류 없이 도는 코드의 빈틈은 사람이 일부러 까다로운 입력을 넣어야 보였습니다. 테스트를 통과했는데 틀렸던 비슷한 일은 <a href="https://blog.wonizz.com/2026/09/27/vibe-coding-reality-selftest-real-data/">테스트는 통과했는데 261편 중 6편만 맞았다</a>에 적었습니다.

<h2 id="s4">4. 코드 공부할 때 실행 권한 거부를 피하려면?</h2>

쓸 도구를 직접 적습니다. 8줄짜리 <code>backup.sh</code> 를 &#8220;줄마다 설명, 실행하지는 마&#8221; 로 물었더니 7초 만에 command 권한 거부로 끝났고, &#8220;터미널 명령은 쓰지 말고 파일 읽기만&#8221; 을 앞에 붙이자 33초 만에 8줄 전부를 한국어로 풀었습니다. <code>-c</code> 로 &#8220;처음 돌리기 전 조심할 점 세 줄&#8221; 을 묻자 14초 만에 가장 위험한 줄을 짚었습니다.

<blockquote>
7번째 줄의 <code>-delete</code> 때문에 <code>~/backups/</code> 안에 있는 7일 이상 된 <code>.tar.gz</code> 파일이 모두 즉시 삭제됩니다.
</blockquote>

<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/07-diagram.png?w=1200&#038;ssl=1" alt="backup.sh 설명을 받기까지 보낸 세 번의 요청 흐름도, 실행하지는 마(거부, 7초) 다음 파일 읽기만(8줄 설명, 33초) 다음 조심할 점 묻기(14초) 순서를 로그 값으로 다시 그렸다" />
<code>-c</code> 는 앞 대화의 파일을 기억했고, <code>--output-format json</code> 은 <code>status</code> 와 <code>response</code> 를 따로 줘서 스크립트로 받기 편했습니다(출력은 부록). 권한을 어디까지 열지는 <a href="https://blog.wonizz.com/2026/08/03/ai-agent-permission-recovery-cost/">AI 에이전트 권한 설계</a>에서 다룬 적이 있습니다.

<h2 id="s5">5. 안티그래비티는 무료인가요, 그리고 안 되는 것은?</h2>

요금표와 무료 범위는 이번에 공식 문서로 확인하지 못했습니다. 안티그래비티 사용법을 따라 하다 보면 먼저 한도 오류를 만날 수 있습니다. 기본 모델과 제미나이 모델 두 개는 &#8220;Individual quota reached. Please upgrade your subscription to increase your limits.&#8221; 로 끝났고, Claude 와 GPT 쪽 모델로 바꾸자 5초 만에 답했습니다. <code>/usage</code> 화면에는 모델 묶음마다 주간 한도와 5시간 한도 행이 따로 있었습니다(비율 값은 가림). 가격은 <a href="https://antigravity.google/" target="_blank" rel="noopener">Google Antigravity 공식 사이트</a>에서 확인하셔야 합니다.
<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/02-diagram-2.png?w=1200&#038;ssl=1" alt="agy /usage 화면 구조를 보여 주는 카드 그림, Gemini 모델과 Claude·GPT 모델 묶음마다 주간 한도 행과 5시간 한도 행이 따로 있다는 것만 나타내고 비율 값은 가렸다" />
같은 날 <code>agy models</code> 목록 14개에 제미나이 4 는 없었습니다(3.8 Flash ~ 3.1 Pro). 설치, IDE, 제미나이 모델로 같은 세 상황, 파일 쓰기 허용 규칙은 다루지 않았습니다(부록 표).
<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/03-diagram-2.png?w=1200&#038;ssl=1" alt="agy --version 으로 1.2.12 를 확인하고 agy models 로 14개 모델을 나열한 뒤 제미나이 4 가 목록에 없다는 것을 로그 값으로 다시 그린 흐름도(실제 터미널 캡처가 아니라 repro.log 수치를 옮긴 그림)" />
<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/08-diagram.png?w=1200&#038;ssl=1" alt="같은 목적의 요청이 문장 하나를 바꾸자 거부에서 성공으로 바뀐 두 쌍(만들기 요청/출력 요청, 실행 마/읽기만)을 카드 네 개로 나란히 비교한 그림" />
<img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.wonizz.com/wp-content/uploads/2026/10/09-diagram.png?w=1200&#038;ssl=1" alt="읽고 답하는 요청은 바로 성공하고, 쓰거나 실행하는 요청은 문장을 바꿔야 결과가 나온다는 갈림길을 좌우로 비교한 그림" />

<h3>필자의 결론</h3>

<blockquote>
안티그래비티 CLI 는 기본 권한 그대로 두고, 파일을 읽거나 코드를 답으로 받는 일에만 씁니다.
</blockquote>

<blockquote>
&#8220;만들어 줘&#8221; 대신 &#8220;코드만 출력&#8221;, &#8220;실행하지는 마&#8221; 대신 &#8220;파일 읽기만&#8221; 이라고 쓰면 거부가 결과로 바뀌었습니다.
</blockquote>

<blockquote>
오늘은 최근 고친 버그가 있던 파일 하나를 빈 폴더에 복사하고 &#8220;고치지 말고 줄 번호와 이유만&#8221; 물어 보세요.
</blockquote>

안티그래비티 IDE 와 CLI 를 둘 다 써 보신 분은, 같은 요청을 IDE 에서는 권한을 어떻게 묻던가요?

<h2 id="s6">부록: 재현 명령과 출력</h2>

<ol>
  <li><strong>시작 명령.</strong> 이 맥에는 agy 가 이미 깔려 있고 로그인돼 있었습니다(설치는 범위 밖).</li>
</ol>

<pre class="wp-block-code"><code class="language-bash">agy --version
agy models
cd /tmp/agy-howto-1003/new
agy -p "ok 라고만 답해" --model claude-sonnet-4-6</code></pre>

<ol>
  <li><strong>보낸 요청 아홉 개</strong>(순서대로).</li>
</ol>

<figure class="wp-block-table">

<table><thead><tr><th>상황</th><th>보낸 요청(요지)</th><th>걸린 시간</th><th>종료 코드</th><th>결과</th></tr></thead><tbody><tr><td>확인</td><td>기본 모델로 &#8220;ok 라고만 답해&#8221;</td><td>6초</td><td>3</td><td>429 오류, 답 없음</td></tr><tr><td>확인</td><td>같은 요청, Claude Sonnet 4.6</td><td>5초</td><td>0</td><td>ok</td></tr><tr><td>디버깅</td><td>orders.py 버그를 고치지 말고 알려 달라</td><td>13초</td><td>0</td><td>심어 둔 버그 3개 모두 찾음</td></tr><tr><td>새 기능</td><td>현재 폴더에 wordcount.py 를 만들어 달라</td><td>14초</td><td>0</td><td>파일 쓰기 권한 거부, 파일 없음</td></tr><tr><td>새 기능</td><td>파일은 만들지 말고 코드만 출력</td><td>8초</td><td>0</td><td>33줄 코드, 저장해 돌리니 동작</td></tr><tr><td>새 기능</td><td>대소문자와 문장부호를 정리하도록 고쳐 달라</td><td>8초</td><td>0</td><td>37줄 코드, 세는 값이 바로잡힘</td></tr><tr><td>코드 설명</td><td>backup.sh 를 줄마다 설명, 실행하지는 마</td><td>7초</td><td>0</td><td>명령 실행 권한 거부, 답 없음</td></tr><tr><td>코드 설명</td><td>터미널 명령은 쓰지 말고 파일 읽기만</td><td>33초</td><td>0</td><td>8줄 모두 한국어 설명</td></tr><tr><td>코드 설명</td><td>처음 돌리기 전 조심할 점 세 줄</td><td>14초</td><td>0</td><td>삭제 범위 경고 포함 3줄</td></tr></tbody></table>

</figure>

<ol>
  <li><strong>orders.py 직접 실행</strong>(Python 3.14.7). 빈 목록이면 <code>ZeroDivisionError: division by zero</code> 도 따로 확인했습니다.</li>
</ol>

<pre class="wp-block-code"><code>$ python3 orders.py
2000.0
['new']
['new', 'sale']
[10, 11, 12, 13, 14, 15, 16, 17, 18]</code></pre>

<ol>
  <li><strong>JSON 출력</strong>(대화 식별값은 가림). 두 글자 답에도 입력이 10,194 토큰이었고, <code>duration_seconds</code> 는 0.92초인데 명령 전체는 4초였습니다.</li>
</ol>

<pre class="wp-block-code"><code>$ agy -p "ok 라고만 답해" --model gpt-oss-120b-medium --output-format json
{"conversation_id":"(가림)","status":"SUCCESS","response":"ok\n","duration_seconds":0.922087,"num_turns":1,"usage":{"input_tokens":10194,"output_tokens":25,"thinking_tokens":0,"cache_read_tokens":0,"total_tokens":10219}}</code></pre>

<ol>
  <li><strong>확인하지 못한 것.</strong> 요금표와 등급 차이(공식 요금 문서를 열지 않음), 설치 과정, IDE 사용법, 제미나이 모델로 같은 세 상황(이날 429), 파일 쓰기 허용 규칙과 전부 허용 플래그(기본값으로만 진행), <code>--effort</code>, <code>--mode</code>, <code>--sandbox</code>(도움말만 봄), 다른 폴더 대화 직후의 <code>-c</code>, 같은 요청을 다시 보냈을 때 같은 답인지.</li>
  <li><strong>곁가지.</strong> 시간은 초 단위 벽시계라 표의 5초는 실제로 4초대에서 5초대 사이였을 수 있습니다. 규칙 파일 없이도 한국어 요청에는 한국어로 답했습니다. 규칙 파일이 안 읽히는 증상은 <a href="https://blog.wonizz.com/2026/09/19/agents-md-not-loaded/">AGENTS.md 안 읽힐 때 해결 방법 총정리</a>에, 다른 AI 코딩 도구의 무료 범위는 <a href="https://blog.wonizz.com/2026/09/20/cursor-free-limit-check/">커서 AI 무료 한도 총정리, 공식 문서 기준</a>에 있습니다. <code>agy changelog</code> 의 1.2.15 항목에는 크레딧 잔액 부족 문구와 권한 요청 우회 방지 수정이 있었지만, 설치된 1.2.12 기준으로 썼습니다.</li>
  <li><strong>출처.</strong> 직접 재현 2026-10-03 05:13~05:17 KST, macOS 27.0 arm64, agy 1.2.12, <code>/tmp</code> 아래 빈 폴더 세 개, 권한 기본값. <code>agy --help</code>, <code>agy models</code>, <code>agy changelog</code>, <code>agy -p "/usage"</code> 출력은 같은 날 같은 환경.</li>
</ol>

<h2 class="wp-block-heading">함께 보면 좋은 글</h2>
<ul class="wp-block-list"><li><a href="https://blog.wonizz.com/2026/10/03/antigravity-cli-errors/">[AI 코딩] 안티그래비티 오류 7가지, 로그인 안됨과 권한 거부 해결</a></li><li><a href="https://blog.wonizz.com/2026/10/29/vibe-coding-tools-compare/">AI 바이브코딩 툴 셋, 왜 하나만 18초나 걸렸을까</a></li><li><a href="https://blog.wonizz.com/2026/10/10/n8n-install-docker/">n8n 설치, 도커로 30초에 받고 2초 만에 떴다</a></li><li><a href="https://blog.wonizz.com/2026/10/04/claude-code-agent-roles/">[AI 코딩] 클로드 코드 멀티 에이전트, 거짓 6건 뒤 나눈 역할</a></li><li><a href="https://blog.wonizz.com/2026/10/09/ai-agent-build-claude/">[AI 코딩] AI 에이전트 만들기, 고쳤다는데 파일은 그대로였던 일</a></li></ul>

<p class="wp-block-paragraph">AI 도구로 초안을 만들고 직접 실행, 검증한 내용입니다.</p>
<p>The post <a rel="nofollow" href="https://blog.wonizz.com/2026/10/07/antigravity-how-to-use/">[AI 코딩] 안티그래비티 사용법, agy 로 버그 3개 찾기 13초</a> appeared first on <a rel="nofollow" href="https://blog.wonizz.com">WONIZZ.LOG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.wonizz.com/2026/10/07/antigravity-how-to-use/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4212</post-id>	</item>
	</channel>
</rss>
