FF

fabiankuebler/fenced

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

96 stars 품질 64 트렌드 15MIT

Markdown이 프로토콜인 Agentic Chat runtime

개요

Markdown이 프로토콜인 Agentic Chat runtime의 프로토 타입입니다. LLM 스트림 Markdown 텍스트, TypeScript 코드 블록 서버 측을 실행하고 단일 응답 내에서 클라이언트에 민감하는 UI 구성 요소를 렌더링합니다. Markdown은 Agentic AI Assistants에 이상적인 프로토콜입니다. LLM은 이미 이해, 섞는 prose, 실행 가능한 부호, 그리고 새로운 훈련을 요구하는 체재에 있는 구조화된 자료입니다. ... Markdown 브라우저에서 [T0]을 엽니다. 메일, 캘린더 및 연락처 기술 필요 Google OAuth 자격. 그들 없이, FENCED DISABLE GOOGLE SKILLS=true .env 를 설정하여 이러한 기술을 로드합니다. 1. Google Cloud Console 2. 프로젝트 만들기 (또는 기존 하나를 선택하십시오) 3. , 및 4. 사용 (외부, 테스트 사용자로 이메일을 추가) 5. 아래, 이러한 범위를 추가: - https://www.googleapis.com/auth/gmail.modify - https://www.googleapis.com/auth/calendar - https://www.googleapis.]

개요(AI 번역)

Markdown이 프로토콜인 Agentic Chat runtime의 프로토 타입입니다. LLM 스트림 Markdown 텍스트, TypeScript 코드 블록 서버 측을 실행하고 단일 응답 내에서 클라이언트에 민감하는 UI 구성 요소를 렌더링합니다.

** 논문:** Markdown은 Agentic AI Assistants에 이상적인 프로토콜입니다. LLM은 이미 이해, 섞는 prose, 실행 가능한 부호, 그리고 새로운 훈련을 요구하는 체재에 있는 구조화된 자료입니다.

✈ **공동 기사: ** Agentic AI Assistants의 미래는 … Markdown

Docker와 빠른 시작

브라우저에서 [T0]을 엽니다.

환경 변수

변하기 쉬운 Required 묘사
OPENAI_API_KEY 예 LLM 세대의 OpenAI API 키
FENCED_DISABLE_GOOGLE_SKILLS No Set to 1 to disable Google Skills (mail, contact, 달력). Google OAuth credentials없이 실행할 때 권장됩니다.

지역 개발

# 필수품

  • 분 >= 1.0

설정

Google Skills (메일, 캘린더, 연락처)

메일, 캘린더 및 연락처 기술 필요 Google OAuth 자격. 그들 외에는 FENCED_DISABLE_GOOGLE_SKILLS=true를 `에서 설정한다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

fenced

A prototype of an agentic chat runtime where markdown is the protocol. The LLM streams markdown text, executes TypeScript code blocks server-side, and renders reactive UI components on the client—all within a single response.

Thesis: Markdown is the ideal protocol for agentic AI assistants. It’s what LLMs already understand, mixing prose, executable code, and structured data in a format that requires no new training.

📖 Read the accompanying article: The Future of Agentic AI Assistants Is… Markdown

Quick Start with Docker

# Build the image
docker build -t fenced .

# Run with required environment variables
docker run -p 4000:4000 \
  -e OPENAI_API_KEY=your-openai-api-key \
  -e FENCED_DISABLE_GOOGLE_SKILLS=true \
  fenced

Open http://localhost:4000 in your browser.

Environment Variables

Variable Required Description
OPENAI_API_KEY Yes OpenAI API key for LLM generation
FENCED_DISABLE_GOOGLE_SKILLS No Set to 1 to disable Google skills (mail, contacts, calendar). Recommended when running without Google OAuth credentials.

Local Development

Prerequisites

Setup

# Install dependencies
bun install

# Create .env file
cp .env.example .env
# Edit .env with your OPENAI_API_KEY

# Run dev servers (two terminals)
bun run dev:server   # Bun API on port 4000
bun run dev:client   # Vite dev server with HMR

# Or use tmux to run both
bun run dev

Google Skills (Mail, Calendar, Contacts)

The mail, calendar, and contacts skills need Google OAuth credentials. Without them, set FENCED_DISABLE_GOOGLE_SKILLS=true in your .env to skip loading these skills.

1. Create OAuth credentials:

  1. Go to Google Cloud Console
  2. Create a project (or select an existing one)
  3. Enable the Gmail API, Google Calendar API, and People API
  4. Configure the OAuth consent screen (External, add your email as test user)
  5. Under Credentials → Data Access, add these scopes:
    • https://www.googleapis.com/auth/gmail.modify
    • https://www.googleapis.com/auth/calendar
    • https://www.googleapis.com/auth/contacts
  6. Go to Credentials → Create Credentials → OAuth client ID
  7. Choose Desktop app as the application type
  8. Download the JSON and save it as:
    packages/skills/src/google-auth/client_secret.json
    

2. Generate access token:

bun run google:renew-token

This starts a local server on port 3000, opens your browser for OAuth consent, and saves the token to token.json.

3. Verify it works:

bun run google:test-auth

4. Done. The agent can now use gmail, calendar, and contacts globals in agent.run blocks.

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add fabiankuebler/fenced
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →