# IC Backend Functionality - Communicating with a Desktop or Mobile Application

**URL:** <https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339>\
**Category:** Developers\
**Created:** [April 8, 2023, 7:03pm UTC](https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339 "2023-04-08T19:03:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![josephgranata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/josephgranata/32/21930_2.png) [@josephgranata](https://forum.dfinity.org/u/josephgranata)\
**Post date:** [April 8, 2023, 7:03pm UTC](https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339/1 "2023-04-08T19:03:33Z")

</div>

We are in the Architecture phase of an end user software we plan to build using the InternetComputer.

A key concern is whether the IC can be used as a reliable backend for a desktop or mobile application.

After reading about Canister support for HTTPS Outcalls it’s clear the communication can go from the IC to an app via HTTPS:

> **[HTTPS Outcalls | Internet Computer](https://internetcomputer.org/https-outcalls)**
>
> The HTTPS Outcalls feature allows the Internet Computer to make HTTPS requests in a distributed and secure manner, all approved by consensus. Oracles are now a thing of the past.

But what about the reverse? Can an application talk to a canister, and retrieve information, and establish a dialogue with the IC. Effectively making the IC the backend of a rich Desktop or mobile application?

If this is so, can you please point me to somewhere in the IC Rust docs to read more about it, or ideally an example.

Thanks, and Happy Easter!

---

<div class="post-metadata">

**Author:** ![Gekctek](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gekctek/32/6863_2.png) [@Gekctek](https://forum.dfinity.org/u/Gekctek)\
**Post date:** [April 8, 2023, 10:49pm UTC](https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339/2 "2023-04-08T22:49:17Z")

</div>

@josephgranata What you are looking for is an ‘Agent’. There is a list of agents for different languages here:

> **[GitHub - dfinity/awesome-internet-computer: A curated list of awesome...](https://github.com/dfinity/awesome-internet-computer#client-libraries-agents)**
>
> A curated list of awesome projects and resources relating to the Internet Computer Protocol - GitHub - dfinity/awesome-internet-computer: A curated list of awesome projects and resources relating t...

---

<div class="post-metadata">

**Author:** ![josephgranata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/josephgranata/32/21930_2.png) [@josephgranata](https://forum.dfinity.org/u/josephgranata)\
**Post date:** [April 9, 2023, 2:50am UTC](https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339/3 "2023-04-09T02:50:43Z")

</div>

Thank you Ethan! this confirms that the IC can be a backend for a suitable desktop or mobile app, this is great news.

Here is an example I found by following your suggestion:

> **[ic\_agent - Rust](https://docs.rs/ic-agent/latest/ic_agent/)**
>
> The \`ic-agent\` is a simple-to-use library that enables you to build applications and interact with the Internet Computer in Rust. It serves as a Rust-based low-level backend for the DFINITY Canister Software Development Kit (SDK) and the Canister SDK...

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [April 9, 2023, 7:25am UTC](https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339/4 "2023-04-09T07:25:27Z")

</div>

Never tried but you can also write desktop app with JS (e.g. [Tauri](https://tauri.app/), [Electron](https://www.electronjs.org/fr/)) and mobile app with JS (e.g. [Capacitor](https://capacitorjs.com/)) so I’m guessing you could use agent-js there too.

The tricky part is probably implementing the sign-in (if you need one in a webview) but that sound also duable I am guessing since Distrikt is a mobile app available in store.

---

<div class="post-metadata">

**Author:** ![josephgranata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/josephgranata/32/21930_2.png) [@josephgranata](https://forum.dfinity.org/u/josephgranata)\
**Post date:** [April 10, 2023, 8:36pm UTC](https://forum.dfinity.org/t/ic-backend-functionality-communicating-with-a-desktop-or-mobile-application/19339/5 "2023-04-10T20:36:27Z")

</div>

Thanks David @peterparker.

Yes we are exploring those options now.
