Tono
Tono is a framework for building autonomous AI agents.
Features
- 🔋 Batteries included - Tono provides a basic set of tools for building autonomous AI agents
- 🚀 Automatic tool definition inference from function definition and reStructuredText docstrings
- ✨ Support for OpenAI models
- ✨ Support for Anthropic models
Installation
You can install Tono using pip:
pip install "tono[all]"
If you only want to use the OpenAI models, run:
pip install "tono[openai]"
Alternatively, if you would only like to use the Anthropic models, run:
pip install "tono[anthropic]"
Quickstart
Here is a simple example of how to use Tono to build an autonomous AI agent:
import openai
from tono import Agent
from tono.models.openai import CompletionClient
from tono.tools import http_request, write_to_file
openai_client = openai.OpenAI(api_key="your-api-key")
client = CompletionClient(client=openai_client)
agent = Agent(
name="gpt-agent",
client=client,
tools=[write_to_file, http_request],
context=[
{
"role": "assistant",
"content": "You are a helpful assistant that...",
}
],
)
agent.start(objective="Use the supplied tools to...")
Contributing
We are passionate about supporting contributors of all levels of experience and would love to see you get involved in the project. See the contributing guide to get started.
License
Tono is licensed under the MIT License.
Metadata
Release files for tono 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tono-0.1.3.tar.gz | 39.9 kB | Without provenance | Details for tono-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tono-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for tono-0.1.3-py3-none-any.whl |
Total release size: 54.9 kB
Release files / tono-0.1.3.tar.gz
| Download URL | tono-0.1.3.tar.gz |
|---|---|
| Size | 39.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2e53c2cc4eb0d4ce17b57d31095d7885e037c2160adccc28392c52f059bc6ae
|
|
BLAKE2b-256 checksum How to use checksums |
160ffb511b0da07a1a0d6bf8dddad6d17f04b2daed1104e40e8d8c83ce05284f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / tono-0.1.3-py3-none-any.whl
| Download URL | tono-0.1.3-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb64365c10f3c9fe21fea3bd7228172203be4442371fa6f0f335b324fb073f4f
|
|
BLAKE2b-256 checksum How to use checksums |
4d51cb42dd7a230eba2f6e2ecb1b7c8b0c615177128eb5d1700718c372e4326b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for tono 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.