惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
A
About on SuperTechFans
量子位
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
U
Unit 42
D
DataBreaches.Net
博客园 - Franky
D
Docker
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Hugging Face - Blog
Hugging Face - Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - simd-ai/agent
tito777 · 2026-05-22 · via Hacker News - Newest: "AI"

cylindrical-cht — buoyancy plume around a heated cylinder, generated by simd-agent

AI-native physics simulation agent.

License Language Commit activity Follow SIMD

🎯 What it does

Describe the physics you want to understand — flow, heat transfer, buoyancy, pressure drop, mixing — together with a mesh of the physical domain, and the agent picks the governing equations and turbulence model, configures discretization schemes, properties, and boundary conditions, submits the case to an OpenFOAM solver, streams residuals and flow fields back, and self-heals on solver failure. The result: design-decision support — questions that usually take a CFD specialist a week ("does this U-bend overheat at 500 K?", "what's the pressure drop through the regasifier?") become a paragraph of intent plus a geometry.

✨ Features

  • 🌊 Natural-language input — describe the physics you want to understand in plain English
  • 🧭 Auto solver selection — picks the right OpenFOAM solver from your prompt + mesh
  • 🩹 Self-healing loop — diagnoses solver failures and retries with focused fixes
  • 📡 Live streaming — residuals and 3D fields delivered live over WebSocket
  • 🧠 Multi-LLM — Gemini, Vertex AI, or local Ollama
  • 🔓 Open source — AGPL v3, run anywhere

🛠 Capabilities

Feature Description
Compressible & incompressible simpleFoam family + rhoSimple variants
Turbulence regimes k-ε, k-ω SST, k-ω, Spalart-Allmaras
Conjugate heat transfer solid-fluid coupling (chtMultiRegion)
Multiphase flows VOF (experimental — interFoam family)
LLM providers Gemini · Vertex AI · Ollama (local)
Object storage local filesystem · Google Cloud Storage
Authentication Neon Auth · open (no auth)

See Documentation/solvers for the full list of supported solvers.

end-to-end run — codegen, residuals, post-processed flow fields

🚀 Quick start

The agent is one of three components — the other two live in their own repos:

  • simd-ai/agent (this repo) — the orchestrator
  • simd-ai/runner — the OpenFOAM runner (separate process)
  • simd-ai/ui — the Next.js frontend (drive the agent)

You'll need:

  • Docker + Docker Compose, or Python 3.11+ for bare-metal mode
  • One LLM credential: a Gemini API key, OR a Vertex AI service-account JSON, OR a local Ollama install

Clone and run the installer:

git clone https://github.com/simd-ai/agent
cd agent
./install.sh

install.sh is an interactive wizard that writes .env and either brings up the stack (Docker mode) or sets up a venv (bare-metal mode).

Preview the install wizard

install.sh wizard — deployment mode, LLM provider, simulation runner, object storage, authentication, database, .env write, bare-metal setup

Docker mode

Brings up agent + postgres + frontend + OpenFOAM runner from a single docker compose file. Once the wizard finishes, the agent is at http://localhost:8000 and the frontend at http://localhost:3000. Everything stops with docker compose down.

Bare-metal mode

Installs only the agent in a local Python venv. The wizard prints the uvicorn command at the end. You bring your own runner and (if you want a UI) frontend:

# OpenFOAM runner — clone & start separately
git clone https://github.com/simd-ai/runner
cd runner && ./run.sh
# (or point ``SIMULATION_SERVER_URL`` at a remote one)

# Frontend — clone & start separately (optional)
git clone https://github.com/simd-ai/ui
cd ui && npm install && npm run dev

Or skip the UI entirely and drive the agent through the WebSocket / HTTP API at http://localhost:8000 (see Documentation/api/).

⚙️ How it works

A FastAPI service orchestrates per-file OpenFOAM codegen with an LLM, validates the output with deterministic plugin-side rules, ships the case to a service running OpenFOAM, and streams residuals and post-processed VTK back through a WebSocket. When the solver fails, the agent diagnoses the error with a smaller LLM call and retries with focused fixes — up to seven attempts by default. This is the self-healing loop.

See Documentation/architecture for the full design, Documentation/self-healing for a walkthrough of one real failure.

🧪 Examples

Four end-to-end cases ship under examples/. Each carries its mesh, its prompt, and the generated OpenFOAM case files — so you can run the simulation directly with OpenFOAM, or watch the agent regenerate it from the prompt.

Case Physics Solver
u-shape-pipe compressible inverted-U duct rhoSimpleFoam + kOmegaSST
z-bend transient turbulent water pipe pimpleFoam + kOmegaSST
inner-outer-pipe 2D LN2/water counter-flow regasifier chtMultiRegionSimpleFoam
cylindrical-cht natural convection around a heated cylinder buoyantBoussinesqSimpleFoam

🗺 Roadmap

See ROADMAP for what's next and what's in the idea bin. Tracking happens in GitHub Issues.

🤝 Contributing

See CONTRIBUTING. New solver plugins drop into simd_agent/solvers/<name>/ and are auto-discovered; new LLM providers drop into simd_agent/llm/<name>/. No registry edits needed.