Skip to main content

AI Agent capable of automating various tasks using openai API: Vision, Dalle3, Text To Seech, Speech to Text, Tool calls and Completions.

Project description

Saiku.py - The AI Agent

Table of Contents

About

Saiku.py is a Python-based project aimed at creating a robust, intelligent AI Agent capable of automating various tasks. The agent follows the PEAS (Performance measure, Environment, Actuators, Sensors) framework, ensuring robustness, scalability, and efficiency.

Why Saiku?

"Saiku" (細工) in Japanese means detailed or delicate work, symbolizing the intricate and intelligent workings of our AI agent. The name reflects our commitment to precision, innovation, and advanced technology.

What is PEAS?

PEAS stands for Performance measure, Environment, Actuators, and Sensors. It's a framework used to describe the components of an intelligent agent:

  • Performance Measure: Evaluating the agent's performance
  • Environment: The operational domain of the agent
  • Actuators: Actions the agent can perform
  • Sensors: How the agent perceives its environment

Features

  • Python-based Modular Design
  • OpenAI GPT-4 Integration
  • Extensible and Customizable
  • Features include text_to_speech, speech_to_text, chat, websocket, execute_code, text_image, and vision (video/image analysis using OpenAI Vision).

Prerequisites

  • Python 3.8+
  • OpenAI API key

1. Using Saiku.py in Your Own Projects

Installation

  • Step: Run poetry add saiku.py in your project directory.

Usage

1. Initializing Saiku Agent

  • Example:
    from saiku import Agent
    agent = Agent()  # Initialize the agent
    

2. Configuring Saiku

  • Example Configuration:
    options = {
        "llm": "openai",
        "allowCodeExecution": True
    }
    agent.options(options)
    

3. Interacting with Saiku

  • Example Interaction:
    response = await agent.interact("Hello, how can I help you?")
    print(response)
    

2. Using the Project Itself

Usage

Clone the Repository

git clone https://github.com/your-repository/saiku.py.git

Navigate to Project Folder

cd saiku.py

Install Dependencies

poetry install

Run the Project Locally

poetry shell
saikupy

Demo

[Include a link to a demo or screenshots if available]

Available Actions

  • text_to_speech: Converts text to spoken audio.
  • speech_to_text: Transcribes spoken audio to text.
  • chat: Interactive chat with the AI.
  • websocket: Sets up a WebSocket server for real-time interaction.
  • execute_code: Executes a code snippet.
  • text_image: Generates an image based on text input.
  • vision: Analyzes videos or images using OpenAI Vision.

Use Cases

Example Use Cases

  • Transcribing audio to text
  • Extracting text from an image
  • Summarizing a long article
  • Executing a code snippet
  • Interactive chat with the AI
  • Analyzing videos or images for content

Future Features

[TODO: Include a list of planned features or enhancements]

Contributing

We welcome contributions! Please see our Contributing Guidelines for more information.

Support Saiku.py

We are actively seeking support and contributions. If you believe in Saiku.py, consider supporting the project.

Feedback and Issues

Please open an issue on our GitHub repository for any feedback or problems you encounter.

API Rate Limits/Cost

Be aware of the rate limits and costs associated with the OpenAI API.

Note

Saiku.py is still in development, and features are subject to change.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saiku_py-0.1.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

saiku_py-0.1.0-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file saiku_py-0.1.0.tar.gz.

File metadata

  • Download URL: saiku_py-0.1.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.12.0 Darwin/23.0.0

File hashes

Hashes for saiku_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 92a1dc14d72a79070a1796fa2b1fd6eb01ab4ee3ef5e137e58e16e1d1a02bd85
MD5 239497c8e53afdd5a1f899e0e9a2fd45
BLAKE2b-256 85529109c95022cf3c4d33f7fcbead0a049484945a1e447c6cd382ec8ebb4391

See more details on using hashes here.

File details

Details for the file saiku_py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: saiku_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.12.0 Darwin/23.0.0

File hashes

Hashes for saiku_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f79c909e508701a6e14187ac8d7d55aac66ef373e252aaf95d7caa536be52df9
MD5 1a7bca7d1e91e2c09dc95c8b8d0a72fa
BLAKE2b-256 f8a5029819a6026698fb70a0a7ecc9c754532227d7346fa350f8eba333e8fa46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page