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
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 just_agents_core-0.4.1.tar.gz.
File metadata
- Download URL: just_agents_core-0.4.1.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.8.0-49-lowlatency
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aa5d0012ee3676b43bf467a9a8d5f9e1ea7b27e80e390ab48f6ccca9ad528ff
|
|
| MD5 |
b3b9fcc99abe93ebbfd452a38fa41c6b
|
|
| BLAKE2b-256 |
7f6f3552161e5cbe4b0f548ca6d1e2b9bd9c9c25f71ca7ea69d24f2aa271761d
|
File details
Details for the file just_agents_core-0.4.1-py3-none-any.whl.
File metadata
- Download URL: just_agents_core-0.4.1-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.8.0-49-lowlatency
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c02365b388c2ecb1d176927ecf17c19d94a0041abcdc924c19069657878b4a9d
|
|
| MD5 |
fe11752c1a8c91f584ead6604928bb8b
|
|
| BLAKE2b-256 |
d90af0a9ffbb7af380bc118e427ca5fef7d845fd5167e1cb3fc0d66352b95650
|