LLM AI Agent toy project - #2 Tool call
·
LLM AI Agent
목표LLM이 필요한 도구를 직접 골라 실행할 수 있게끔 Agent 설계 코드코드 링크: https://github.com/ybjeon/ai-agent-toyproject/blob/main/test_toolcall.py 1) test_toolcall.py - get_today_schedule() Tool call 정의 from langchain_core.tools import tool@tooldef get_today_schedule() -> dict: """Retrieve today's calendar schedule.""" today = TODAY # str(date.today()) events = FAKE_CALENDAR.get(today, []) return { "d..
LLM AI Agent toy project - #1 기본 LLM 테스트
·
LLM AI Agent
목표Single-turn 테스트Multi-turn 테스트Embedding vector 테스트코드코드 링크: https://github.com/ybjeon/ai-agent-toyproject/blob/main/test_llm.py$ python test_llm.py결과Single-turn 테스트=== Single Turn Test ===>>>>>>> User: Hello! Introduce yourself briefly.Assistant: Hello there! I am a large language model trained by Mistral AI, designed to assist with a wide range of tasks and provide engaging conversation. I don..
LLM AI Agent toy project - #3 MCP Server 예제 (python FastMCP)
·
LLM AI Agent
목표FastMCP를 이용해서 LLM에 MCP server 연결해보기코드코드 링크: https://github.com/ybjeon/ai-agent-toyproject$ python mcp_server.py - MCP 서버 실행$ python test_mcp.py- MCP 클라 실행 mcp_server.pyfrom mcp.server.fastmcp import FastMCPmcp = FastMCP("example-server")@mcp.tool()def add(a: int, b: int) -> int: """ Add two numbers. Args: a: first number b: second number """ return a + bmcp server에..
OpenClaw의 등장과 Claw-like Agent의 보안 문제
·
AI Agent Security
참고 자료SafeClawBench: An Operating-System Perspective on Evaluating the Security of Claw-like Agent Systems, https://openreview.net/forum?id=pJJLXWy0MC SafeClawBench: An Operating-System Perspective on Evaluating the...Claw-like AI agents (e.g., OpenClaw) are always-on processes running inside the user's environment with persistent access to credentials, files, tools, and external services, functi..
개인 서버 CLI에 Claude Code + Discord - #1 기본 연결
·
Dev
목표IP 사람들이 많이 쓰고 있다는 "CLI에 Coding agent 연결하기"코드코드 링크: https://github.com/ybjeon/claude-discord-bot버전: tag/v1.0.01. Claude code 설치# 공식 설치 스크립트curl -fsSL https://claude.ai/install.sh | zsh# 또는 npm 방식npm install -g @anthropic-ai/claude-code1. Account로 로그인 선택https://code.claude.com/docs/en/security)*추후 관련글 (AI Agent Security) 작성 예정 #todo간단하게 명령 실행: what's my last commit?2. Discord 연결출처: https://disco..
26.05.12 트로이목마 실제 해킹 사례: Trojan:Script/Wacatac.B!ml
·
Security
26.05.12 지인으로부터 자신의 인스타와 디스코드가 해킹 당했다는 얘기를 들었다.똑똑한 개발자 친구인데 왜 해킹을 당했을까 하니.. 개발하다 심신이 지쳐 게임 분석 데이터를 무료로 다운받을 수 있다는 말에 혹해 자신의 Powershell에 코드를 입력한게 화근이였을거라고 추측했다. 아마 디스코드나 인스타에 이런거를 올리지 않았으면 친구도 해킹당한거 눈치채지 못했을텐데 한편으로 해커가 바보같다는 생각도 든다. 우선 급하게 랜선 뽑고 컴퓨터를 끄라고 하라고 일렀다. 그리고, 마음을 가다듬고 히스토리를 정리해서 달라고 했다.친구 히스토리05/11 17:34 검은사막 인벤 댓글에 위험 사이트 URL 확인05/11 17:35 위험 사이트 접속 05/11 17:36~40 사이트 지시대로 파워 쉘 명령어 입력 (..