2 Answer(s)
-
0
The ABP “Microservice” architecture is provided as a startup template (and there is also a step-by-step Microservice Development Tutorial). The “AI” part is not a built-in ABP Framework feature; typically you build the microservices with ABP, then integrate an AI provider (OpenAI/Azure OpenAI/etc.) inside the relevant services (application layer) as a normal .NET integration.
To start a Microservice solution with Angular + PostgreSQL:
- Follow Get Started: Creating a Microservice Solution to generate the solution structure and run it locally.
- Then follow the Microservice Development Tutorial to learn how services are designed, how gateways work, how auth is configured, and how you add new microservices.
- Once your services are running, add AI features by creating an application service in the microservice that needs it (e.g., “Chat”, “Recommendation”, “Document summarization”), and call your AI provider from there (kept behind an interface so you can swap providers).
For Angular UI: generate and run the Angular app that comes with the microservice template, and use it as the client of your gateways/backends.
For PostgreSQL: select PostgreSQL in the template options (or configure connection strings accordingly) and run the migrator/db migration steps required by the generated solution (the tutorial covers running/bootstrapping the system).
Sources (validated):
- https://abp.io/docs/latest/get-started/microservice
- https://abp.io/docs/latest/tutorials/microservice
- https://abp.io/docs/latest/startup-templates/microservice
- https://abp.io/docs/latest/suite
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
You can start with ABP Studio. It has a built-in AI Agent that can read your solution, plan a feature, change the code, add migrations and generate Angular proxies.
- Create the solution in ABP Studio with
File -> New Solution. Pick the Classic templates, thenMicroservice,Angular,Entity Framework CoreandPostgreSQL. The Modern templates only have React, so Angular isn't listed there. - Run the solution from the Solution Runner with the
Defaultprofile and make sure you can log in to the Angular app. - Open the ABP Agent panel on the right and click
Enable AI. Then follow the microservice tutorial and use the agent for each step. For example, use Plan mode to plan the new Catalog service and the Products page, then switch to Agent mode to implement it.
Microservice tutorial (Angular + EF Core): https://abp.io/docs/latest/tutorials/microservice?DB=EF&UI=NG
Coding with the ABP Studio AI Agent: https://abp.io/docs/latest/studio/coding-with-ai-agent
If you also use tools like Claude Code, Cursor or Copilot, you can connect them to the ABP docs and source code with the
abp mcpcommand, see https://abp.io/docs/latest/cli#mcp. For the Angular app,ng g @abp/ng.schematics:ai-config --tool=claudecreates the AI config files with ABP rules, see https://abp.io/docs/latest/framework/ui/angular/ai-config.Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) - Create the solution in ABP Studio with