Core Overview
CrestApps.Core is built to be the one framework you need to integrate AI into an existing .NET application. It combines AI management, orchestration, chat, document intelligence, RAG, agent workflows, protocol support, reporting, and extensibility into a single composable platform.
What makes it valuable
- Faster adoption - integrate advanced AI capabilities without rebuilding the supporting infrastructure
- Cleaner architecture - keep prompts, profiles, tools, handlers, and defaults reusable instead of scattering them across the app
- Provider flexibility - switch models and providers without rewriting application logic
- Business-ready workflows - support lead generation, support automation, reporting, document analysis, and custom workflows
- State-of-the-art integration - use modern protocols such as MCP and A2A with a .NET-first developer experience
Core capabilities
| Capability | What it enables |
|---|---|
| AI management | Profiles, connections, deployments, data sources, templates, and runtime configuration |
| Reusable AI profiles | Predefined behavior, prompts, model settings, tools, and retrieval rules for every session |
| Chat interactions | Provider-agnostic chat playgrounds and production chat experiences |
| Documents and knowledge | Upload files for summarization, extraction, tabulation, Q&A, and retrieval |
| RAG | Blend attached documents, data sources, and user memory with configurable preemptive retrieval |
| AI agents | Create specialized agents and coordinate work between them |
| MCP and A2A | Expose capabilities, connect to remote systems, and participate in protocol-driven ecosystems |
| Extensibility | Add custom AI functions, stores, handlers, authorization, templates, and runtime behavior |
| Metrics and reporting | Track chat activity, consumption, lead workflows, and post-session outcomes |
| Memory and personalization | Build assistants that remember durable user context over time |
Quick start
builder.Services.AddCrestAppsCore(crestApps => crestApps
.AddAISuite(ai => ai
.AddMarkdown()
.AddChatInteractions()
.AddDocumentProcessing()
.AddOpenAI()));
That is enough to start resolving IAICompletionService, IAIClientFactory, or IOrchestrator from DI and composing your own AI experience.
Package map
| Area | Main package | Purpose |
|---|---|---|
| Foundation | CrestApps.Core | Shared models, validation, catalog helpers, and host utilities |
| AI runtime | CrestApps.Core.AI | Deployments, profiles, completions, orchestration, tools, and memory |
| Chat | CrestApps.Core.AI.Chat | Chat sessions, widgets, handlers, metrics, and document-aware chat |
| Templates | CrestApps.Core.Templates | Reusable prompts and template-driven profile composition |
| Providers | Provider packages | OpenAI, Azure OpenAI, Azure AI Inference, and Ollama integrations |
| Protocols | CrestApps.Core.AI.Mcp, CrestApps.Core.AI.A2A | MCP and A2A client/server building blocks |
| Persistence | CrestApps.Core.Data.YesSql | YesSql-backed catalogs and AI persistence implementations |
| Sample hosts | CrestApps.Core.Mvc.Web, CrestApps.Core.Aspire.AppHost | Reference composition and local orchestration |
Feature map
| Feature | Extension method | Package | Learn more |
|---|---|---|---|
| Builder entrypoint | AddCrestAppsCore(builder => ...) | CrestApps.Core | ASP.NET Core integration |
| Core services | AddCoreServices() | CrestApps.Core | Core Services |
| AI services | AddCoreAIServices() | CrestApps.Core.AI | AI Core |
| Orchestration | AddCoreAIOrchestration() | CrestApps.Core.AI | Orchestration |
| Chat | AddCoreAIChatInteractions() | CrestApps.Core.AI.Chat | Chat Interactions |
| Documents | AddCoreAIDocumentProcessing() | CrestApps.Core.AI.Chat | Document Processing |
| Templates | AddTemplating() | CrestApps.Core.Templates | AI Templates |
| Custom tools | AddCoreAITool<T>() | CrestApps.Core.AI | Custom AI Tools |
| Agents | Agent and orchestration registrations | CrestApps.Core.AI | AI Agents |
| Copilot orchestration | AddCoreAICopilotOrchestrator() | CrestApps.Core.AI.Copilot | GitHub Copilot Orchestrator |
| SignalR and widgets | AddCoreSignalR() | CrestApps.Core.SignalR | SignalR |
| Data storage | Store registration extensions | CrestApps.Core.Data.YesSql | Data Storage |
| Providers | Provider-specific extensions | Provider packages | AI Providers |
| Data sources | Backend-specific extensions | Search packages | Data Sources |
| MCP | AddCoreAIMcpClient() / AddCoreAIMcpServer() | CrestApps.Core.AI.Mcp | MCP |
| A2A | AddCoreAIA2AClient() | CrestApps.Core.AI.A2A | A2A |
Start with outcomes
If you want to evaluate the framework by business need instead of package names, start with AI Chat Use Cases.