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.3.9.tar.gz
(40.9 kB
view details)
Built Distribution
File details
Details for the file just_agents_core-0.3.9.tar.gz
.
File metadata
- Download URL: just_agents_core-0.3.9.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 | 7a6c4e1435cda237250fc21ae0a7d6670041648d674bf3949cbc023ad381f7c9 |
|
MD5 | e1928d187e018fdbba31da0927f6f1bf |
|
BLAKE2b-256 | 38c2e31bcf7fc99341375d78c9f7e479a370dc9f91b330a721cbe9446b632f9d |
File details
Details for the file just_agents_core-0.3.9-py3-none-any.whl
.
File metadata
- Download URL: just_agents_core-0.3.9-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 | 7103c2d4885a2d4f02460b08107a7af8b5ad3a3a59271d98c7c25fc5c05c7a4b |
|
MD5 | f380ce602fe691e14dc67fa73786774a |
|
BLAKE2b-256 | 9ab54dd49869ac63b8795981139973147e0c3cef06d49d0015c3a15555c1aead |