Rust-based language/framework for AI app development
Top 87.5% on sourcepulse
AIScript is a novel programming language and web framework built in Rust, designed for effortless AI application development. It targets developers building AI-powered APIs, prototypes, and microservices, offering a Python-like syntax with Rust's performance and safety.
How It Works
AIScript features a custom interpreter with first-class functions, OOP support, and built-in AI primitives like prompt
and agent
. It combines dynamic typing with optional static checks and Rust-inspired error handling. The web framework leverages axum
and sqlx
for high performance, offering an intuitive route DSL, automatic parameter validation, and OpenAPI schema generation, aiming for Flask-like simplicity with Rust's efficiency.
Quick Start & Requirements
cargo install aiscript
.OPENAI_API_KEY
environment variable for OpenAI integration.Highlighted Details
prompt
, ai fn
, agent
)./redoc
).std.db.pg
, std.db.redis
).Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
AIScript is in early development and not recommended for production use. Specific limitations or unsupported features are not detailed in the README.
2 months ago
1 week