Skip to main content

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


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.6.tar.gz (41.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

just_agents_core-0.4.6-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file just_agents_core-0.4.6.tar.gz.

File metadata

  • Download URL: just_agents_core-0.4.6.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.8.0-50-lowlatency

File hashes

Hashes for just_agents_core-0.4.6.tar.gz
Algorithm Hash digest
SHA256 882c788cfc4bd971afcc0ea1bb2332028b1e8d48230f4b9ffd4b2ac6938e115f
MD5 23da17f7d90e7d325243e819d12468c6
BLAKE2b-256 43c942cbace24013a0914782e57bd2f33edb31c224e406ee3a4aff1aaf0e3ccb

See more details on using hashes here.

File details

Details for the file just_agents_core-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: just_agents_core-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.8.0-50-lowlatency

File hashes

Hashes for just_agents_core-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9598cceab5adfa54def18645d1b06dced9a14434bad4af80cafd3595e0034467
MD5 73eb5cf0a57adea62b762756ba6a4f7f
BLAKE2b-256 1a60485e3c7c6805cddf1aafbb36c178e9110c8e2b0b1b7750b9bf00e30a211f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page