๋ค์๋ค์ ๊ฐ์ด๋
์์คํ ํ๋กฌํํธ ์ค๋ช
์ธ์ด AI
์ธ์ด AI ๊ฐ์ด๋
ํ๋กฌํํธ ์ฐ๊ฒฐ์ ์์ ์ ๋ ์์ ํ๋กฌํํธ์ ๊ณ ์ ๋ ์์๋ก ๋๋๋ฉฐ ๊ฐ ๋จ๊ณ์ ์ถ๋ ฅ์ด ๋ค์ ๋จ๊ณ์ ์ ๋ ฅ์ด ๋ฉ๋๋ค(์: ์ถ์ถ, ๋ถ์, ์ด์).
์ด ๊ฐ์ด๋๋ฅผ ๋ค์ด๋ณด์ธ์AI ๋ด๋ ์ด์ ยท ~3 min
์ด๋ LLM ์์ ์ ํ๋์ ๊ฑฐ๋ํ ํ๋กฌํํธ๋ณด๋ค ๋ ์์ ์ ์ด๊ณ ๋๋ฒ๊ทธํ๊ธฐ ์ฝ๊ฒ ๋ง๋ญ๋๋ค. ๋ํ ๊ฐ๋ฐ์๊ฐ ๋ชจ๋ธ์ด ์๋ ๋จ๊ณ๋ฅผ ๊ฒฐ์ ํ๊ธฐ ๋๋ฌธ์ ์์จ ์์ด์ ํธ๋ณด๋ค ์์ธก ๊ฐ๋ฅ์ฑ์ด ๋ ๋์ต๋๋ค.
๋จ์ผ ๋ฉ๊ฐ ํ๋กฌํํธ๋ ๋ชจ๋ธ์๊ฒ ์์ค ์ฝ๊ธฐ, ์ฌ์ค ์ถ์ถ, ์ถ๋ก , ์คํ์ผ ๊ท์น ์ค์, ๋ต๋ณ ํ์ ์ง์ ๋ฑ ๋ชจ๋ ์์ ์ ๋์์ ์ํํ๋๋ก ์์ฒญํฉ๋๋ค. ๊ฐ๊ฐ์ ์ถ๊ฐ ์์๋ ๊ด์ฌ์ ๋๊ธฐ ์ํด ๊ฒฝ์ํฉ๋๋ค. ์ถ๋ ฅ์ด ์๋ชป๋ ๊ฒฝ์ฐ ์ด๋ ๋ถ๋ถ์ด ๊ณ ์ฅ๋ฌ๋์ง ์ ์ ์์ต๋๋ค. ํ๋กฌํํธ ์ฒด์ธ์ ์์ ์ ์ฌ๋ฌ ๋จ๊ณ๋ก ๋๋๊ณ ๊ฐ ๋จ๊ณ์๋ ํ๋์ ๋ช ํํ ์์ ์ด ์์ต๋๋ค. ์ผ๋ฐ์ ์ธ ์ฒด์ธ์๋ ์ธ ๊ฐ์ง ๋จ๊ณ๊ฐ ์์ต๋๋ค. 1. ๋ฌธ์์์ ๊ด๋ จ ๊ฒฌ์ ์ ์ถ์ถํฉ๋๋ค. 2. ํด๋น ์ธ์ฉ๋ฌธ๋ง ์ฌ์ฉํ์ฌ ์ง๋ฌธ์ ๋ตํ์ธ์. 3. ์ธ์ฉ๋ฌธ๊ณผ ๋น๊ตํ์ฌ ๋ต๋ณ์ ํ์ธํ๊ณ ์ฒญ์ค์ ์ํด ๋ค์ ์์ฑํ์ญ์์ค. ์ผ๋ฐ ์ฝ๋๋ ๋จ๊ณ ์ฌ์ด์ ์ถ๋ ฅ์ ํ์ธํ ์ ์์ต๋๋ค. JSON์ ๊ตฌ๋ฌธ ๋ถ์ํ๊ณ , ํ์ ํ๋๊ฐ ์กด์ฌํ๋์ง ํ์ธํ๊ฑฐ๋, ๋ถ๋ฅ์๊ฐ ๋ฎ์ ์ ๋ขฐ๋๋ฅผ ๋ฐํํ๋ ๊ฒฝ์ฐ ์ฒด์ธ์ ์ค์งํ ์ ์์ต๋๋ค. Anthropic์ 2024๋ 12์ ์์ธ์ด "Building Effective Agents"์์๋ ์ด๋ฌํ ์ ๊ฒ์ "๊ฒ์ดํธ"๋ผ๊ณ ๋ถ๋ฆ ๋๋ค. ๊ฐ ํธ์ถ์ด ๋ ์ฌ์ด ์์ ์ด ๋๊ธฐ ๋๋ฌธ์ ๋ ๋์ ์ ํ๋๋ฅผ ์ํด ์ถ๊ฐ ๋๊ธฐ ์๊ฐ์ ๊ตํํ๋ ์ํฌํ๋ก๋ก ํ๋กฌํํธ ์ฐ๊ฒฐ์ ์ค๋ช ํฉ๋๋ค. ์ฒด์ธ๊ณผ ์์ด์ ํธ๋ ๊ฒฝ๋ก๋ฅผ ์ ์ดํ๋ โโ์ฌ๋์ด ๋ค๋ฆ ๋๋ค. ์ฒด์ธ์์ ๊ฐ๋ฐ์๋ ์ํ์ค๋ฅผ ํ๋ ์ฝ๋ฉํฉ๋๋ค. ์์ด์ ํธ์์ ๋ชจ๋ธ์ ๋ฐํ์ ์ ๋ค์์ ํธ์ถํ ๋๊ตฌ์ ์๋ฃ ์๊ธฐ๋ฅผ ๊ฒฐ์ ํฉ๋๋ค. ์ฒด์ธ์ ํ ์คํธ ๋น์ฉ์ด ์ ๋ ดํ๊ณ ์ค๋ช ํ๊ธฐ ์ฌ์ฐ๋ฉฐ ์์ธก ๊ฐ๋ฅํ ์์น์์ ์คํจํฉ๋๋ค. ์์ด์ ํธ๋ ๋จ๊ณ๋ฅผ ๋ฏธ๋ฆฌ ์ ์ ์๋ ๊ฐ๋ฐฉํ ๋ฌธ์ ์ ์ ํฉํฉ๋๋ค. ๋ง์ ์์ฐ ์์คํ ์ ์์ด์ ํธ๊ฐ ์๋ ์ฒด์ธ์ด๋ฉฐ ๋๋ก๋ ๋ณ๋ ฌ๋ก ์คํ๋๋ ๋ถ๊ธฐ(๋ผ์ฐํ ) ๋๋ ๋จ๊ณ๊ฐ ์์ต๋๋ค. ์ผ๋ฐ์ ์ผ๋ก ์ธ ๊ฐ์ง ์คํด๊ฐ ์์ต๋๋ค. - ์ฒด์ธ ์ฐ๊ฒฐ์๋ ํญ์ ๋น์ฉ์ด ๋ ๋ง์ด ๋ญ๋๋ค. ์ค์ ๋ก ์์ ์ด์ ์ ํ๋กฌํํธ๋ ์ฌ์ด ๋จ๊ณ๋ฅผ ์ํด ๋ ์ ๋ ดํ ๋ชจ๋ธ์ ์ฌ์ฉํ ์ ์์ต๋๋ค. - ๋ ๋ง์ ๋จ๊ณ๊ฐ ํญ์ ๋ ์ข์ต๋๋ค. ํธ๋์คํํ ๋๋ง๋ค ์ ๋ณด๊ฐ ์์ค๋๊ฑฐ๋ ๋ณตํฉ์ ์ธ ์ค๋ฅ๊ฐ ๋ฐ์ํ ์ ์์ต๋๋ค. - ์ฒด์ด๋์๋ ํ๋ ์์ํฌ๊ฐ ํ์ํฉ๋๋ค. LangChain์ ๊ฐ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ ๋์ฐ๋ฏธ๋ฅผ ์ ๊ณตํ์ง๋ง ์ฒด์ธ์ ๋ฌธ์์ด์ด๋ JSON์ ์ ๋ฌํ๋ ๋ช ๊ฐ์ง ํจ์ ํธ์ถ์ผ ๋ฟ์ ๋๋ค.
A legal team handles contracts in three calls. The first extracts clauses into JSON, the second flags clauses that differ from a standard template, and the third writes a plain-English summary of only the flagged items.
A marketing workflow first generates a blog outline. A code check confirms the outline covers the required keywords, and then each section is written in a separate call so long articles stay coherent.
A support tool first classifies an incoming email as billing, bug or cancellation. It then sends the email to a category-specific prompt with the right policy text attached, which is a chain with a branch.
A researcher summarizes 20 papers one at a time, then passes the 20 summaries to a final prompt that compares their methods. This keeps any single call from being overloaded with context.
Frameworks increasingly represent chains as explicit graphs of steps. That makes it easier to add branches, retries and points where a person reviews the output. As models handle longer contexts and follow complex instructions better, some chains that exist only to work around model limits may merge back into single calls. Others will stay, because they offer inspection points, compliance checks and cost control that one call cannot. The field is settling on a practical middle ground: use fixed chains where the steps are known, and save agent autonomy for tasks that truly need it.
๋ฌด๋ฃ ๋ด์ค๋ ํฐ
๋งค์ฃผ ํ์ผ ์์นจ๋ง๋ค 3๊ฐ์ ๊ฒ์ฆ๋ AI ์คํ ๋ฆฌ๋ฅผ ์ผ๋ฐ ์์ด๋ก ์์ฑํฉ๋๋ค. ๋ฌด๋ฃ์ด๋ฉฐ, ๊ด๊ณ ์์.
๋งค์ฃผ ํ์ผ๋ง๋ค ํ ๋ฒ ์ด๋ฉ์ผ์ ๋ฐ์ต๋๋ค. ํ ๋ฒ ํด๋ฆญ์ผ๋ก ๊ตฌ๋ ํด์ง. ์ฃผ์๋ฅผ ํ๋งคํ๊ฑฐ๋ ๊ณต์ ํ์ง ์์ต๋๋ค.
์์ ์ ํ ์คํธํด ๋ณด์ธ์
๋ชจ๋ ๋ต๋ณ์ ์ฆ๊ฐ์ ์ธ ํผ๋๋ฐฑ๊ณผ, ๊ณผ์ ์ ํต๊ณผํ๋ฉด ๊ฒ์ฆ ๊ฐ๋ฅํ ID๊ฐ ์๋ ๊ณต์ ๊ฐ๋ฅํ ์ธ์ฆ์๋ฅผ ์ ๊ณตํฉ๋๋ค.
๋ฌด๋ฃ AI ๊ต์ก์ ์ง์ํฉ๋๋ค. AI Understanding๋ 501(c)(3) ๋น์๋ฆฌ ๋จ์ฒด์ ๋๋ค โ ๊ด๊ณ ์์, ์ ๋ฃ ์ฅ๋ฒฝ ์์, ์์ํ. ๊ธฐ๋ถํ๊ธฐ
ํ๋กฌํํธ ์ฐ๊ฒฐ์ ์์ ์ ๋ ์์ ํ๋กฌํํธ์ ๊ณ ์ ๋ ์์๋ก ๋๋๋ฉฐ ๊ฐ ๋จ๊ณ์ ์ถ๋ ฅ์ด ๋ค์ ๋จ๊ณ์ ์ ๋ ฅ์ด ๋ฉ๋๋ค(์: ์ถ์ถ, ๋ถ์, ์ด์). ์ด๋ LLM ์์ ์ ํ๋์ ๊ฑฐ๋ํ ํ๋กฌํํธ๋ณด๋ค ๋ ์์ ์ ์ด๊ณ ๋๋ฒ๊ทธํ๊ธฐ ์ฝ๊ฒ ๋ง๋ญ๋๋ค. ๋ํ ๊ฐ๋ฐ์๊ฐ ๋ชจ๋ธ์ด ์๋ ๋จ๊ณ๋ฅผ ๊ฒฐ์ ํ๊ธฐ ๋๋ฌธ์ ์์จ ์์ด์ ํธ๋ณด๋ค ์์ธก ๊ฐ๋ฅ์ฑ์ด ๋ ๋์ต๋๋ค.
Chaining splits a task into ordered stages, and each stage passes its output forward as the next stage's input.
Who controls the path is the key difference. A chain follows a sequence the developer wrote. An agent chooses its actions while it runs.
Gates are checks in ordinary code, such as validating JSON or a confidence score, that decide whether the chain continues.
Each call becomes an easier task, which improves accuracy, but running several calls in sequence takes longer.
0.95 multiplied by itself four times is about 0.81. That is why errors compound and gates matter.
๊ณ์ ํ์ตํ์ธ์
์ด ์ฃผ์ ์ ๋ํด ์ ํ๋ ์ถ๊ฐ ๊ฐ์ด๋
๋ค์๋ค์ ๊ฐ์ด๋
์์คํ ํ๋กฌํํธ ์ค๋ช
์ธ์ด AI