
gkvoelkl/python-selma
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Agent Selma - Python과 Ollama와 OpenClaw의 구현
개요
openClaw 프로젝트의 단순하고 교육적인 단순화입니다. 주요 목표는 스크래치를 사용하여 스크래치에서 재구성하여 자율주행의 기본 아키텍처를 파악하고 이해하는 것입니다. Selma는 단지를 벗기면 에이전트 구성 요소가 어떻게 상호 작용하는지 학습하기 위해 깨끗한 baseline 역할을합니다. Selma는 생산 사용을 위해 강하게 하지 않습니다. 보안 감사, SLA 보증 및 안정성 또는 정정의 보증이 없습니다. 당신의 위험에 사용. uv는 설치되어야 합니다. 아직 없다면: (국적 모델) - 다운로드 및 ollama.com에서 설치 한 다음 모델을 당겨: Ollama는 설치 후 자동으로 배경 서비스로 실행됩니다. 실행을 검증: 브라우저 도구 (Playwright)의 경우 Chromium을 한 번 설치하십시오. .selma/ 디렉토리를 만들려면 설정 스크립트를 실행하고 기본 selma.json을 생성하고, 작업 공간에 기술 및 템플릿을 배치하십시오
개요(AI 번역)
“Toy” 파이썬과 OpenClaw 구현
# # . # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Agent Selma는 OpenClaw 프로젝트의 단순하고 교육적인 단순화입니다.
1차 목표는 Python를 사용하여 스크래치에서 재구성하여 자율주행의 기본 아키텍처를 파악하고 이해합니다. Selma는 단지를 벗기면 에이전트 구성 요소가 어떻게 상호 작용하는지 학습하기 위해 깨끗한 baseline 역할을합니다.
[!수신] 이것은 학습 목적으로만 하는 장난감 프로젝트입니다. Selma는 생산 사용을 위해 강하게 하지 않습니다. 보안 감사, SLA 보증 및 안정성 또는 정정의 보증이 없습니다. **이 모든 생산 또는 상업 환경에서 사용하지 마십시오. ** 당신의 위험에 사용.
기술 더미
| 구성요소 | 도서관 | |—||| | 언어 | Python 3.13+ | | LLM API | 오라마(현지) 또는 OpenAI 호환 API | | Agent Framework | Pydantic AI는 왜 사용되지 않았는지 확인합니다 | | 게이트웨이 | FastAPI+Uvicorn | | 대시보드 | Streamlit | | 텔레그램 채널 | python-telegram-bot | 인포메이션 | 인포메이션 | 웹 툴 | Playwright, Trafilatura, DDGS | | 영감 | OpenClaw / 참관객 |
♨ 설치
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Agent Selma 👩🏻
A “Toy” Implementation of OpenClaw with Python
🌟 Overview
Agent Selma is a simplified, educational reimplementation of the OpenClaw project.
The primary goal is to deconstruct and understand the underlying architecture of autonomous agents by rebuilding them from scratch using Python. By stripping away complexity, Selma serves as a clean baseline for learning how agentic components interact.
[!WARNING] This is a toy project for learning purposes only. Selma is not hardened for production use. There are no security audits, no SLA guarantees, and no guarantees of stability or correctness. Do not use this in any production or commercial environment. Use at your own risk.
🛠 Tech Stack
| Component | Library |
|---|---|
| Language | Python 3.13+ |
| LLM API | Ollama (local) or any OpenAI-compatible API |
| Agent Framework | Pydantic AI — see why it wasn’t used |
| Gateway | FastAPI + Uvicorn |
| Dashboard | Streamlit |
| Telegram Channel | python-telegram-bot |
| Tracing | OpenTelemetry + Arize Phoenix |
| Web tools | Playwright, Trafilatura, DDGS |
| Inspiration | OpenClaw / PI-Agent |
🚀 Installation
Prerequisites: uv must be installed. If you don’t have it yet:
pip install uv
git clone https://github.com/YOUR_USERNAME/agent-selma.git
cd agent-selma
uv sync
Ollama (for local models) — download and install from ollama.com, then pull a model:
ollama pull llama3.2 # recommended default (~2 GB)
ollama pull qwen2.5:14b # more capable, requires ~9 GB RAM
Ollama runs as a background service automatically after installation. Verify it is running:
ollama list
For the browser tool (Playwright), install Chromium once:
uv run playwright install chromium
⚙️ Configuration
Run the setup script once to create the .selma/ directory, generate a default selma.json, and deploy skills and templates into the workspace:
uv run setup.py
The script is safe to re-run — it never overwrites existing files.
The generated .selma/selma.json contains all available options with their defaults. The most important setting is the model:
"model": {
"model": "ollama/llama3.1",
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add gkvoelkl/python-selma