Build LLM-powered systems as typed, testable Python software — not prompt strings
Project description
OpenSymbolicAI Core
Build LLM-powered systems as typed, testable Python software — not prompt strings.
The LLM plans once over your primitive signatures; execution is deterministic Python with no model in the loop. Inputs and outputs are typed variables.
Install
pip install opensymbolicai-core
Example
from opensymbolicai import PlanExecute, primitive, decomposition
class Calculator(PlanExecute):
@primitive(read_only=True)
def add(self, a: float, b: float) -> float:
"""Add two numbers."""
return a + b
@decomposition(intent="What is 2 + 3?")
def _example(self) -> float:
return self.add(a=2, b=3)
Documentation
Full docs, examples, benchmarks, and architecture: https://github.com/OpenSymbolicAI/core-py
License
MIT
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
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 opensymbolicai_core-0.8.0.tar.gz.
File metadata
- Download URL: opensymbolicai_core-0.8.0.tar.gz
- Upload date:
- Size: 105.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f74a25ef2930e9542ec5df7b94709a95f172cafcd1c465f9648986d9a627f0
|
|
| MD5 |
43df793baec3a335db2d8cedcbc74739
|
|
| BLAKE2b-256 |
9bc250760c5436cfd21f7a21daaaeb87423208fedeef45979566d96d5dbac924
|
File details
Details for the file opensymbolicai_core-0.8.0-py3-none-any.whl.
File metadata
- Download URL: opensymbolicai_core-0.8.0-py3-none-any.whl
- Upload date:
- Size: 67.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2460c1439561265c5bf193fe9e0009d7dd1fa021424d48d188507eadcf6c1a30
|
|
| MD5 |
77330bf88fd1892ae3f3658b5b5f9b7b
|
|
| BLAKE2b-256 |
80e7ae09a15bfeb9124c07510ee0123e25a3a71218888a4a743a837a02525a31
|