Skip to content

Prototyping AI architectures in a node based editor.

License

Notifications You must be signed in to change notification settings

ndrohith09/AISandbox

 
 

Repository files navigation

logo

( In Development, pre-alpha ) Something like Figma, but for designing AI systems. Maintained by Shubhamai.

GitHub Repo stars License Response Time

About

AISandbox is a node-based editor that allows creating an architecture of multiple models with inputs and outputs to perform a range of tasks. Think of Figma but for designing AI systems graphically.

Note that is still in development, pre-alpha.

Features

  • Graphical Editor - Create a graph of models, with inputs and outputs.
  • REST API - Run the graph as an API, with a single click.
  • Self Hosted - Entire application can be self-hosted.
  • Dashboard - Manage your projects, and view usage statistics.

Documentation

Documentation | API Reference

To run the graph as an API, the code is programmatically generated in the UI, but here's a sample code

from aisandbox import execute_project

project_id: str = "91392237-fc87-48b4-b83c-59c6ce0aad9d"

api_key: str = "ais-4ad62b20-74ab-4f55-a5df-856007db6261"


inputs = [{"id": "TextInputNode-dU-gccjt6igEbAVFnYs4x", "data": {"text": "Hello!"}}]

output = execute_project(project_id, api_key, inputs)

print(output.json())

Tech Stack

Front end

Backend

Infrastructure

  • The site is deployed on cloudflare self hosted on Digitalocean $7 droplet, with cloudflare as reverse proxy.

Self Hosting

(In progress)

To self-host this application ( at least some of it ), follow the steps :

  • Fill up the following API keys in .env.example, then rename it to .env.
  • Make an account of supabase, and create the following DBs with types provided in
  • Run pnpm dev.

Acknowledgements

About

Prototyping AI architectures in a node based editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.2%
  • JavaScript 1.2%
  • Other 2.6%