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.5.tar.gz (3.8 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.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: just_agents_web-0.4.5.tar.gz
  • Upload date:
  • Size: 3.8 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_web-0.4.5.tar.gz
Algorithm Hash digest
SHA256 cf2368e0139dde92a2a70b89015b7552b01578c9914cad3afc3adf79b09f8523
MD5 edb6f7e6ffdcb474754dc4ac2070ed12
BLAKE2b-256 e1aba3b1fce36b6fa3377ce3bac7b1df2da8366ab1722d105e72665772c3dc13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: just_agents_web-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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_web-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7c24bea232d76b6621e96c351337c8957036ff15baf364104008e72b8e9d0f97
MD5 d820c4b7ac72286b9cf668ec494b98ad
BLAKE2b-256 9d1279966ce59d2d22ccd5209c4b706b5b23d2b626d376a31c59c92b751b2248

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