Guidance for coding agents working inside the GitHub adapter package. The top-level repository AGENTS.md covers monorepo-wide build, lint, and release rules — read it first. This file documents the adapter-specific surface, conventions, and pitfalls. @chat-adapter/github connects a Chat SDK bot to issue and pull-request comment threads on GitHub. It covers: - HTTP webhook endpoint at /api/webhooks/github for issues, issue_comment, pull_request, pull_request_review_comment, and pull_request_review events, validated with HMAC-SHA256 against the App secret. - Comment posting, editing, and deletion via the REST…
2.4k2mo agoReviewMountCreate a free account to mount
Guidance for coding agents working inside the Notion adapter package. The top-level repository AGENTS.md covers monorepo-wide build, lint, and release rules — read it first. @chat-adapter/notion connects a Chat SDK bot to Notion comments (page-level and discussion threads) via: - Webhooks (comment.created) with X-Notion-Signature HMAC verification and a one-time verification_token handshake - Comments REST API (create / update / delete / list / retrieve) - Outbound Vercel Connect authentication via an async token resolver; inbound webhooks remain direct and use…
2.4k2mo agoReviewMountCreate a free account to mount
Guidance for coding agents working inside the Telegram adapter package. The top-level repository AGENTS.md covers monorepo-wide build, lint, and release rules — read it first. This file documents the adapter-specific surface, conventions, and pitfalls. @chat-adapter/telegram connects a Chat SDK bot to a Telegram bot account via the official Bot API. It covers: - HTTP webhook endpoint at /api/webhooks/telegram (or polling for long-running processes), validated with the optional secret_token header. - Inline keyboards for buttons (cards/actions are rendered as a text…
2.4k2mo agoReviewMountCreate a free account to mount
Guidance for coding agents working inside the Web adapter package. The top-level repository AGENTS.md covers monorepo-wide build, lint, and release rules — read it first. This file documents the adapter-specific surface, conventions, and pitfalls. @chat-adapter/web lets a Chat SDK bot serve a browser chat UI alongside Slack, Teams, Discord, and the rest. The same handlers fire for every platform — the Web adapter just speaks the @ai-sdk/react useChat UI message stream protocol so a <Chat> React component can drop in…
2.4k2mo agoReviewMountCreate a free account to mount
Guidance for coding agents working on the chat/adapters catalog subpath. index.ts is a static, zero-dependency catalog for official and vendor-official adapters. It is meant for setup UIs, build scripts, and onboarding flows that need adapter metadata without importing any adapter package or platform SDK. List cataloged packages without importing adapter implementations: Build a setup checklist for secret environment variables: After catalog changes, run: Run pnpm validate before declaring broader catalog or export-map work complete.
2.4k2mo agoReviewMountCreate a free account to mount
Guidance for coding agents working inside the in-memory state adapter package. The top-level repository AGENTS.md covers monorepo-wide build, lint, and release rules — read it first. This file documents the adapter-specific surface, conventions, and pitfalls. @chat-adapter/state-memory is the simplest state adapter — keeps all subscriptions, locks, caches, lists, and queues in process memory. Suitable for: - Local development and tutorials. - Single-process bots where durability is not a concern (and recovery from a restart is acceptable). - Tests — the…
2.4k2mo agoReviewMountCreate a free account to mount
Guidance for coding agents working inside the PostgreSQL state adapter package. The top-level repository AGENTS.md covers monorepo-wide build, lint, and release rules — read it first. This file documents the adapter-specific surface, conventions, and pitfalls. @chat-adapter/state-pg persists Chat SDK state in PostgreSQL using the pg client. Pick this adapter when: - Postgres is already your primary datastore and you don't want to add Redis to the stack. - You need rich query access (analytics, audit, joins) over subscriptions / cache…
2.4k2mo agoReviewMountCreate a free account to mount
This repository demonstrates building agents using LangGraph, focusing on an email assistant that can: - Triage incoming emails - Draft appropriate responses - Execute actions (calendar scheduling, etc.) - Incorporate human feedback - Learn from past interactions Recommended: Using uv (faster and more reliable) Alternative: Using pip The repository contains several implementations with increasing complexity in src/email_assistant: Each aspect of the agent is explained in dedicated notebooks: - notebooks/langgraph_101.ipynb - LangGraph basics - notebooks/agent.ipynb - Basic agent implementation - notebooks/evaluation.ipynb…
2.4k18mo agoReviewMountCreate a free account to mount
Postgres logical-replication engine. etl is the library, etl-replicator is the standalone binary, and etl-destinations holds built-in destinations. Product docs: https://supabase.github.io/etl/. Human walkthrough: DEVELOPMENT.md. This file is for agents. Read it before changing code. Use it to set up the repo, not only to implement in it. Do this on a fresh clone before tests, examples, or local services. 1. Toolchain: Rust 1.95.0 from rust-toolchain.toml (rustup uses it automatically), psql, Docker Compose, and cargo-nextest. 2. SQLx CLI (migrations; cargo x init…
2.3k2mo agoReviewMountCreate a free account to mount
Always run pre-commit run --all-files before creating or amending a commit. This ensures all markdown files conform to the pinned mdformat 0.7.21 formatter (--number --wrap 80 with gfm + frontmatter plugins). The hook installs its own isolated venv — do not run local mdformat directly. If the hook modifies files, stage the changes and amend your commit. Security invariants (INV-1 through INV-6) are enforced deterministically by the Google ADK Python runtime, Pydantic schemas, and tool wrappers rather than prompt fences:
2.3k3mo agoReviewMountCreate a free account to mount
Resolver for agent-facing guidance in this repo. Each section points at the canonical location — content lives there, not here. If you find yourself duplicating a rule across docs, the duplicate is wrong. TypeScript / JavaScript SDKs for Azure services. Monorepo managed by pnpm + Turborepo. Before pushing any code change — including changes outside sdk/ — run the checks defined by CI for the affected package locally. Package managers and scripts vary for non-workspace eng/* tools. See .github/skills/sdk-workflow/SKILL.md §…
2.3k21mo agoReviewMountCreate a free account to mount
Use these conventions when writing or changing tests in this plugin. Run asynchronous tests inside timeoutRunBlocking. Invoke editor actions in a narrow withContext(Dispatchers.EDT) block with the required lock context. Await…
2.3k24mo agoReviewMountCreate a free account to mount
Guidance for AI coding agents (Cursor, GitHub Copilot, Claude Code, Amazon Q Developer, Kiro, Codex, Gemini CLI, etc.) working in this repository — the source of the Amazon SageMaker Python SDK. Follows the AGENTS.md convention (https://agents.md). This file has two audiences: 1. Contributors' agents editing SDK source, tests, and docs in this repo. 2. Any agent that reads this repo as a reference for how to use the SDK — so the usage guidance (v3 by default) is stated here…
2.3k3mo agoReviewMountCreate a free account to mount
Use tox for testing (not pytest directly): - Test matrix configuration is in tox.ini - Integration tests: uv run tox -e py3.14-{integration}-v{version} - Common tests: uv run tox -e py3.14-common - Run specific test file: TESTPATH=tests/integrations/logging/test_logging.py uv run tox -e py3.14-common - Run single test: TESTPATH=tests/path/to/test_file.py uv run tox -e py3.14-common -- -k "test_name" Mypy and its type stubs live in the opt-in typing dependency group: - Run uv run --group typing mypy sentry_sdk before committing (must pass with zero…
2.2k9mo agoReviewMountCreate a free account to mount
This guide helps AI agents review, maintain, and contribute to Cloudflare Worker templates. It documents patterns, common issues, and testing strategies learned from real PR reviews. When reviewing a template PR, verify these items in order: Symptom: Template linter fails with missing description error. Fix: Add a one-line description to package.json: Symptom: Dashboard won't display template details correctly. Fix: Add markers around the content that should appear in Cloudflare Dashboard: Important: The Deploy to Cloudflare button should be at the…
2.1k11mo agoReviewMountCreate a free account to mount
Notes for AI agents working on this template. One enriched content store (Resource[]) projected onto many agent-discovery surfaces. The data is enriched once by Workers AI and cached in KV; every surface (/llms.txt, /index.json, /<slug>.md, /robots.txt, JSON-LD) is just a different rendering of that same store. - surfaces.ts is pure. Render functions take RenderCtx and return strings/objects. No I/O. This keeps surfaces easy to test and add to. - Enrichment must never hard-fail. enrichResource falls back to fallbackEnrichment on any…
2.1k11mo agoReviewMountCreate a free account to mount
A Worker template that tests whether AI models (GPT-5.4, Claude Sonnet 4, Gemini 3 Flash, Llama 4, Mistral) mention your brand when answering relevant queries. All models run through Cloudflare AI Gateway — no external API keys needed.
2.1k11mo agoReviewMountCreate a free account to mount
Context for AI coding agents to help users set up x402-proxy for payment-gated content. A Cloudflare Worker that adds payment gating to any origin using the x402 protocol. Users pay to access protected routes, then get a JWT cookie valid for 1 hour. With Bot Management Filtering: Requires Bot Management for Enterprise to enable bot filtering. With it enabled, x402-proxy can implement "default closed" - humans pass through free, only bots must pay. This is optional and enhances the base…
2.1k11mo agoReviewMountCreate a free account to mount
Scope: Module-specific guidance for the website/ directory. For Blog Posts: See .github/instructions/website.blog.instructions.md For Repo Standards: See .github/copilot-instructions.md Prerequisites: Node.js >= 18.0, npm 9+ First time? Start with npm start, then create a post in blog/YYYY-MM-DD-slug/index.md. Changes hot-reload in browser. See .github/instructions/website.blog.instructions.md for content guidelines and writing style. Quick steps: See .github/instructions/website.blog.instructions.md for required and optional fields.
2.1k12mo agoReviewMountCreate a free account to mount