Skip to main content

Autonomous business system

Project description

Autonomous Business System

To run the demo:

  1. Install uv: https://github.com/astral-sh/uv

  2. Create a new uv project

    uv init autobus_test
    
  3. Place your OpenAI API key in the file .env at the project directory. There should be one line in .env:

    OPENAI_API_KEY=<your OpenAI key>
    
  4. Install autobus

    uv add autonomous-business
    
  5. Create sample data. A sqlite database file 'db.sqlite' will be created in the sub-directory database.

    uv run -m autobus.demo.create_sample_data
    
  6. Execute the 3 tasks. Task 1 and 2 can run in parallel. Task 3 depends on the outcomes of Tasks 1 and 2.
    Each task comprises two steps:

    1. Invoke the AUTOBUS core AI agent to generate a Prolog program
    2. Execute the generated Prolog program

    Task 1:

    uv run -m autobus.demo.task_1
    uv run -m autobus.util.run_prolog generated/task_1_logic.pl
    

    Task 2:

    uv run -m autobus.demo.task_2
    uv run -m autobus.util.run_prolog generated/task_2_logic.pl
    

    Task 3:

    uv run -m autobus.demo.task_3
    uv run -m autobus.util.run_prolog generated/task_3_logic.pl
    

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

autonomous_business-0.0.1a9.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

autonomous_business-0.0.1a9-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file autonomous_business-0.0.1a9.tar.gz.

File metadata

  • Download URL: autonomous_business-0.0.1a9.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for autonomous_business-0.0.1a9.tar.gz
Algorithm Hash digest
SHA256 3759c9673305028d4f61f960b95b9d04b18d353bc14fdc809af94d22435c55af
MD5 e397ee607b49e83341120252c1e4288b
BLAKE2b-256 3c358b932a63fcf891cc4fd8873989188d419761c94f3c8e3dbd5e7dd40e3bec

See more details on using hashes here.

File details

Details for the file autonomous_business-0.0.1a9-py3-none-any.whl.

File metadata

  • Download URL: autonomous_business-0.0.1a9-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for autonomous_business-0.0.1a9-py3-none-any.whl
Algorithm Hash digest
SHA256 24e3190215a178723f97690896b070736042fd2e8b62e8472b266dd723252f8e
MD5 dfdaa702686882c97c9944bc27d77dd2
BLAKE2b-256 8f9cd1e987b6049fa204afaf51c217a58afeab48ab3ea65d3a1f98c7b3dcbe77

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