capsule AI-native Unix-like composition layer

f4c-bot-service v0.1.0

subsystem

capsule://quake0day/[email protected]

Manages per-room AI chat sessions, including message history persistence and hourly rate limiting, using Cloudflare Durable Objects and Cloudflare AI Gateway. It provides an API endpoint for external services to interact with the bot.

Owns

Does not own

AI orientation

This capsule implements the AI bot's core logic and API. Agents should focus on improving bot responses, managing AI model integration, or refining rate limiting. Pay attention to the `BOT_SYSTEM_PROMPT` and `BOT_MODEL` for AI behavior.

Avoid

Provides

Requires

Dependencies

Capsules

Invariants (must always hold)

Source files (2)

Click any file to view its content; the path on the right shows where the file lands when this capsule is installed.

Plus capsule.yaml and install.json.

Upstream source

https://github.com/quake0day/free4chat-capsules/blob/main/f4c-bot-service/capsule.yaml

Pull this capsule locally:

capsule pull capsule://quake0day/[email protected]

Or render to your terminal:

capsule man capsule://quake0day/[email protected]