frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SimFic – A multi-agent narrative simulation for interactive fiction

https://simfic.net
1•InitialPhase55•1h ago
Hello HN,

I'd like to share a hobby project I'm working on called SimFic: a multi-agent interactive fiction simulation engine. Many of you like to read. But have you wanted to do more than just follow through someone's story? What if you could step into their shoes, and play it out yourself in a simulated environment?

The problem: simply prompting an AI chatbot (e.g. ChatGPT) directly with a world/story-building prompt and expecting a rich, non-linear output is fundamentally flawed; in the real world, information asymmetry, Theory of Mind, non-determinism, etc. affect how people think and act. Asking a single LLM like ChatGPT to mentally simulate these constraints is flawed because of Transformer attention, as it is omniscient by technical design. Furthermore, LLMs are heavily tuned to be helpful and finish things early. If you've tried writing a book with an LLM, you know that the result is laughably short and shallow. If we use an LLM as-is, every action will succeed, every path will be correct, and the narrative degenerates into a dry "happy path".

That's why I built SimFic:

1. The Architect: work with it to envision and define your world, characters, and story before hopping in. It'll ask follow up questions as appropriate but not too many so as to be constraining. When the Architect has enough, it starts concretizing the world, however, it doesn't build everything statically at all once. Instead, it scopes a detailed document that is handed to downstream agents for procedurally generating context-aware new environments (i.e. new environments are created on the spot to suit the mood, story plot, etc.). I call it "Schrodinger's Map" since things don't exist until the user observes them :)

2. The Orchestrator: the central backbone running the story loop and law enforcement (e.g. physics). Manages time and clocks, assigning time cost to player actions to make time pressure real, and advances background world clocks (the world is always living, moving, reacting, even if you are stationary). For example, a bartender NPC may see you take a seat. As you talk with another NPC, the world clock ticks, bartender finishes polishing a glass, and chooses to talk with you. The world is active, not just reactive. Another key design is real RNG and affordance: if you try to wrestle a strong security guard, the Orchestrator queries another AI agent for a probability score of succeeding, then rolls a real random number to decide if you succeed or not.

3. The Director: the omniscient mastermind and driver behind the simulation, working in a two-step process: (1) resolution: Director receives player's input, NPC intents, current world state, outputs JSON to decide what exactly happens next, tracking injuries, changing trust levels, handling pacing. (2) narration: after resolution, Director now receives updated info to write high-quality, coherent prose for the player to read.

4. The Characters: (NPCs) this is a major part of what makes SimFic realistic, engaging, and unpredictable. If you used ChatGPT, all "characters" would be just a single ChatGPT trying to pretend to be each character; inherently flawed. In SimFic, every NPC is its own separate LLM agent with its own isolated context and agenda. Each NPC knows only what it would know in real life, so Theory of Mind and other behavioral features are much more realistic. NPCs have their own feelings, memory, motivation, boundaries, and conditions for creating trust. They can misinterpret your facial expression, panic, or act selfishly. The can also play along with you, cooperate, and read between the lines.

There are actually many more parts of SimFic that I haven't talked about due to the content length limit on HN, and parts I haven't even found yet, as I am only one pair of eyes, and there are infinite possibilities and emergent discoveries to be made. Which is why I'd love for HN readers to give it a try and provide feedback and opinions!

Thanks for reading!

Comments

InitialPhase55•1h ago
Oh, and I'll keep topping up user quotas manually for the next 72h so you can keep experimenting freely, but if I forget, give me your username and I'm happy to give you enough balance for many hours of stories :)

18M-year-old fossils of ape found in Africa, but in an unexpected place

https://www.livescience.com/archaeology/human-evolution/18-million-year-old-fossils-of-ape-found-...
1•Brajeshwar•28s ago•0 comments

Gemini 3.1 Flash Live: Making audio AI more natural and reliable

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-flash-live/
1•justinhj•36s ago•0 comments

Why the Meta Verdicts Are a Big Deal (and What It Was Like to Testify) [audio]

https://www.humanetech.com/podcast/why-the-meta-verdicts-are-a-big-deal-and-what-it-was-like-to-t...
1•geephroh•40s ago•0 comments

Point and Shoot Testing

https://thoughtfractal.pages.dev/point-and-shoot-testing/
1•love2read•51s ago•0 comments

