# 코딩 에이전트 사용

## Visual Studio Code에 코딩에이전트 확장 설치

### (방법1) online 설치가 가능한 환경이라면

* 확장 프로그램 설치 메뉴에서 cline for genos 를 찾아 선택합니다.
* 설치를 누릅니다.

<figure><img src="/files/yz4kU08GtTVHlxDRNcPs" alt=""><figcaption></figcaption></figure>

### (방법2) offline 설치 환경이라면

* 아래 설치 파일 vsix파일을 다운로드 받습니다.
* [확장 프로그램 다운로드](https://github.com/mindsandcompany/cline-for-genos/releases/download/v3.35.1/cline-for-genos-3.35.1.vsix)
* visix에서 설치를 누르고, 다운로드 받은 파일을 사용하여 설치합니다.

  <figure><img src="/files/zAQRBAUc7phH9KGHZ6ZG" alt=""><figcaption></figcaption></figure>

## Genos 서빙 API 등록

* 자신의 API 키 사용하기 버튼을 클릭합니다.

  <figure><img src="/files/QtoQ2m52ifJKZ2cZsA5x" alt=""><figcaption></figcaption></figure>
* GenOS의 서빙 url을 입력합니다.
  * 서빙 url은 아래와 같은 형식을 가지고 있습니다.
  * {GenOS 접속주소}/api/gateway/rep/serving/{서빙번호}/v1
  * GenOS 접속주소와 서빙 번호는 사용하시는 환경에 맞게 바꾸어야합니다.
* GenOS 서빙 API Key를 입력합니다.

<figure><img src="/files/cX1jFzwINiXhbZkmBXX7" alt=""><figcaption></figcaption></figure>

## 사용하기

* Plan 모드는 사용자에게 정보 제공만하고 실행은 하지 않습니다.

<figure><img src="/files/xElJ9q36JRQuMajDbglc" alt=""><figcaption></figcaption></figure>

* Act 모드는 연결한 MCP와 터미널 명령을 통해 작업을 직접 수행합니다.

<figure><img src="/files/6lydHEmCwMfZz91oRqUl" alt=""><figcaption></figcaption></figure>

* 다양한 MCP 추가를 통해 코딩 환경을 자동화 할수 있습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://genos-docs.gitbook.io/default/v1.8.4/getting-started/application-use/code-agent-use.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
