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. Start a local server.

    ./start_demo_server.sh
    
  7. 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.1a14.tar.gz (10.1 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.1a14-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autonomous_business-0.0.1a14.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.1a14.tar.gz
Algorithm Hash digest
SHA256 95d9442f84e4793822c4d6ba9b41a80c8661d6a3bc66b1cce9759c836f4fb30a
MD5 5908bec16f48890f4327f207fcefea39
BLAKE2b-256 e6579057ae582e35742a717c3d187c4aaf1217875b928780c1b4458bb4b39c11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autonomous_business-0.0.1a14-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.1a14-py3-none-any.whl
Algorithm Hash digest
SHA256 f99deb0d60fe44411a1a14eae9ef62dd70354e9318bdc39e0be7354a0ea46643
MD5 6732713fe5cd093495d2a7cf9f60d71c
BLAKE2b-256 09c942ca775074dce798bfa7ba784120368e7dc32d4eba01bf759ea255c69efd

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