just-agents-web


Namejust-agents-web JSON
Version 0.4.9 PyPI version JSON
download
home_pageNone
SummaryJust Agents - Web. It allows runing openai API for the agent in the browser.
upload_time2025-01-17 22:00:00
maintainerAnton Kulaga
docs_urlNone
authorAlex Karmazin
requires_python<4.0,>=3.10
licenseMIT
keywords python llm web agents ai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```bash
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

The project subpublish run-agent script, so you can run any agent yaml by running:

```bash
run-agent path/to/agent.yaml
```

You can also do it with few lines of python code:
```python
from just_agents.web.run_agent import run_agent_server

run_agent_server(Path("agent_profiles.yaml"))
```

We also provide AgentRestAPI class that you can extend and add your methods to agent endpoint.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "just-agents-web",
    "maintainer": "Anton Kulaga",
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": "antonkulaga@gmail.com",
    "keywords": "python, llm, web, agents, AI",
    "author": "Alex Karmazin",
    "author_email": "karmazinalex@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/99/03/63af87cf6d84b4352ad5644581453291a660c202ddee854c5814de086ac3/just_agents_web-0.4.9.tar.gz",
    "platform": null,
    "description": "# just-agents-web\n\nA 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.\n\n## Installation\n\n```bash\npip install just-agents-web\n```\n\n## Features\n\n- \ud83d\udd04 OpenAI-compatible REST API endpoints\n- \ud83e\udd16 Wrap any just-agents agent as an API service\n- \ud83d\udd0c Drop-in replacement for OpenAI API clients\n- \ud83d\udee0\ufe0f Built on just-agents-core\n\n## Dependencies\n\n- just-agents-core\n- FastAPI\n- pydantic\n\n## Quick Start\n\nThe project subpublish run-agent script, so you can run any agent yaml by running:\n\n```bash\nrun-agent path/to/agent.yaml\n```\n\nYou can also do it with few lines of python code:\n```python\nfrom just_agents.web.run_agent import run_agent_server\n\nrun_agent_server(Path(\"agent_profiles.yaml\"))\n```\n\nWe also provide AgentRestAPI class that you can extend and add your methods to agent endpoint.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Just Agents - Web. It allows runing openai API for the agent in the browser.",
    "version": "0.4.9",
    "project_urls": null,
    "split_keywords": [
        "python",
        " llm",
        " web",
        " agents",
        " ai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45a985d689b8b4982d3f6e3e3fe3ce1b5736d5bfca0a708b04e58f82ea775cb2",
                "md5": "5c4474bc79c5064c472b884291f03b1e",
                "sha256": "8980dd0d1832f7bb218fed352eb7bc4dae43b816ca2572e79c2d7f7db81e2a5c"
            },
            "downloads": -1,
            "filename": "just_agents_web-0.4.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5c4474bc79c5064c472b884291f03b1e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 7999,
            "upload_time": "2025-01-17T21:59:57",
            "upload_time_iso_8601": "2025-01-17T21:59:57.714921Z",
            "url": "https://files.pythonhosted.org/packages/45/a9/85d689b8b4982d3f6e3e3fe3ce1b5736d5bfca0a708b04e58f82ea775cb2/just_agents_web-0.4.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "990363af87cf6d84b4352ad5644581453291a660c202ddee854c5814de086ac3",
                "md5": "1f66b3cec1a3f2d8c683c56d5852efa7",
                "sha256": "20ee4b4507fc15c707b3488574928045acc95779b5d3e78e6fe9396ce23fd0c0"
            },
            "downloads": -1,
            "filename": "just_agents_web-0.4.9.tar.gz",
            "has_sig": false,
            "md5_digest": "1f66b3cec1a3f2d8c683c56d5852efa7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 6417,
            "upload_time": "2025-01-17T22:00:00",
            "upload_time_iso_8601": "2025-01-17T22:00:00.491458Z",
            "url": "https://files.pythonhosted.org/packages/99/03/63af87cf6d84b4352ad5644581453291a660c202ddee854c5814de086ac3/just_agents_web-0.4.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-17 22:00:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "just-agents-web"
}
        
Elapsed time: 0.94038s