Skip to main content

Just Agents - Web. It allows runing openai API for the agent in the browser.

Project description

just-agents-web

A web API wrapper for just-agents that provides OpenAI-compatible endpoints. This package allows you to expose just-agents functionality through a REST API that follows OpenAI's API conventions, making it easy to integrate with existing applications that use OpenAI's API format.

Installation

pip install just-agents-web

Features

  • 🔄 OpenAI-compatible REST API endpoints
  • 🤖 Wrap any just-agents agent as an API service
  • 🔌 Drop-in replacement for OpenAI API clients
  • 🛠️ Built on just-agents-core

Dependencies

  • just-agents-core
  • FastAPI
  • pydantic

Quick Start

from just_agents_web import create_app
from just_agents.simple.chat_agent import ChatAgent

agent = ChatAgent(...)
app = create_app(agent)

For detailed documentation and examples, visit our main repository.

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_web-0.4.1.tar.gz (3.1 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_web-0.4.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file just_agents_web-0.4.1.tar.gz.

File metadata

  • Download URL: just_agents_web-0.4.1.tar.gz
  • Upload date:
  • Size: 3.1 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

Hashes for just_agents_web-0.4.1.tar.gz
Algorithm Hash digest
SHA256 1ec3a2027b01faa8eb802467ba696bf700010017fdd290f6e07e42a5c0a8f119
MD5 66edf4679379e9f438fdca741d1c530e
BLAKE2b-256 5917fdcd9ddb74a6fef073599b7eaee6390cbec902eacb8efb4f3eef23eb49a1

See more details on using hashes here.

File details

Details for the file just_agents_web-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: just_agents_web-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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

Hashes for just_agents_web-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7138c491d46a2acd33e1c8a1ec343b1941aeda6c79cbed9927184d757007e6c3
MD5 167fe229355f75cdb86414687af11dc8
BLAKE2b-256 b3eac80f43af5511c759aff6726baa7236c99d2618ba69aec3f770c512317ae8

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