cqs 1.25.0

Code intelligence and RAG for AI agents. Semantic search, call graphs, impact analysis, type dependencies, and smart context assembly — in single tool calls. 54 languages + L5X/L5K PLC exports, 91.2% Recall@1 (BGE-large), 0.951 MRR (296 queries). Local ML, GPU-accelerated.
Documentation
defmodule Calculator do
  @moduledoc "A simple calculator module"

  @doc "Add two numbers"
  def add(a, b) do
    a + b
  end

  @doc "Subtract two numbers"
  def subtract(a, b) do
    a - b
  end

  defp validate(n) when is_number(n), do: :ok
  defp validate(_), do: {:error, :not_a_number}
end

defprotocol Printable do
  @doc "Convert to printable string"
  def to_string(data)
end

defimpl Printable, for: Integer do
  def to_string(n), do: Integer.to_string(n)
end

defmodule Greeter do
  defmacro say_hello(name) do
    quote do
      IO.puts("Hello, #{unquote(name)}")
    end
  end

  def greet(name) do
    name
    |> String.trim()
    |> format_greeting()
  end

  defp format_greeting(name) do
    "Hello, #{name}!"
  end
end