ASTRA.ai

ASTRA.ai

A lightning-fast workflow builder, it supports multimodal interaction, highly customizable extensions, and is intuitive to use even without any coding knowledge.

Stars: 288

Visit
 screenshot

ASTRA is an open-source platform designed for developing applications utilizing large language models. It merges the ideas of Backend-as-a-Service and LLM operations, allowing developers to swiftly create production-ready generative AI applications. Additionally, it empowers non-technical users to engage in defining and managing data operations for AI applications. With ASTRA, you can easily create real-time, multi-modal AI applications with low latency, even without any coding knowledge.

README:

Astra banner image

Follow on X Product fee Discussion posts Commits Issues closed PRs Welcome GitHub license

Discord TEN Community

GitHub watchers GitHub forks GitHub stars

README in English 简体中文 日本語 한국어

Documentation   •   Getting Started   •   Tutorials


Astra - a multimodal agent

Astra multimodal agent

Astra is a multimodal agent powered by TEN , demonstrating its capabilities in speech, vision, and reasoning through RAG from local documentation.

Showcase Astra multimodal agent

How to build Astra locally

Prerequisites

Keys

Installation

Minimum system requirements

  • CPU >= 2 Core
  • RAM >= 4 GB

Docker setting on Apple Silicon

You will need to uncheck "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option for Docker if you are on Apple Silicon, otherwise the server is not going to work.

Docker Setting

Next step

1. Modify config files

In the root of the project, use the following command to create .env and ./agents/property.json from the examples.

They will be used to store information for docker compose later.

cp ./.env.example ./.env
cp ./agents/property.json.example ./agents/property.json

2. Setup API keys

Open the .env file and fill in the keys and regions. This is also where you can choose to use any different extensions:

# Agora App ID and Agora App Certificate
AGORA_APP_ID=
# Leave empty unless you have enabled the certificate within the Agora account.
AGORA_APP_CERTIFICATE=

# Azure STT key and region
AZURE_STT_KEY=
AZURE_STT_REGION=

# Azure TTS key and region
AZURE_TTS_KEY=
AZURE_TTS_REGION=

# OpenAI API key
OPENAI_API_KEY=

3. Start agent development containers

In the same directory, run the docker compose up command to compose containers:

docker compose up

4. Enter container and build agent

Open up a separate terminal window, enter the container and build the agent:

docker exec -it astra_agents_dev bash
make build

5. Start the server

Once the build is done, make run-server on port 8080:

make run-server

Finish and verify 🎉

Astra multimodal agent

Open up http://localhost:3000 in browser to test Astra multimodal agent.

Graph designer

Open up another tab go to http://localhost:3001, and use graph designer to edit the flow and properties of any extensions.

TEN Graph Designer


TEN Platform

Now that you’ve created your first AI agent, the creativity doesn't stop here. To develop more amazing agents, you’ll need an advanced understanding of how the TEN service works under the hood. Please refer to the TEN platform documentation .


TEN Feature Comparison

Features TEN Dify LangChain Flowise
Opensourced Multimodal Agent
Python, Go, and C++ for Extensions
All-in-one Package Manager
RTC Transportation
Extension Store
RAG
Workflow Builder
Local Deployment

Stay Tuned

Before we dive further, be sure to star our repository and get instant notifications for all new releases!

TEN star us gif


Join Community


Code Contributors

TEN


Contribution Guidelines

Contributions are welcome! Please read the contribution guidelines first.


License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for ASTRA.ai

Similar Open Source Tools

For similar tasks

For similar jobs