Ticos Agent
What is Ticos?
Ticos is an advanced Embodied AI platform for Humanoid Robotics. It provides a comprehensive suite of tools and frameworks for developing, deploying, and managing intelligent systems for humanoid robots. The Ticos Agent is a crucial component of this ecosystem, responsible for managing real-time audio streaming and interaction between robotic systems and the Ticos cloud infrastructure.
Overview
The Ticos Agent is an efficient and secure system designed for real-time audio streaming and interaction in robotic applications, with a focus on humanoid robotics. It serves as the bridge between the physical robot and the Ticos cloud platform, enabling real-time audio communication and AI-driven interactions.
Features
- Real-time audio streaming from robot to cloud
- Real-time audio playback from cloud to robot
- Extensible architecture for custom robot implementations
- Secure WebSocket-based communication
- Configurable audio parameters
- Easy-to-use command-line interface
Installation
To install the Ticos Agent, you can clone the repository and install using Poetry:
git clone https://github.com/tiwater/ticos-agent.git
cd ticos-agent
poetry install
Configuration
The Ticos Agent uses a YAML configuration file. By default, it looks for examples/conf/default.yaml. Here's an example configuration:
# Agent configuration
agent_id: "your_agent_id_here"
# Robot configuration
robot:
name: desktop_robot
type: builtin
module: desktop
class_name: DesktopRobot
config:
# Any parameters specific to the robot can be set here
# Streaming configuration
streaming:
ws_url: wss://api.ticos.ai/v1/realtime # WebSocket URL for real-time streaming
Usage
To run the Ticos Agent:
poetry run ticos
It will use the default configuration file.
Extending the Ticos Agent
The Ticos Agent supports custom robot implementations. To create a custom robot:
- Create a Python file in the
src/ticos_agent/robotsdirectory. - Implement a class that inherits from the
Robotabstract base class.
from ticos_agent.core.robot import Robot
class CustomRobot(Robot):
async def start_audio_stream(self):
# Implement audio stream initialization
async def get_audio_chunk(self):
# Implement audio chunk capture logic
def add_audio_to_play(self, audio_data: str, item_id: str):
# Implement audio playback logic
async def stop(self):
# Implement cleanup logic
You can look into the src/ticos_agent/robots/desktop/robot.py file for a built-in robot example.
Project Structure
src/ticos_agent/: Main package directorycore/: Core components (Agent, Robot base class, RealtimeStreamer)robots/: Robot implementationsutils/: Utility functions and classes__main__.py: Entry point for the application
Contributing
We welcome contributions to the Ticos Agent! Please see our Contributing Guide for more details.
License
The Ticos Agent is released under the MIT License.
Support
For support, please open an issue on our GitHub repository or contact our support team at support@ticos.ai.
Acknowledgements
The Ticos Agent is developed and maintained by the Tiwater team. We thank all our contributors and the open-source community for their valuable input and support.
Metadata
Release files for ticos-agent 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ticos_agent-0.5.4.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ticos_agent-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.7 kB
Release files / ticos_agent-0.5.4.tar.gz
| Download URL | ticos_agent-0.5.4.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67e386ae70c90619cae405e2d16392738ff4c87cafb2de6c6d2f45c31db99f62
|
|
BLAKE2b-256 checksum How to use checksums |
7a25852923a4f90b0677349c11d05a51c766edfc44cf455be98b0b9d1ccad5fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0
|
Release files / ticos_agent-0.5.4-py3-none-any.whl
| Download URL | ticos_agent-0.5.4-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
969b9db27e3e115c6fce28fc5b252844ed5c9755eb3ef5278b1986293aac6e2d
|
|
BLAKE2b-256 checksum How to use checksums |
e9ba28fe35688e57207781e9621cbbb4c0885d3f002465da8e6374c71ada030a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0
|