0Pricing
AI Agents · 강의

연구의 최전선: AGI와 그 너머

에이전트 견고성, 장기 기억, 다중 에이전트 협업의 미해결 문제를 살펴봅니다.

연구의 최전선: AGI와 그 너머은(는) CoddyKit의 무료 AI Agents 강의입니다. 이것은 4개 중 4번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 AI Agents 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. AI Agents 강의에는 총 4개의 강의가 포함되어 있습니다.

2025년 인공지능 에이전트 현황

2025년 현재 대규모 언어 모델로 구동되는 인공지능 에이전트는 복잡한 다단계 작업을 안정적으로 완료하고, 도구를 사용하며, 여러 양식에 걸쳐 추론하고, 제한적인 감독 아래 작동할 수 있습니다. 그러나 에이전트가 진정한 범용 능력에 도달하기 전에 해결해야 할 근본적인 과제가 아직 여러 가지 남아 있습니다.

이 강의에서는 차세대 인공지능을 정의하는 미해결 연구 분야를 살펴봅니다.

미해결 문제 1: 장기 기억

현재 LLM의 문맥 창은 12만 8천~100만 토큰으로, 인상적이지만 수개월에 걸쳐 진행되는 작업에는 여전히 제한적입니다. 미해결 문제는 중요한 세부 정보를 잃거나 환각을 유발하지 않으면서 진정으로 장기간 이어지는 기억을 안정적으로 압축하고, 검색하고, 추론하는 방법입니다.

# Illustration of long-horizon memory challenges:

LONG_HORIZON_CHALLENGES = {
    'compression': {
        'problem': 'Summarising months of interactions loses nuance',
        'current_approach': 'Hierarchical summarisation (recent detail, old summary)',
        'limitation': 'Important details get compressed away; hallucination risk in summaries'
    },
    'retrieval': {
        'problem': 'Finding the relevant memory among millions of entries',
        'current_approach': 'Embedding-based similarity search (vector databases)',
        'limitation': 'Semantic similarity does not always match relevance; false negatives'
    },
    'reasoning_over_time': {
        'problem': 'Connecting observations from 6 months apart',
        'current_approach': 'Temporal indexing + LLM reasoning',
        'limitation': 'LLMs struggle with precise temporal ordering of distant events'
    }
}

for challenge, details in LONG_HORIZON_CHALLENGES.items():
    print(f'{challenge}: {details["limitation"][:80]}')

미해결 문제 2: 영역 간 견고성

현재 에이전트는 취약합니다. 고객 지원용으로 미세 조정한 에이전트가 새로운 영역(의료, 법률, 기술)에서 비슷한 작업을 수행할 때 실패할 수 있습니다. 진정한 견고성이란 에이전트가 명시적으로 훈련받지 않은 작업과 영역에서도 높은 성능을 발휘하는 것을 의미합니다. 이는 AGI의 핵심 요구 사항입니다.

# Measuring domain robustness
import statistics

def measure_domain_robustness(agent_fn, test_suite: dict) -> dict:
    """
    test_suite: {domain: [(input, expected_output)]}
    Returns per-domain accuracy and overall robustness score.
    """
    domain_scores = {}
    for domain, cases in test_suite.items():
        correct = 0
        for inp, expected in cases:
            result = agent_fn(inp)
            # Simplified scoring: check if expected phrase is in result
            if expected.lower() in result.lower():
                correct += 1
        domain_scores[domain] = round(correct / len(cases), 3)

    scores = list(domain_scores.values())
    return {
        'domain_scores': domain_scores,
        'mean_accuracy': round(statistics.mean(scores), 3),
        'min_accuracy': min(scores),  # robustness = performance on worst domain
        'variance': round(statistics.variance(scores), 4)
    }

# High variance = brittle (good at some domains, bad at others)
# Low variance + high mean = robust

if __name__ == '__main__':
    def toy_agent(inp):
        return {
            '2+2': 'The answer is 4',
            'capital of France': 'Paris is the capital'
        }.get(inp, 'I do not know')

    test_suite = {
        'math': [('2+2', '4')],
        'geography': [('capital of France', 'paris')],
    }
    result = measure_domain_robustness(toy_agent, test_suite)
    print('Domain scores:', result['domain_scores'])
    print('Mean accuracy:', result['mean_accuracy'])

미해결 문제 3: 다중 에이전트 협력

전문화된 에이전트 네트워크는 단일 에이전트의 능력을 넘어서는 작업을 처리할 수 있습니다. 그러나 이들을 조정하기는 어렵습니다. 에이전트는 효율적으로 소통하고, 중복 작업을 피하며, 충돌을 해결하고, 중앙 집중식 병목 없이 진행 상황을 공유해야 합니다.

