DEV Community

Anchovy
Anchovy

Posted on

Dasan. 1

English

Why I'm Building My Own Agent: Meet "Dasan"

Instead of relying on ready-made agent systems built by others—like OpenClaw or Claude Code—I decided to build my own agent from the ground up, one I could shape and tune exactly to my taste. That's how this project began.

Its name is Dasan.

The name comes from the pen name of 'Jeong Yak-yong', the great Joseon-era scholar. He was, in a sense, King Jeongjo's finest "agent." I borrowed the name hoping that Dasan would become the finest agent for me, too.

Dasan runs on an LLM powered by Codex OAuth. This is the inevitable fate of a broke developer who can't afford to burn through API costs freely. Codex OAuth lets you squeeze value out of a subscription plan, so I built Dasan on top of it.

Korean

OpenClaw, Claude Code 와 같은 누군가가 개발해주는 agent 시스템이 아니라. 내가 스스로 agent 를 만들고 입맛에 맞게 조절을 하고 싶어서 Agent 개발을 시작했다.

이름은, 다산.

다산 정약용의 호에서 따왔다. 정조의 최고의 역할을 했던 Agent(?)가 내게도 최고의 Agent 가 되길 바라는 마음에서 따왔다.

Dasan의 기본적인 LLM은 codex O auth를 이용한다. 이는 API 비용을 넉넉하게 사용할 수 없는 가난한 개발자의 어쩔 수 없는 운명이다. Codex Oauth 는 구독제 내에서 쌀먹이 가능하니 이걸 기반으로 개발되었다.

Dasan

LLM으로 로컬 파일을 제어하는 개인 에이전트 하네스 "질문 → 도구(탐색·읽기·수정·명령 실행)로 프로젝트 작업 → 답변" ReAct 루프를 끝까지 돌리고 대화는 단일 세션으로 SQLite(~/.dasan/sessions.db)에 계속 이어진다. 시스템 프롬프트는 불변 역할(CORE)과 학습되는 사용자 정렬(ALIGNMENT) 2겹.

인증: OpenAI(ChatGPT 구독) OAuth — Codex CLI의 "Sign in with ChatGPT" 플로우를 재사용 (개인용).

설치 (다른 컴퓨터 — 한 줄 전역 설치)

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/AnchovyPark/Dasan/main/install.sh | bash
Enter fullscreen mode Exit fullscreen mode
# Windows PowerShell
irm https://raw.githubusercontent.com/AnchovyPark/Dasan/main/install.ps1 | iex
Enter fullscreen mode Exit fullscreen mode

GitHub에서 최신 코드를 받아 pipx로 전역 설치하고 dasan 명령을 PATH에 놓는다. 설치 후 새 터미널에서 dasan logindasan start. (pipx가 없으면 스크립트가 알아서 깔아준다.)

개발 (이 리포에서 직접 수정)

pip install -e .        # editable 설치 — 소스 수정이 즉시 반영됨
dasan login             # 브라우저 로그인 (최초 1회)
Enter fullscreen mode Exit fullscreen mode

python -m agent.main <인자> 로도 동일하게 동작한다.

사용

dasan                          # 채팅 TUI (CC 스타일,
Enter fullscreen mode Exit fullscreen mode

Top comments (0)