converge-runtime

Crates.ioconverge-runtime
lib.rsconverge-runtime
version0.1.0
created_at2026-01-08 08:37:05.241937+00
updated_at2026-01-08 08:37:05.241937+00
descriptionConverge HTTP/gRPC/TUI runtime server
homepage
repositoryhttps://github.com/kpernyer/converge
max_upload_size
id2029754
size96,898
Kenneth Pernyer (kpernyer)

documentation

https://docs.rs/converge-runtime

README

Converge Runtime

HTTP, gRPC, and TUI server for the Converge Agent OS.

Features

  • HTTP Server (Axum) - Fully implemented

    • REST API for job submission
    • Health and readiness endpoints
    • Structured logging and tracing
  • gRPC Server (Tonic) - Prepared, not implemented

    • Structure in place for future implementation
    • Protobuf schema to be defined
  • TUI (ratatui) - Prepared, not implemented

    • Structure in place for future terminal interface
    • Job monitoring and visualization to be added

Building

# Build runtime
cargo build --release

# Run HTTP server
cargo run

# Run with tracing
RUST_LOG=info cargo run

API Endpoints

  • GET /health - Health check
  • GET /ready - Readiness check
  • POST /api/v1/jobs - Submit a job

Configuration

Configuration is loaded from environment variables (to be expanded with config crate).

Default HTTP server binds to 0.0.0.0:8080.

Architecture

The runtime uses:

  • Tokio for async I/O (HTTP server)
  • Rayon (via converge-core) for parallel agent execution
  • Axum for HTTP routing and middleware
  • tracing for structured logging

See docs/development/RAYON_TOKIO_INTEGRATION.md for details on how Rayon and Tokio work together.

Commit count: 124

cargo fmt