import anthropic
import json

client = anthropic.Anthropic(api_key='YOUR_API_KEY')

# Simple task negotiation between two agents
def negotiate_task_division(
    task: str,
    agent1_capabilities: list,
    agent2_capabilities: list
) -> dict:
    prompt = (
        f'Task: {task}\n\n'
        f'Agent A capabilities: {agent1_capabilities}\n'
        f'Agent B capabilities: {agent2_capabilities}\n\n'
        'How should this task be divided between Agent A and Agent B?\n'
        'Minimise handoffs. Assign subtasks to the best-suited agent.\n'
        'Return JSON: {"agent_a_tasks": [str], "agent_b_tasks": [str], '
        '"shared_tasks": [str], "handoffs": int}'
    )
    response = client.messages.create(
        model='claude-opus-4-5', max_tokens=512,
        messages=[{'role': 'user', 'content': prompt}]
    )
    return json.loads(response.content[0].text)

# Open research challenge:
# How do agents coordinate without a central planner
# when each has only partial information?

미해결 문제 4: 해석 가능성

대규모 신경망이 특정 결정을 내리는 이유를 아직 안정적으로 설명할 수 없습니다. 해석 가능성 연구는 모델 내부의 회로, 개념, 추론 패턴을 식별하는 것을 목표로 합니다. 해석 가능성이 없다면 정렬과 안전성은 전적으로 행동 검증에 의존하게 되며, 행동 검증만으로는 모든 실패 유형을 포착할 수 없습니다.

# Practical interpretability techniques available today:

INTERPRETABILITY_TECHNIQUES = {
    'chain_of_thought': {
        'description': 'Ask model to show reasoning steps',
        'limitation': 'CoT may not reflect true internal computation',
        'example': 'Q: Why did you choose action X? A: Because...'
    },
    'attention_visualisation': {
        'description': 'Show which input tokens the model attended to most',
        'limitation': 'Attention != causation; incomplete explanation',
        'example': 'Highlight most attended tokens in a response'
    },
    'logit_lens': {
        'description': 'Read out predictions at each transformer layer',
        'limitation': 'Requires model internals access (not API-accessible)',
        'example': 'Prediction at layer 12 vs layer 24'
    },
    'activation_patching': {
        'description': 'Intervene on specific neurons to find causal circuits',
        'limitation': 'Research technique, not yet practical in production',
        'example': 'Anthropic mechanistic interpretability research'
    }
}

for technique, info in INTERPRETABILITY_TECHNIQUES.items():
    print(f'{technique}: {info["limitation"][:80]}')

현재 상태: 2025년 모델의 능력

2025년 최첨단 모델(GPT-4o, 클로드 오푸스 4, 제미나이 1.5 프로)은 긴 문맥에 대한 다단계 추론, 신뢰할 수 있는 도구 사용, 시각 및 오디오 이해, 많은 전문 평가 기준에서 인간에 가까운 성능, 제한적이지만 실제로 가능한 코드 생성 및 오류 수정을 보여 줍니다.

CAPABILITY_MAP_2025 = {
    'strengths': [
        'Multi-step reasoning (GSM8K, MATH near human performance)',
        'Code generation (HumanEval >90%)',
        'Instruction following (complex multi-part prompts)',
        'Tool use (reliable function calling)',
        'Vision understanding (OCR, chart analysis, scene description)',
        'Context: 128K-1M tokens',
        'Multi-agent orchestration (AutoGen, CrewAI frameworks)'
    ],
    'limitations': [
        'Long-horizon planning (>20 steps degrades significantly)',
        'Reliable factual grounding without hallucination',
        'Consistent reasoning in out-of-distribution domains',
        'True causal reasoning (vs pattern matching)',
        'Self-knowledge of own uncertainty',
        'Physical world understanding without embodiment'
    ]
}

print('Strengths:', len(CAPABILITY_MAP_2025['strengths']))
print('Active limitations:', len(CAPABILITY_MAP_2025['limitations']))

AGI로 가는 길: 핵심 연구 영역

연구자들은 어떤 능력을 갖춰야 인공 일반 지능으로 인정할 수 있는지에 대체로 동의합니다. 시스템은 적은 수의 예시에서 효율적으로 학습하고, 여러 영역에 걸쳐 폭넓게 일반화하며, 단순한 상관관계가 아니라 인과적으로 추론하고, 개방형 환경에서 견고하게 작동해야 합니다.

