aiconfig  by lastmile-ai

AIConfig: config framework for generative AI apps

created 1 year ago
1,040 stars

Top 36.8% on sourcepulse

GitHubView on GitHub
Project Summary

AIConfig is an open-source framework designed to streamline the development of production-grade generative AI applications. It targets developers and researchers by separating AI configurations—prompts, models, and parameters—from application code, enabling version control, evaluation, and rapid prototyping. This separation simplifies application code and facilitates iterative AI development.

How It Works

AIConfig uses a config-based approach, storing AI logic in JSON-serializable files. This allows prompts, model parameters, and chaining logic to be managed independently of application code. The framework provides SDKs for Python and Node.js, enabling seamless integration into existing applications. A key feature is the AIConfig Editor, available as a VS Code extension or a standalone web application, which offers a visual interface for creating, editing, and testing AI configurations.

Quick Start & Requirements

  • Python: pip3 install python-aiconfig
  • Node.js: npm install aiconfig or yarn add aiconfig
  • Prerequisites: Requires an OpenAI API key (export OPENAI_API_KEY='your-key').
  • Editor: VS Code extension or run aiconfig edit --aiconfig-path=<your-config>.json.
  • Documentation: Getting Started Tutorial

Highlighted Details

  • Model-agnostic and multimodal SDKs supporting text, image, and audio models.
  • Supports various models including OpenAI, Gemini, LLaMA, and Hugging Face models.
  • Extensible architecture for custom model parsers and callback event handlers.
  • Visual editor for rapid prototyping and iteration on prompts and model settings.

Maintenance & Community

The project releases new versions weekly and welcomes contributions. Community engagement is encouraged via Discord (#aiconfig channel) and GitHub issues. A public roadmap is available.

Licensing & Compatibility

The project appears to be licensed under Apache 2.0, allowing for commercial use and integration with closed-source applications.

Limitations & Caveats

While designed to be model-agnostic, out-of-the-box support is limited to specific models; others require custom ModelParser implementation. The project is under active development with weekly releases, suggesting potential for breaking changes.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
1
Star History
24 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeffrey Morgan Jeffrey Morgan(Cofounder of Ollama), and
1 more.

modelfusion by vercel

0.3%
1k
TypeScript library for building AI applications
created 2 years ago
updated 1 year ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
12 more.

opencode by sst

8.7%
16k
CLI tool for AI-assisted coding in the terminal
created 3 months ago
updated 7 hours ago
Feedback? Help us improve.