You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flowchart LR
A[Create Agent] --> B[Create Chat Channel]
B --> C[Send Message]
C --> D[SSE Stream Chunks]
D --> E[Attach Knowledge Base]
E --> F[Customer-Ready Experience]
Loading
60-Second Quick Start
usingEGroupAI.AiSandbox.Sdk;varclient=newAiSandboxClient(Environment.GetEnvironmentVariable("AI_SANDBOX_BASE_URL")??"https://www.egroupai.com",Environment.GetEnvironmentVariable("AI_SANDBOX_API_KEY")??string.Empty);varagent=awaitclient.CreateAgentAsync(new{agentDisplayName="Support Agent",agentDescription="Handles customer inquiries"});varagentId=agent.RootElement.GetProperty("payload").GetProperty("agentId").GetInt32();varchannel=awaitclient.CreateChatChannelAsync(agentId,new{title="Web Chat",visitorId="visitor-001"});varchannelId=channel.RootElement.GetProperty("payload").GetProperty("channelId").GetString();awaitforeach(varchunkinclient.SendChatStreamAsync(agentId,new{channelId,message="What is the return policy?",stream=true})){Console.WriteLine(chunk);}
Installation
dotnet add package EGroupAI.AiSandbox.Sdk
Integration Sanity Checklist
Keep AI_SANDBOX_API_KEY in secure runtime configuration.
Confirm AI_SANDBOX_BASE_URL points to the intended environment.
Verify [DONE] handling in stream consumers before release.
Snapshot
Metric
Value
API Coverage
11 operations (Agent / Chat / Knowledge Base)
Stream Mode
text/event-stream with [DONE] handling
Retry Safety
429/5xx auto-retry for GET/HEAD + capped exponential backoff
Error Surface
ApiException with statusCode/responseBody/traceId
Validation
Production-host integration verified
Release Readiness
Run draft-release-train and guards checks before merge