vex-api

Crates.iovex-api
lib.rsvex-api
version0.1.2
created_at2025-12-14 22:32:50.656282+00
updated_at2025-12-18 01:45:45.927394+00
descriptionIndustry-grade HTTP API gateway for VEX Protocol
homepage
repositoryhttps://github.com/provnai/vex
max_upload_size
id1985202
size186,318
0xQ (bulltickr)

documentation

README

vex-api

Industry-grade HTTP API gateway for the VEX Protocol.

Features

  • RESTful API - Full CRUD operations for agents
  • JWT Authentication - Secure API access
  • Rate Limiting - Protect against abuse
  • Circuit Breaker - Resilient external service calls
  • OpenTelemetry - Production observability

Installation

[dependencies]
vex-api = "0.1"

Quick Start

use vex_api::Server;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let server = Server::new()
        .bind("0.0.0.0:3000")
        .build()
        .await?;
    
    server.run().await?;
    Ok(())
}

API Endpoints

  • POST /agents - Create a new agent
  • GET /agents/:id - Get agent by ID
  • POST /agents/:id/run - Execute agent task
  • GET /health - Health check

License

MIT License - see LICENSE for details.

Commit count: 0

cargo fmt