본문으로 건너뛰기
Skillpedia
일반 코딩6.3k · #14241

framework

하는 일

Atomic Agents 프레임워크의 주요 구성 요소와 각 부분의 참고 메모를 정리한 개요입니다. 타입이 있는 입력과 출력으로 LLM 앱을 만드는 Python 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓개발자의 프로젝트가 Atomic Agents 프레임워크를 가져와서 올바른 패턴이 필요할 때.
  • ✓개발자가 에이전트, 도구, 컨텍스트 제공자가 어떻게 맞물리는지 묻고 싶을 때.
  • ✓개발자가 AI 제공자를 Atomic Agents 프로젝트에 연결하려 할 때.

스킬 링크

https://github.com/Eigenwise/atomic-agents/blob/main/claude-plugin/atomic-agents/skills/framework/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Eigenwise/atomic-agents/blob/main/claude-plugin/atomic-agents/skills/framework/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 Atomic Agents 프로젝트에서 에이전트, 도구, 스키마는 어떻게 맞물리나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 에이전트, 에이전트 설정, 스키마, 도구 같은 핵심 클래스를 나열하고, 작업에 필요한 각 영역의 집중된 참고 메모를 가리킵니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Atomic Agents Framework

Atomic Agents is a lightweight Python framework for building LLM applications with typed, structured input and output. It layers on top of Instructor and Pydantic so every interaction between user, agent, tool, and context is a validated schema.

This skill orients Claude on the framework and routes to focused reference files as the task requires.

Core abstractions

Concept Class Role
Schema BaseIOSchema Typed input/output contract — every agent/tool I/O is one
Agent AtomicAgent[In, Out] LLM-backed transformer from input schema to output schema
Config AgentConfig Wires client, model, history, prompt, roles, API params
Prompt SystemPromptGenerator Three-section prompt: background, steps, output_instructions
History ChatHistory Conversation state, serializable, token-counted
Tool BaseTool[In, Out] Deterministic capability the agent can invoke
Context BaseDynamicContextProvider Dynamic section injected into the system prompt at runtime

All communication between these uses BaseIOSchema subclasses with docstring-required descriptions.

Canonical imports

from atomic_agents import (
    AtomicAgent, AgentConfig,
    BasicChatInputSchema, BasicChatOutputSchema,
    BaseIOSchema, BaseTool, BaseToolConfig,
)
from atomic_agents.context import (
    ChatHistory, Message,
    SystemPromptGenerator, BaseDynamicContextProvider,
)
# Optional: MCP interop
from atomic_agents.connectors.mcp import fetch_mcp_tools, MCPTransportType

Do not use legacy paths like atomic_agents.lib.base.* or atomic_agents.agents.base_agent — those were retired. Import from the top-level package where possible.

Minimum viable agent

import os, instructor, openai
from atomic_agents import AtomicAgent, AgentConfig, BasicChatInputSchema, BasicChatOutputSchema
from atomic_agents.context import ChatHistory

client = instructor.from_openai(openai.OpenAI(api_key=os.environ["OPENAI_API_KEY"]))

agent = AtomicAgent[BasicChatInputSchema, BasicChatOutputSchema](
    config=AgentConfig(
        client=client,
        model="gpt-5-mini",
        history=ChatHistory(),
    )
)

reply = agent.run(BasicChatInputSchema(chat_message="Hello"))
print(reply.chat_message)

AtomicAgent and BaseTool use PEP 695 generics — the type parameters carry runtime information, so write them explicitly and keep them accurate. Full runnable version: atomic-examples/quickstart/quickstart/1_0_basic_chatbot.py.

Targeted creation skills

For the four most common authoring tasks, dedicated atomic skills give a step-by-step workflow (clarify → write → verify → hand off) instead of just reference material. Prefer them when the user is actively building something specific.

User intent Atomic skill
"create a schema" / "design the input/output schema" atomic-agents:create-atomic-schema
"create an agent" / "add another agent" / "wire up an AtomicAgent" atomic-agents:create-atomic-agent
"add a tool" / "wrap an API as a tool" / "build a BaseTool" atomic-agents:create-atomic-tool
"add a context provider" / "inject X into the prompt" / "wire up RAG" atomic-agents:create-atomic-context-provider
"my agent is broken / crashing / returning garbage" + a traceback or error atomic-agents:troubleshoot

These skills auto-trigger on the matching phrasing. The reference files below are what they (and you) load for deeper material.

Decision routing

Pick the reference file that matches the task. Each is loaded only when read.

Task Reference
Design or validate an input/output schema references/schemas.md
Build, configure, or run an agent references/agents.md
Write a tool the agent will invoke references/tools.md
Inject dynamic data into the system prompt references/context-providers.md
Structure the system prompt references/prompts.md
Coordinate multiple agents references/orchestration.md
Manage conversation state and multi-agent memory references/memory.md
Register telemetry, retries, or logging references/hooks.md
Swap LLM provider or configure roles [references/provi
자주 묻는 질문

Atomic Agents란 무엇인가요?

타입이 있고 검증된 입력과 출력으로 LLM 앱을 만드는 가벼운 Python 프레임워크입니다.

무엇을 기반으로 하나요?

스킬은 Instructor와 Pydantic을 기반으로 한다고 말합니다.

여러 에이전트 구성도 다루나요?

네. 스킬은 여러 에이전트 간의 오케스트레이션을 프레임워크의 일부로 언급합니다.

상세 정보

작성자의 원본 설명

Guide for the Atomic Agents Python framework — schemas, agents, tools, context providers, prompts, orchestration, and provider configuration. Use when code imports from `atomic_agents`, defines an `AtomicAgent`, `BaseTool`, or `BaseIOSchema`, or the user asks about multi-agent orchestration or LLM-provider wiring in an atomic-agents project.

repo: Eigenwise/atomic-agents

인기도

GitHub 스타
6.3k
순위
#14241
라이선스
MIT
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