AGI_RESEARCH_AREAS = {
    'sample_efficiency': {
        'question': 'How to learn from 10 examples what LLMs need 10M for?',
        'approaches': ['meta-learning', 'few-shot learning', 'in-context learning']
    },
    'causal_reasoning': {
        'question': 'How to distinguish correlation from causation reliably?',
        'approaches': ['causal graphs', 'do-calculus integration', 'intervention-based training']
    },
    'open_world_operation': {
        'question': 'How to act effectively in environments not seen during training?',
        'approaches': ['world models', 'imagination-based planning', 'transfer learning']
    },
    'recursive_self_improvement': {
        'question': 'Can an agent improve its own architecture safely?',
        'approaches': ['neural architecture search', 'prompt optimisation', 'constrained self-modification']
    }
}

for area, info in AGI_RESEARCH_AREAS.items():
    print(f'{area}: {info["question"][:70]}')

에이전트 개발자를 위한 실용적 시사점

연구의 최전선을 이해하면 더 나은 공학적 결정을 내릴 수 있습니다. 추론을 검사할 수 있도록 사고 연쇄를 사용하고, 새로운 영역에서 안전하게 성능이 저하되도록 에이전트를 설계하며, 장기간 이어지는 작업에는 인간의 감독을 포함하고, 가능하면 더 단순한 구조를 우선하십시오. 단순한 시스템일수록 실패 양상을 더 예측하기 쉽습니다.

ENGINEERING_PRINCIPLES_FROM_RESEARCH = {
    'long_horizon_memory': (
        'Use hierarchical summaries + vector retrieval. '
        'Set a hard context age limit and revalidate critical facts. '
        'Never trust old memories without verification.'
    ),
    'domain_robustness': (
        'Evaluate your agent on held-out domains before production. '
        'Monitor domain distribution of production inputs. '
        'Fall back to human when input is out-of-distribution.'
    ),
    'multi_agent': (
        'Minimise inter-agent communication. '
        'Use shared state (not message passing) where possible. '
        'Assign clear non-overlapping scopes to each agent.'
    ),
    'interpretability': (
        'Always request chain-of-thought for high-stakes decisions. '
        'Log all tool calls and intermediate reasoning steps. '
        'Build anomaly detection on the CoT stream, not just final output.'
    )
}

for principle, guidance in ENGINEERING_PRINCIPLES_FROM_RESEARCH.items():
    print(f'{principle}: {guidance[:80]}...')

창발적 능력과 예상 밖의 결과

창발적 능력은 명시적으로 훈련받지 않았는데도 더 큰 모델에서 예기치 않게 나타나는 능력입니다. 예를 들면 문맥 내 학습, 산술, 사고 연쇄 추론이 있습니다. 이러한 능력 때문에 능력의 발전을 예측하기가 어려우며, 다음 혁신은 모두를 놀라게 할 수 있습니다.

# Historical emergent capability timeline (approximate):
EMERGENCE_TIMELINE = [
    {'year': 2020, 'scale': 'GPT-3 (175B)',
     'emergent': 'Few-shot in-context learning without fine-tuning'},
    {'year': 2022, 'scale': 'PaLM (540B)',
     'emergent': 'Chain-of-thought reasoning with step-by-step prompts'},
    {'year': 2023, 'scale': 'GPT-4',
     'emergent': 'Reliable code generation, bar exam performance'},
    {'year': 2024, 'scale': 'Claude 3 Opus, GPT-4o',
     'emergent': 'Reliable multi-step tool use, vision-language integration'},
    {'year': 2025, 'scale': 'Claude Opus 4, GPT-4o class',
     'emergent': 'Extended multi-agent task delegation, agentic autonomy'}
]

for entry in EMERGENCE_TIMELINE:
    print(f'{entry["year"]} ({entry["scale"]}): {entry["emergent"]}')

print('\nKey insight: capabilities can appear suddenly as scale increases — '
      'current limitations may not be permanent.')

안전성 연구 현황

안전성 연구는 능력 연구와 병행하여 진행됩니다. 현재 활발한 주요 연구 분야는 확장 가능한 감독(우리보다 똑똑한 에이전트를 어떻게 감독할 것인가), 토론(두 에이전트가 논쟁하고 인간이 판정), 증폭(인간이 인공지능을 평가하도록 돕는 데 인공지능을 재귀적으로 사용), 해석 가능성(모델이 내부적으로 무엇을 하는지 이해)입니다.