Show HN: AgentGuard – A high-performance Go proxy for AI agent guardrails

https://github.com/Caua-ferraz/AgentGuard
1•millimercure•2m ago•0 comments

Mindwave Emacs: A suite of neurological tools to use with Emacs

https://github.com/jonnay/mindwave-emacs
1•FergusArgyll•2m ago•0 comments

AI got the blame for the Iran school bombing. The truth is more worrying

https://www.theguardian.com/news/2026/mar/26/ai-got-the-blame-for-the-iran-school-bombing-the-tru...
1•cptroot•2m ago•0 comments

Why the Japanese PS3 Version of Sleeping Dogs Uses the PlayStation System Font

https://medium.com/@jestey/why-the-japanese-ps3-version-of-sleeping-dogs-uses-the-playstation-sys...
1•rickstanley•2m ago•0 comments

The Contract in Every API Call

https://shenli.dev/2026/03/26/hidden-contract-in-every-api-call.html
1•ericls•3m ago•0 comments

Vox: Speech-to-text for macOS. Hold a hotkey, speak, text appears at your cursor

https://github.com/mattthewong/vox
1•pkaeding•3m ago•0 comments

TeamPCP strikes again – telnyx popular PyPI library compromised

https://research.jfrog.com/post/team-pcp-strikes-again-telnyx-popular-library-hit/
1•homarp•4m ago•0 comments

A $0 graph traversal outperforms GPT-5.2 at finding bugs in PRs

https://therohansharma.com/inspect
1•abha2008•4m ago•0 comments

OpenAI's Codex Gets Plugins

https://thenewstack.io/openais-codex-gets-plugins/
1•xngbuilds•5m ago•0 comments

Interview Assist: Organize your job search and easily pull up info in interviews

https://apps.apple.com/us/app/interview-assist/id6760006388?mt=12
1•thomasruns•5m ago•1 comments

Swift on the Open VSX Registry

https://open-vsx.org/extension/swiftlang/swift-vscode
2•frizlab•7m ago•0 comments

VSCode Release v1.113

https://code.visualstudio.com/updates/v1_113
2•coderlens•7m ago•0 comments

Rate dependence in granular matter with application to tunable metamaterials

https://www.sciencedirect.com/science/article/pii/S2590238525006058
2•PaulHoule•7m ago•0 comments

FB-cpp: A modern C++ wrapper for the Firebird database API

https://github.com/asfernandes/fb-cpp
2•mariuz•8m ago•0 comments

Building a self-maintaining codebase for 10k users

https://ramplabs.substack.com/p/self-maintaining
7•yunyu•8m ago•0 comments

ChatGPT what time it is? [video]

https://www.youtube.com/shorts/idwB70yZ7vI
2•inaros•9m ago•0 comments

The Two Memories

https://summerlightning.substack.com/p/the-two-memories
3•jger15•12m ago•0 comments

The Emergence of Semantic Calibration in LLMs

https://machinelearning.apple.com/research/trained-on-tokens
2•gmays•13m ago•0 comments

Small Programming Tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
1•speckx•14m ago•0 comments

The cost of betting on weather catastrophes

https://aeon.co/essays/what-is-the-real-cost-of-betting-on-weather-catastrophes
1•rosietee•15m ago•0 comments

Show HN: Beeminder for Effective Charities

https://www.euzoia.org/p/finally-stick-to-your-habits
2•christoph123•15m ago•0 comments

Turboquant – Google breakthrough pressuring memory chip stocks

https://www.cnbc.com/2026/03/26/google-ai-turboquant-memory-chip-stocks-samsung-micron.html
1•coevcan•15m ago•0 comments

Amazon plans smartphone comeback more than a decade after Fire Phone flop

https://www.reuters.com/technology/amazon-plans-smartphone-comeback-more-than-decade-after-fire-p...
1•NN88•16m ago•0 comments

Netflix raises prices for every subscription tier by up to 12.5 percent

https://arstechnica.com/gadgets/2026/03/netflix-increases-prices-for-all-plans-by-up-to-2-per-month/
2•pseudolus•16m ago•0 comments

Delivery robots keep crashing into bus shelters

https://www.popsci.com/technology/delivery-robots-crash-bus-shelters/
2•Brajeshwar•17m ago•0 comments

Series about Scalability

https://steinacker.name/serien/skalierbarkeit/
1•gsteinacker•17m ago•1 comments