diff --git a/README.md b/README.md index 150c5434..a6fccdc3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ +![Astra banner image](https://github.com/rte-design/docs/blob/main/assets/imgs/astra-banner.jpg?raw=true)
-[![Follow on X](https://img.shields.io/twitter/follow/ten_platform?logo=X&color=%20%23f5f5f5)](https://twitter.com/intent/follow?screen_name=ten_platform) +[![Follow on X](https://img.shields.io/twitter/follow/AstraAIAgent?logo=X&color=%20%23f5f5f5)](https://twitter.com/intent/follow?screen_name=AstraAIAgent) +![Product fee](https://img.shields.io/badge/pricing-free-blue.svg?labelColor=%20%239b8afb&color=%20%237a5af8) [![Discussion posts](https://img.shields.io/github/discussions/rte-design/astra.ai?labelColor=%20%23FDB062&color=%20%23f79009)](https://github.com/rte-design/astra.ai/discussions/) [![Commits](https://img.shields.io/github/commit-activity/m/rte-design/astra.ai?labelColor=%20%237d89b0&color=%20%235d6b98)](https://github.com/rte-design/astra.ai/graphs/commit-activity) [![Issues closed](https://img.shields.io/github/issues-search?query=repo%3Arte-design%2Fastra.ai%20is%3Aclosed&label=issues%20closed&labelColor=green&color=green)](https://github.com/rte-design/ASTRA.ai/issues) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/rte-design/ASTRA.ai/pulls) -[![GitHub license](https://img.shields.io/badge/License-Apache_2.0-blue.svg?labelColor=%20%239b8afb&color=%20%237a5af8)](https://github.com/rte-design/ASTRA.ai/blob/main/LICENSE) +[![GitHub license](https://img.shields.io/badge/License-Apache_2.0-blue.svg?labelColor=%20%23155EEF&color=%20%23528bff)](https://github.com/rte-design/ASTRA.ai/blob/main/LICENSE) [![Discord TEN Community](https://dcbadge.vercel.app/api/server/VnPftUzAMJ)](https://discord.gg/VnPftUzAMJ) @@ -18,7 +20,7 @@ 日本語 한국어 -[Documentation](https://astra-9.gitbook.io/ten-platform) +[Documentation](https://doc.theten.ai)   •   [Getting Started](https://astra-9.gitbook.io/ten-platform/getting-started/quickstart)   •   @@ -27,15 +29,15 @@

-

Voice agent: Astra

+

Astra - a multimodal agent

-[Voice agent: Astra](https://theastra.ai) +[Astra multimodal agent](https://theastra.ai) -Astra is a voice agent, powered by TEN, demonstrating its ability to create intuitive and seamless conversational interactions. +Astra is a multimodal agent powered by [ TEN ](https://doc.theten.ai), demonstrating its capabilities in speech, vision, and reasoning through RAG from local documentation. -[![Showcase Astra](https://github.com/rte-design/docs/blob/main/assets/gifs/astra-voice-agent.gif?raw=true)](https://theastra.ai) +[![Showcase Astra multimodal agent](https://github.com/rte-design/docs/blob/main/assets/gifs/astra-voice-agent.gif?raw=true)](https://theastra.ai)
-

How to build voice agent locally +

How to build Astra locally ### Prerequisites @@ -60,71 +62,86 @@ You will need to uncheck "Use Rosetta for x86_64/amd64 emulation on Apple Silico ### Next step #### 1. Modify config files -In the root of the project, create these files from the examples. They will be used to store information for Docker Compose later. +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. ```bash -# Create .env from the example cp ./.env.example ./.env - -# Create property.json from the example 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: -``` +Open the `.env` file and fill in the `keys` and `regions`. This is also where you can choose to use any different `extensions`: +```bash # Agora App ID and Agora App Certificate -# required: this variable must be set AGORA_APP_ID= +# Leave empty unless you have enabled the certificate within the Agora account. AGORA_APP_CERTIFICATE= -# Extension: agora_rtc # Azure STT key and region AZURE_STT_KEY= AZURE_STT_REGION= -# Extension: azure_tts # Azure TTS key and region AZURE_TTS_KEY= AZURE_TTS_REGION= -# Extension: openai_chatgpt # OpenAI API key OPENAI_API_KEY= ``` #### 3. Start agent development containers -In the same directory, run the `docker` command to compose containers: +In the same directory, run the `docker compose up` command to compose containers: ```bash -# Execute docker compose up to start the services docker compose up ``` -#### 4. Build agent and start server -Open up a separate terminal window, build the agent and start the server: +#### 4. Enter container and build agent +Open up a separate terminal window, enter the container and build the agent: ```bash -# Enter container to build agent docker exec -it astra_agents_dev bash make build +``` -# Once the build is done, run server on port 8080 +#### 5. Start the server +Once the build is done, `make run-server` on port `8080`: +```bash make run-server ``` ### Finish and verify 🎉 -#### Astra voice agent -Open up localhost:3000 in browser to test Astra voice agent. +#### Astra multimodal agent +Open up http://localhost:3000 in browser to test Astra multimodal agent. #### Graph designer -Open up another tab go to localhost:3001, and use graph designer to edit the flow and properties of any extensions. +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](https://github.com/rte-design/docs/blob/main/assets/gifs/graph-designer.gif?raw=true)

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 ](https://astra-9.gitbook.io/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 ](https://doc.theten.ai). + +
+

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

diff --git a/docs/readmes/README-CN.md b/docs/readmes/README-CN.md index e3daf25d..d2b5466e 100644 --- a/docs/readmes/README-CN.md +++ b/docs/readmes/README-CN.md @@ -22,7 +22,7 @@
-[文档](https://astra-9.gitbook.io/ten-platform) +[文档](https://doc.theten.ai)   •   [快速开始](https://astra-9.gitbook.io/ten-platform/getting-started/quickstart)   •   diff --git a/playground/src/platform/pc/description/index.tsx b/playground/src/platform/pc/description/index.tsx index 432e2a94..2b395d9b 100644 --- a/playground/src/platform/pc/description/index.tsx +++ b/playground/src/platform/pc/description/index.tsx @@ -87,7 +87,7 @@ const Description = () => { return
Description - Astra is an AI voice assistant powered by T.E.N framework, Deepgram, Eleven Labs, and ChatGPT. + Astra is a multimodal agent powered by TEN {!agentConnected ? "Connect" : "Disconnect"}