SAFETY_RESEARCH_AREAS = {
    'scalable_oversight': (
        'Challenge: how do humans supervise agents that are better than us at the task?\n'
        'Approach: break tasks into verifiable sub-problems humans can check\n'
        'Status: active research at Anthropic, DeepMind, OpenAI'
    ),
    'debate': (
        'Challenge: finding truth when the agent is more capable than the evaluator\n'
        'Approach: two AI agents argue for different answers; human judges quality of argument\n'
        'Status: theoretical framework, limited empirical results'
    ),
    'weak_to_strong_generalization': (
        'Challenge: a weak supervisor training a stronger model\n'
        'Approach: show strong model responses can be elicited by weak supervision\n'
        'Status: OpenAI 2024 paper showed promising early results'
    ),
    'interpretability': (
        'Challenge: understanding neural network internals\n'
        'Approach: mechanistic interp, sparse autoencoders, circuit analysis\n'
        'Status: Anthropic found emotion-like representations in Claude'
    )
}

for area, desc in SAFETY_RESEARCH_AREAS.items():
    print(f'{area}:')
    print(f'  {desc.split(chr(10))[0]}')

에이전트 개발자로서 나아갈 길

인공지능 에이전트 분야는 빠르게 발전하고 있습니다. 앞으로 성공하는 개발자는 연구 동향을 계속 파악하고, 감독과 정렬을 염두에 두고 책임감 있게 개발하며, 점진적으로 성능이 저하되도록 설계하고, 에이전트를 단순한 소프트웨어가 아닌 사회기술적 시스템으로 바라보는 사람일 것입니다.

DEVELOPER_ROADMAP = {
    'immediate': [
        'Master prompt engineering + few-shot design',
        'Build reliable tool-use agents with retry + error handling',
        'Implement proper logging, monitoring, and human oversight',
        'Study agent frameworks: LangChain, AutoGen, CrewAI'
    ],
    'next_6_months': [
        'Build multi-agent systems with clear agent scopes',
        'Implement vector memory + episodic reflection',
        'Contribute to open-source agent tooling',
        'Run proper evals: domain robustness, alignment red-teaming'
    ],
    'long_term': [
        'Follow interpretability research (Anthropic, DeepMind papers)',
        'Engage with alignment research community',
        'Build agents that remain human-overseen as capability grows',
        'Contribute to safety-conscious deployment standards'
    ]
}

for horizon, items in DEVELOPER_ROADMAP.items():
    print(f'{horizon}:')
    for item in items:
        print(f'  - {item}')

지식 확인

대규모 언어 모델의 맥락에서 창발적 능력이라는 용어는 무엇을 의미합니까?

복습: 연구의 최전선, AGI, 그리고 그 너머

전체 인공지능 에이전트 과정 시리즈를 완료하신 것을 축하드립니다! 이번 강의의 최종 핵심 내용은 다음과 같습니다.

  • 미해결 문제: 장기 기억, 영역 간 견고성, 다중 에이전트 협력, 해석 가능성
  • 현재의 강점(2025년): 도구 사용, 시각 이해, 추론, 100만 토큰 문맥
  • AGI로 가는 길: 표본 효율성, 인과적 추론, 개방형 세계에서의 작동
  • 안전성 연구: 확장 가능한 감독, 토론, 약한 모델에서 강한 모델로의 일반화, 해석 가능성
  • 여러분의 역할: 책임감 있게 개발하고, 지속적으로 모니터링하며, 모든 수준에서 인간의 감독을 고려해 설계하기

인공지능 에이전트 교육 과정을 완료해 주셔서 감사합니다. 이제 정교하고 안전하며 유능한 에이전트 시스템을 구축할 준비가 되었습니다.

자주 묻는 질문

“연구의 최전선: AGI와 그 너머” 강의는 무료인가요?

네 — “연구의 최전선: AGI와 그 너머” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 AI Agents 강의 전체를 잠금 해제할 수 있습니다. AI Agents 강의에는 총 4개의 강의가 포함되어 있습니다.

“연구의 최전선: AGI와 그 너머”에서 뭘 배우나요?

에이전트 견고성, 장기 기억, 다중 에이전트 협업의 미해결 문제를 살펴봅니다. 브라우저에서 직접 실행하는 실습 코드로 AI Agents을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.

AI Agents을(를) 시작하는 데 경험이 필요한가요?

사전 경험은 필요하지 않습니다. CoddyKit의 AI Agents은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 4번째 강의입니다.

“연구의 최전선: AGI와 그 너머” 강의는 얼마나 걸리나요?

대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.

이 AI Agents 강의에서 코드를 작성하고 실행할 수 있나요?

네. 모든 AI Agents 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.

이 강의의 모든 강의

  1. 도우미에서 자율 에이전트로
  2. 세계 모델과 예측 계획
  3. 자율 에이전트의 정렬 과제
  4. 연구의 최전선: AGI와 그 너머
← AI Agents(으)로 돌아가기