Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

JIVAS Web Server (jvserve)

GitHub release (latest by date) GitHub Workflow Status GitHub issues GitHub pull requests GitHub

jvserve is a FastAPI-based web server designed for loading and interacting with JIVAS agents. It is built on top of jac-cloud and provides a robust platform for managing jivas agent jobs, handling webhooks, and executing actions within the JIVAS ecosystem.

Installation

To install jvserve, use pip:

pip install jvserve

Usage

To use jvserve, you can start the server with the following command:

jac jvserve <path_to_your_jac_file>

For example:

jac jvserve main.jac

You can also start a file server to serve static files:

jac jvfileserve <directory>

For example:

jac jvfileserve ./static

Supported Arguments

  • filename: Path to your JAC file.
  • host: Host address to bind the server (default: localhost).
  • port: Port number to bind the server (default: 8000).
  • loglevel: Logging level (default: INFO).
  • workers: Number of worker processes (optional).

Example with all arguments:

jac jvserve main.jac --host 127.0.0.1 --port 8080 --loglevel DEBUG --workers 4

API Endpoints

  • Interact with Agent: /interact (POST)
  • Execute Webhook: /webhook/{key} (GET, POST)
  • Execute Action Walker: /action/walker (POST)

You can see all endpoints at the URL /docs.

🔰 Contributing

Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your GitHub account.
  2. Clone Locally: Clone the forked repository to your local machine using a git client.
    git clone https://github.com/TrueSelph/jvserve
    
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
    
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear message describing your updates.
    git commit -m 'Implemented new feature x.'
    
  6. Push to GitHub: Push the changes to your forked repository.
    git push origin new-feature-x
    
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
  8. Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
Contributor Graph

🎗 License

This project is protected under the Apache License 2.0. See LICENSE for more information.

Additional Information

Since jvserve is a wrapper around jac-cloud, it supports all the primitives available in jac-cloud. You can find more information about jac-cloud primitives here.

Metadata

Release files for jvserve 2.1.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jvserve 2.1.25
File Size Uploaded Provenance Actions
jvserve-2.1.25.tar.gz 24.3 kB Without provenance Details for jvserve-2.1.25.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jvserve 2.1.25
File Interpreter ABI Platform Actions
jvserve-2.1.25-py3-none-any.whl Python 3 none any Details for jvserve-2.1.25-py3-none-any.whl

Total release size: 45.9 kB

Release files / jvserve-2.1.25.tar.gz

Download URL jvserve-2.1.25.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
be6be4a602a4291fe0cb0cc63b64685221c006b6d42e69e5eb69b1956d2dd79b
BLAKE2b-256 checksum
How to use checksums
13d97f5fd8651173c48e7b797471ad44590bd141628f98f610c52833935afa56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / jvserve-2.1.25-py3-none-any.whl

Download URL jvserve-2.1.25-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66a42ceb3127e23afb8973fe9cb5f629a886be3d3c5f6e86db06d05fe0084dbf
BLAKE2b-256 checksum
How to use checksums
300422b57a3c70a8fee6c091a943d765df13e1c0717ca5dbde557648266ae57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for jvserve 2.1.25

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page