| Crates.io | vex-api |
| lib.rs | vex-api |
| version | 0.1.2 |
| created_at | 2025-12-14 22:32:50.656282+00 |
| updated_at | 2025-12-18 01:45:45.927394+00 |
| description | Industry-grade HTTP API gateway for VEX Protocol |
| homepage | |
| repository | https://github.com/provnai/vex |
| max_upload_size | |
| id | 1985202 |
| size | 186,318 |
Industry-grade HTTP API gateway for the VEX Protocol.
[dependencies]
vex-api = "0.1"
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(())
}
POST /agents - Create a new agentGET /agents/:id - Get agent by IDPOST /agents/:id/run - Execute agent taskGET /health - Health checkMIT License - see LICENSE for details.