
This commit introduces detailed documentation files, including installation, configuration, API, agents, and an index. It also updates the README with new sections and registers the MIT license for the project. These changes aim to improve clarity and ease of use for developers and contributors.
2.2 KiB
web-agent-rs Documentation
Welcome to the documentation for web-agent-rs, a GenAIScript host for integration into conversational AI applications.
Table of Contents
- Installation Guide - How to install and set up the project
- Configuration Guide - Environment variables and configuration options
- API Documentation - API endpoints and usage examples
- Authentication - Authentication system documentation
- Agents Guide - How to create and use agents
Overview
web-agent-rs is a server that hosts GenAIScript agents for integration into conversational AI applications. It provides a simple API for creating and consuming stream resources that execute various agents to perform tasks like web search, news search, image generation, finance queries, and web scraping.
Architecture
The application is built with Rust using the Axum web framework. It uses GenAIScript for defining agent behavior and provides a streaming API for consuming agent responses.
Key Components
- Server - The main application server that handles HTTP requests and responses
- Agents - GenAIScript files that define agent behavior
- Handlers - Rust functions that process HTTP requests
- Authentication - FIPS204 signature-based authentication system
- Configuration - Environment variables for configuring the application
Getting Started
To get started with web-agent-rs, follow these steps:
- Read the Installation Guide to set up the project
- Configure the application using the Configuration Guide
- Learn how to use the API with the API Documentation
- Understand the authentication system with the Authentication documentation
- Create your own agents using the Agents Guide
Security Considerations
Please note that this project has not undergone a formal security assessment. You should do your own evaluation before using it in production environments.
Contributing
Contributions to web-agent-rs are welcome! Please feel free to submit issues and pull requests to improve the project.