BukeLy

Stateless FileSystem Agent — AI skill for Claude Code

AI community

Serverless AI Agent built on Claude Agent SDK with stateful session persistence via S3+DynamoDB.

How to install Stateless FileSystem Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open BukeLy/Stateless-FileSystem-Agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Stateless FileSystem Agent does

Serverless AI Agent built on Claude Agent SDK with stateful session persistence via S3+DynamoDB.

Alternatives in AI

  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • Yomo — 🦖 Serverless AI Agent Framework with Geo-distributed Edge AI Infra 1.9k ★
  • Phantom — An AI co-worker with its own computer 1.3k ★

README

Stateless-FileSystem-Agent

[English](#english-documentation) | [中文](#中文文档)

A Serverless AI Agent system built on Claude Agent SDK, implementing stateful conversation persistence across stateless containers using S3+DynamoDB.


English Documentation

Project Overview

A Serverless AI Agent system built on Claude Agent SDK, implementing stateful conversation persistence across stateless containers using S3+DynamoDB.

**Exploratory Project** | This project explores how to achieve stateful AI Agent sessions using FileSystem + Stateless Containers (AWS Lambda with Firecracker runtime as the foundation). It demonstrates how to maintain conversation persistence across stateless function invocations.

Architecture

Telegram User → Bot API → API Gateway → Producer Lambda → SQS FIFO Queue → Consumer Lambda
                                              ↓                                  ↓
                                        Return 200                      agent-server Lambda
                                        immediately                              ↓
                                              DynamoDB (Session mapping) + S3 (Session files) + Bedrock (Claude)

**Core Design**:

  • Uses the Hybrid Sessions pattern recommended by Claude Agent SDK
  • SQS FIFO Async Architecture: Producer returns 200 immediately to Telegram, Consumer processes requests asynchronously with message ordering guarantee

Features

  • Session Persistence: DynamoDB for mapping storage, S3 for conversation history, cross-request recovery support
  • Multi-tenant Isolation: Client isolation based on Telegram chat_id + thread_id
  • Forum Group Support: Topic-based conversation isolation with auto-precheck
  • User Whitelist: Control private chat and group invitation permissions
  • SubAgent Support: Configurable specialized Agents (e.g., AWS support) with example implementations
  • Skills Support: Reusable skill modules with hello-world example
  • **MC