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.9.tar.gz (43.0 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.9-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for just_agents_core-0.4.9.tar.gz
Algorithm Hash digest
SHA256 d2c5746cb7fc52a5df52cc2c5600a7221ee6691d30f380433cdaed66899c8e57
MD5 97c7425887e2c145fea8836d70dce401
BLAKE2b-256 ab0c22966683924f3707034e09420ad7ff1f06919f2c96e3d029825c0eb712e6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for just_agents_core-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 145bd124cbe9737f1e67e9acfc7a8e55b2f7e6c5b6e4f2487dfd895e389bfc56
MD5 550ce6a380cf7df21b5a09ef95cb046b
BLAKE2b-256 dcb6af5c81a8dfb9ac030ba08e303ea02bcdad19384662f9412950b3160c2f21

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