Darcy AI SDK

This is the official software development kit (SDK) for building on the Darcy AI platform.

To browse this document and all of the other documentation on a local web server, run the docs.sh script and then visit http://localhost:8000.

Introducing the Darcy AI platform

Darcy is an artificial intelligence (AI) that is focused on real-time interactions with the world. It has a variety of senses, such as vision and hearing, that allow it to perceive the local environment. You can give Darcy additional senses, such as LiDAR or thermal vision, to expand its capabilities. Darcy is present in every device where a Darcy AI application is running. It runs entirely in each device. No data needs to leave the device and no computation is done in the cloud.

Darcy was designed to bring AI technology into the real world while keeping privacy and security as top priorities. Building real-time AI applications is very challenging. The Darcy AI SDK is a developer platform for computer vision and other applications which handles all of the most difficult and repetitive problems for you so you can focus on building amazing solutions.

With the Darcy AI SDK, you get everything you need to build real-time AI applications. If you can write web applications with Node.js or you have moderate Python experience, then you can develop a fully functioning AI app with Darcy. The SDK comes with documentation, build instructions, example applications, and more.

How to use this SDK

Use this document and the other markdown files in this directory to learn about the Darcy AI platform and to get started. The guide documents will take you from an absolute beginner to building and deploying your own Darcy AI applications. The docs folder contains the full technical Darcy AI programming documentation.

To browse this document and all of the other documentation on a local web server, run the docs.sh script and then visit http://localhost:8000.


The examples folder contains a diverse set of sample applications that you can use as a reference or as a start of your own Darcy AI application. The code is commented to help you understand what to do and when to do it. Here are some short descriptions to help you understand what examples are available. Some example applications are stored in their own code repositories to make learning and building easier.

  • Darcy AI Explorer - this demo application is a rich showcase of what the Darcy AI system can do. Use the source code as a model for building a full-featured production application. https://github.com/darcyai/darcyai-explorer

  • Real-time Audio Analysis - Build and deploy this Darcy AI demo application to learn how to add audio capabilities to Darcy and listen for important sounds. Audio Analysis

  • Basic Darcy AI Pipeline - Use this demo application to learn the basics of creating a Darcy AI pipeline. Basic Pipeline

  • Sample Output Stream - Learn how to create a Darcy AI output stream by adding this example to your application. The example sends your Darcy AI output to an Amazon Web Services S3 bucket. Output Stream

  • Sample Perceptors - Learn how to build your own Darcy AI perceptors with the examples in this directory. There is a basic mock perceptor that you can use as a template. There is a face detector perceptor that uses an AI model to find faces. There is also a face mask detector perceptor that checks a person's face for a mask. Perceptors

  • Heart Rate Demo - this demo application is a good example of how to build an edge application that is made of multiple microservices that communicate with each other. https://github.com/darcyai/heart-rate-demo

  • Sample Build Files - Get a sample Dockerfile in this folder so you don't have to create one from scratch. Build Files

  • Sample Deployment Files - Get a sample application YAML file in this folder so you can just replace the default values and deploy your edge AI application easily. Deployment Files

What you need

You will need some hardware to run your Darcy AI application. Darcy can generally run on any device or computer with a Google Coral AI accelerator. Darcy AI applications are packaged into Docker containers, so the operating system can be Linux, Mac OS X, or Windows provided that the Docker container runtime is installed.

System requirements

  • ARM or x86 CPU (two or more cores recommended)
  • Google Coral AI accelerator (more than one Coral increases performance for many applications)
  • 512MB of RAM (4GB or more recommended)
  • Camera (required for using Darcy with live video)
  • Internet connectivity (wired Ethernet or WiFi)
  • 200MB available disk space (1GB or more recommended and your application size will vary)
  • Docker container runtime

Darcy ready developer kits and edge boards

Getting started

If you haven't already become familiar with the Darcy AI platform terminology, check out this Terminology Guide to get up to speed quickly.

The best way to get started with Darcy is to see it in action. Start by trying out the Darcy AI Explorer application in the Darcy Explorer Guide.

When you are ready to create, you can launch your Darcy AI developer journey with the Getting Started Guide.


Learn how to package your Darcy AI application into a container that includes all of the dependencies needed to run with the Build Guide.

To prepare your Raspberry Pi board as a development environment for building Darcy AI applications, follow the Raspberry Pi Environment Setup Guide.


Learn how to deploy your Darcy AI application to your edge devices using the Darcy Cloud in the Deployment Guide.


Open the Darcy AI technical documentation to search and browse the API with code examples. This is a local documentation site that will run directly in your browser. The documentation is specific to each version of the Darcy AI SDK so it's the best place to reference when building. To browse this document and all of the other documentation on a local web server, run the docs.sh script and then visit http://localhost:8000.

If you prefer to access the latest Darcy AI developer documentation with an internet connection, use Hosted Darcy AI Documentation.


Getting help

Python packages for Darcy AI

Darcy Cloud

Deploy and manage edge applications including Darcy AI applications with the Darcy Cloud. Create an account for free at https://cloud.darcy.ai