Just Agents - Base Package
Project description
just-agents-core
A lightweight, straightforward core library for LLM agents - no over-engineering, just simplicity!
🎯 Core Features
- 🪶 Lightweight base agent implementations
- 📝 Simple string-based agent interactions
- 🔧 YAML-based prompt templating
- 🤖 LLM model integration through litellm
- 🔄 Chain of Thought reasoning capabilities
🏗️ Core Components
BaseAgent
A thin wrapper around litellm for basic LLM interactions. Provides:
- Simple prompt management
- Direct LLM communication
- Memory handling
ChatAgent
The fundamental building block for agent interactions:
from just_agents.simple.chat_agent import ChatAgent
from just_agents.simple.llm_options import LLAMA3_2_VISION
agent = ChatAgent(
llm_options=LLAMA3_2_VISION,
role="assistant",
goal="help the user",
task="answer questions"
)
ChainOfThoughtAgent
Extended agent with reasoning capabilities and function calling:
from just_agents.patterns.chain_of_throught import ChainOfThoughtAgent
agent = ChainOfThoughtAgent(
tools=[your_function],
llm_options=LLAMA3_2_VISION
)
📚 Usage
This core package is typically used as a dependency by other just-agents packages. For full usage examples and documentation, please refer to the main repository.
🔧 Installation
pip install just-agents-core
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
just_agents_core-0.4.0.tar.gz
(40.9 kB
view details)
Built Distribution
File details
Details for the file just_agents_core-0.4.0.tar.gz
.
File metadata
- Download URL: just_agents_core-0.4.0.tar.gz
- Upload date:
- Size: 40.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e7b9bd0fc6eff800bc4aaff96efeb5e17b68f935dd4658f180857c98992dda |
|
MD5 | e53516f16e0d55098ebc33982b59a140 |
|
BLAKE2b-256 | 8c00de45d3b4dab9daf342561c079f93cac31e9f724b9858f981c060facc59eb |
File details
Details for the file just_agents_core-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: just_agents_core-0.4.0-py3-none-any.whl
- Upload date:
- Size: 55.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4718ce833a45651dee27c9c0d372cb14663f5567fda12ff5a5c8b0bb57c9d7ab |
|
MD5 | 1e564875bb22fd8151dce04587b4ad88 |
|
BLAKE2b-256 | f0f59366d342f8d4ab449e4457c3266451d1861ab20560f773c4d86cce866421 |