A minimal, general-purpose AI agent harness.
Project description
LitAgent
A minimal, general-purpose AI agent harness.
pip install litagent
from litagent.core import AgentLoop, Tool, OpenAIClient
agent = AgentLoop(
client=OpenAIClient(),
system_prompt="You are helpful.",
tools=[...],
max_turns=5,
)
result = await agent.run([{"role": "user", "content": "Hello"}])
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
litagent-0.0.1.tar.gz
(19.1 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
litagent-0.0.1-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file litagent-0.0.1.tar.gz.
File metadata
- Download URL: litagent-0.0.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
397e81d2b8d167bb5f01fad64cfa1e46dfeb35e7257fb5e95b2c4f047c0d04d0
|
|
| MD5 |
589e29cbf3ec4aa3b9c05e72efcc3327
|
|
| BLAKE2b-256 |
b51cba1ca16329ef96466f58982476afed3c5b5b7d10afb18041da3443f71617
|
File details
Details for the file litagent-0.0.1-py3-none-any.whl.
File metadata
- Download URL: litagent-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a14d8ec6096ed61af46a4040989120c066c2c50ea7348c9d4d86a4b5e3997bea
|
|
| MD5 |
581a92d474f0f2bf0c8f83abc877eb30
|
|
| BLAKE2b-256 |
7901e1ec57025e525a07ff862495d8e6c4e3866096d5a44c316961e25bcf762c
|