fhat. Workspace

Numerical and AI4S methods, written for agents.

Research methods published as agent skills. Each one states what it solves, when it applies and when it does not, how to port it into your code, and how to check that your implementation is correct.

Connect your agent

claude mcp add --transport http fhat https://fhat.dev/mcp

More ways to connect →

How it works

  1. “Can you improve my current integrator? The energy drifts over long runs.”

    1 Describe

    You describe the problem in your own words.

  2. Time integration

    Conservative
    yes
    Long run
    yes
    Constraints
    no
    Stiff
    asks

    “Does your step resolve every vibration?” Yes.

    2 Narrow down

    Your agent answers the category's questions and asks you only those that change the answer.

    • Störmer–Verletlong run · not stiff
    • RK4energy drifts on long conservative runs
    • Backward Eulerdamps the energy

    3 Choose

    Ranked methods with reasons, and the ones ruled out. If nothing fits, it says so and names the alternative.

  3. my_md/integrators.py
    - x += dt * v- v += dt * a(x)+ # stormer-verlet v0.1.5+ v += dt/2 * a(x)+ x += dt * v+ v += dt/2 * a(x)

    method checks pass

    4 Port & check

    It ports the method into your code, in your own conventions, and proves it right with the method's checks.

Why fhat? In mathematics, f often stands for a computable approximation of f.

The methods shown are examples. More research methods are coming.