Heuristic Autonomous Lab
Project description
HAL
Heuristic Autonomous Lab
Config
Create a config.json with the following content:
{
"GEMINI_API_KEY": "your gemini API key",
"MEMORY_DATA_PATH": "/path/to/the/memory/data.gz",
"EXEC_IMPORT": "import time, os, sys, json, yaml, scipy\nimport numpy as np\nimport matplotlib.pyplot as plt\n"
}
Get Started
import HAL
HAL.init() # initialization: loading memory, setting up display, etc.
# HAL.auto = 3 # auto-execution: HAL will automatically execute up to 3 steps
HAL.reset() # this reset HAL session
HAL("Do something") # main interface: query HAL
HAL() # continue without user input
API
# initialization
HAL.init("Name", _config=None)
# main interface
HAL(query=None)
# properties
HAL.auto = 0
HAL.session = {}
# session operations
HAL.reset()
HAL.save(path="session.json")
HAL.load(path="session.json")
# memory operations
HAL.search(query)
HAL.memorize(content, meta={ "source": HAL.name })
# low-level components
HAL.memory
HAL.display
# Agents
HAL.gather_document
HAL.sort
HAL.plan
HAL.answer
HAL.code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clelandlab_hal-0.0.0.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clelandlab_hal-0.0.0.tar.gz.
File metadata
- Download URL: clelandlab_hal-0.0.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c856807b78cacfd31190c395067898ac81b9f3fdfe5b787882809dc5d9af6028
|
|
| MD5 |
99dbdfb749970ce2652ef70fb06332be
|
|
| BLAKE2b-256 |
56a7ba649c906ab7dd4521048b7ad0fa6b7458ee93747e9f63ba5dfdc75c4d5c
|
File details
Details for the file clelandlab_hal-0.0.0-py3-none-any.whl.
File metadata
- Download URL: clelandlab_hal-0.0.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e2f673c7dc4853939b0d34c732139f2cbe16e03bb66f995d3c26e48cd90987
|
|
| MD5 |
5e8b0da2efa9f3d9c0000aada0e21b7c
|
|
| BLAKE2b-256 |
f7a3ba20b24d21ff43b81c981eb66dfd447d43ef2053fe66c76d34dcac62efb9
|