Add AGENTS.md - AI agent architecture reference#21
Draft
Conversation
Co-authored-by: writeameer <221149+writeameer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add AGENTS.md - AI agent onboarding guide
Add AGENTS.md - AI agent architecture reference
Feb 13, 2026
writeameer
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI agents working on DStream lack a consolidated architecture reference, requiring them to piece together context from code, WARP.md status updates, and scattered examples across 6 repositories.
What's Added
AGENTS.md (1,250 lines) - Single source of truth for DStream architecture:
Key Documentation
Provider communication protocol:
Critical distinctions highlighted:
run, output providers support full lifecycleFile Relationships
Complements existing docs without duplication. All 17 links verified, 52 code blocks tested for syntax correctness.
Original prompt
Add AGENTS.md - AI Agent Onboarding Guide
Overview
Create a comprehensive onboarding document (
AGENTS.md) for AI agents working on the DStream ecosystem. This file will serve as the definitive architecture and integration guide, complementing the existingWARP.md(which tracks project status).Goals
File Location
AGENTS.md(root of repository, alongsideWARP.mdandreadme.md)Content Structure
1. Quick Overview
2. Architecture Overview
katasec/dstream- CLI orchestrator (Go)katasec/dstream-dotnet-sdk- .NET SDKkatasec/dstream-ingester-mssql- SQL Server CDC provider (Go)katasec/dstream-log-output-provider- Log output provider (Go)3. Provider Contract
Communication Protocol
Configuration: First line from stdin (JSON config)
{ "db_connection_string": "server=localhost;...", "poll_interval": "5s", "tables": ["Persons", "Cars"] }Data Flow: Continuous JSON envelopes via stdout
{ "data": { "table_name": "Persons", "change_type": "insert", "id": 123 }, "metadata": { "timestamp": "2025-09-28T20:00:00Z" } }Logging: All logs to stderr (never stdout)
Provider Interfaces
Lifecycle: Long-Running Services
.NET SDK Pattern (
katasec/dstream-dotnet-sdk):Go Native Pattern (
katasec/dstream-ingester-mssql):4. Provider Distribution (OCI)
dstream.hclwithprovider_ref5. Testing Providers
6. Key Files Reference Table
WARP.mdreadme.mddstream.hclProvider examples table with links to:
7. Common Development Patterns
8. FAQ for AI Agents
9. Next Steps for New Sessions
Implementation Notes
Success Criteria
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.