Services

AI engineering and integration

AI that answers from your real data and can only do what you allow, built into the Rails app and systems you already run instead of a separate stack.

Who it is for

Companies hiring an AI engineer with Rails, CTOs and product teams with a Rails app, CEOs who want AI in their product, and agencies that need an AI engineer for a client project.

Problems I solve

What I build

Why build AI in Rails?

Your data, users, permissions and background jobs already live in your Rails app. Most AI features are model API calls, tools that read or change that data, and background jobs, which Rails already does well. RubyLLM and the official MCP Ruby SDK cover the model and protocol side, and pgvector adds semantic search to the PostgreSQL database you already have. You get one codebase, one deploy and one team, with no separate Python service to build and maintain.

Evidence

How a project runs

  1. Pick one job for the AI. We agree on the one question or task it should handle first, and the data it needs.
  2. A written plan. Which tools it gets, which ones only read, which ones write and need approval, and how we will know the answers are right.
  3. Tools first, then the model. Each tool is plain Ruby with specs, then the model is connected to it.
  4. Evals before launch. The feature runs against real cases with expected answers, and a trace shows each step.
  5. Hand-over. Pull requests, tests and a short write-up your team can maintain.

Frequently asked questions

Do we need a separate Python service to add AI to our Rails application?
Not necessarily. Many AI features can be built directly in Ruby on Rails with libraries such as RubyLLM, the official MCP Ruby SDK and pgvector. A separate Python service can still make sense when you need a specific library, a model-serving setup or existing Python infrastructure.
Can we build RAG using our existing PostgreSQL database?
Yes. With the pgvector extension, PostgreSQL stores and searches vector embeddings alongside your application data. Depending on your scale and retrieval needs, this can keep your architecture simpler than running a separate vector database.
How do you reduce mistakes and control what an AI agent can do?
I use validated tool arguments, permission checks, and limited access to application data and actions. Write actions can require approval based on your requirements, deterministic calculations stay in Ruby, and evaluations help test how the system behaves across different inputs.
Our AI team works in Python. Can you still help?
Yes. I can integrate Python-based AI services with Rails through APIs, background jobs and, where it fits the use case, MCP. The goal is to connect your existing AI work to the application without duplicating it.
Do you work with n8n?
Yes. I build workflows in n8n and connect them to Rails through webhooks and APIs, using MCP where it fits, and keep complex business rules and application-specific logic in Rails code.
Which AI models and providers do you work with?
I work with Claude, OpenAI and Gemini through RubyLLM, and with Voyage AI for embeddings. The best choice depends on your use case, data, evaluation results, cost and latency requirements.

Contact

Available now, and I usually reply within a few hours. Email me at mohammadalijaisar@gmail.com. Tell me whether you want a full-time hire, a contract, or a project, and what you want the AI to do. Rates are in the pricing table.

Other services