F# Interactive Service

The FsInteractiveService project provides a simple layer over the F# Interactive services from the F# Compiler Services project. It makes the service available as a stand-alone process that can be started and called via HTTP requests. It is very similar to the FsAutoComplete project, which provides similar out-of-process wrapper for F# Compiler IDE services.

The FsInteractiveService project can be used to build F# Interactive editor integration for editors that are not based on .NET such as Atom. For example, the following shows some of the features of the F# Interactive integration in Ionide.


  • Creating HTML printers discusses an extension that F# Interactive Service provides for formatting values as HTML objects. This can be done by registering a printer using fsi.AddHtmlPrinter.

  • Calling FsInteractiveService via HTTP shows how to start the FsInteractiveService.exe process in background and how to communicate with it using REST-based API over network. It shows different commands you can send and responses you'll get back.

  • Using IntelliSense services via HTTP discusses IntelliSense functionality exposed by the FsInteractiveService.exe process. This lets you get auto-completion in F# Interactive, access tooltips for objects in completion lists and get hints on method parameters.

Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.

The library is available under Public Domain license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.

F# Project
Fork me on GitHub