This project demonstrates the ClaudeCodeSdk and ClaudeCodeSdk.MAF (Message Agent Framework) with a standalone web UI and WebSocket backend.
This is extracted from the
d-systemrepository, which is still under development. (As development is ongoing, it remains in private status.)
demo-2.mp4
The backend lives under src/d-code/backend with a minimal host project that serves the Claude Code WebSocket controller.
- .NET 10 SDK
- Claude Code credentials (e.g.
ANTHROPIC_AUTH_TOKEN) or a custom API base URL
cd src/d-code/backend
dotnet restore
dotnet run --project DSystem.DCode.HostThe backend will listen on the default ASP.NET Core URL (e.g. http://localhost:5015).
Note:
ClaudeCodeAgentDbSeeder.csis included for reference but excluded from compilation because it depends on the full D-System database model.
The frontend lives under src/d-code/frontend and provides a web-based interface for the Claude Code UI.
cd src/d-code/frontend
pnpm install
pnpm devBy default, the frontend proxies /api/* to http://localhost:5015. You can override this with:
export DCODE_BACKEND_BASE_URL=http://localhost:5015Then open http://localhost:3000 (automatically redirects to /claude-code).