Skip to content
View raw ↗

Building AI-Powered Apps

Foundation makes it easy to add AI capabilities to your app — and to build entire products around AI.

What You Get

  • Configurable prompts and prompt chains
  • Tools wired to your data and integrations
  • Expose AI actions over REST API and MCP
  • Usage-based billing for AI features

Example: AI Writing Assistant

  1. Define prompt actions: "Generate blog post," "Summarize text," "Edit for tone"
  2. Wire prompts to a Knowledge Base entity for context
  3. Enable billing with usage limits on AI calls
  4. Expose actions over API
  5. Deploy

Your users get an AI writing tool with real capabilities, usage tracking, and billing.

Example: Customer Support Bot

  1. Define a Chat entity for conversations
  2. Create a prompt chain: understand question → search knowledge base → generate response
  3. Wire tools to your FAQ entity and ticket system
  4. Expose over MCP so agents can use it
  5. Deploy