개요

ElizaOS가 어떤 프레임워크인지 분석하고 간단히 코드 단까지 분석해보는 스터디입니다.

https://github.com/elizaOS/eliza

어떤 프레임워크인가?

한마디로, AI agent를 만들고 다양한 LLM 서비스와 여러 SNS(트위터, 텔레그램, 디스코드 등)를 연동할 수 있는 프레임워크입니다.

아키텍처

image.png

Character JSON

{
	"name": "character_name",
	"clients": ["twitter", "discord", ...],
	"modelProvider": "openai", # or other model provider
	"settings": {
		"voice": {
			"model": "" # video model
		}
	},
	"plugin": [], # describe more
	"bio": [
		"you are agent for blah blah...",
	],
	"lore": [
		"you are ciborg...",
	], # Lore는 작품 내부 설정을 말하는 단어
	"knowledge": [
		"Cultural customs",
	],
	"messageExamples": [],
	"postExamples": [],
	"topics": [],
	"style": {
		// 각 항목에 대한 대화 스타일을 지정. 단어로 정의하듯이
		"all": [
			"Proper",
			"Formal",
			"Slightly anxious"
		],
		"chat": [...],
		"post": [...],
	},
	"adjectives": [
		"Proper",
		"Meticulous",
		...
	]
}