Skip to main content

Intelligent Intent Adaptive Execution Engine - 智能意图自适应执行引擎

Project description

🚀 AIForge - Intelligent Intent Adaptive Execution Engine

Python Textual FastAPI SentenceTransformers
PyPI version Downloads AI Powered License Stars
Development Status Development Status

Transform natural language instructions into executable code with AI-powered automation

🚀 Quick Start🧠 Core Features⚡ Installation🌐 Ecosystem


🎯 What is AIForge?

⚠️ Development Status: This project is currently in active development. APIs may change frequently as we iterate and improve.

🚧 Project Status: Actively developed, feedback and contributions welcome!

LOGO
AIForge is an intelligent execution engine that bridges the gap between natural language instructions and code execution. Through advanced instruction analysis and adaptive execution architecture, AIForge provides:

  • 🧠 Deep Understanding - Multi-dimensional instruction parsing with precise intent capture
  • Instant Execution - Rapid code generation with real-time environment interaction
  • 🔮 Smart Caching - Semantic similarity-based intelligent code reuse
  • 🌊 Self-Evolution - Continuous learning optimization with error self-healing
  • 🎭 Multi-Provider - Seamless switching between AI models and providers

✨ Core Features

🏗️ Multi-Interface Architecture

  • CLI Interface - Command-line tool for direct execution
  • Python API - Programmatic integration for applications
  • Web API - FastAPI-based REST interface
  • Terminal GUI - Interactive text-based user interface

🤖 LLM Provider Support

  • OpenAI - GPT models integration
  • DeepSeek - Cost-effective AI provider
  • OpenRouter - Multi-model access platform
  • Ollama - Local model execution

🔧 Advanced Execution Management

  • Template System - Domain-specific execution templates
  • Search Integration - Multi-engine search capabilities (Baidu, Bing, 360, Sogou)
  • Content Generation - Specialized content creation workflows

🛡️ Enterprise-Ready Features

  • Sandboxed Execution - Secure isolated code execution environment
  • Progress Tracking - Real-time execution status indicators
  • Error Handling - Comprehensive exception management and retry logic
  • Configuration Management - Flexible TOML-based configuration system

🔐 Enterprise Security Features

AIForge provides multi-layer security for safe AI code execution:

  • Sandbox Isolation: Process-level isolation with resource limits
  • Network Security: Four-tier policy control with smart domain filtering
  • Code Analysis: Dangerous pattern detection and safe module imports
  • Unified Middleware: Extensible security validation framework

🚀 Quick Start

Installation

# Basic installation  
pip install aiforge-engine  

# With optional dependencies  
pip install aiforge-engine[all]  # All features  
pip install aiforge-engine[gui]  # Terminal GUI support  
pip install aiforge-engine[web]  # Web API support  

Basic Usage

from aiforge import AIForgeEngine  

# Quick start with API key  
forge = AIForgeEngine(api_key="your-api-key")  

# Execute natural language instruction  
result = forge("Analyze global stock market trends and generate investment recommendations")  
print(result)  

Advanced Configuration

# Provider-specific configuration  
forge = AIForgeEngine(  
    api_key="your-deepseek-key",  
    provider="deepseek",  
    max_rounds=5,  
    cache_enabled=True  
)  

# Complex task execution  
result = forge.run(  
    "Build a real-time data monitoring system",  
    system_prompt="You are a senior software architect"  
)  

Configuration File Setup

# aiforge.toml  
workdir = "aiforge_work"  
max_tokens = 4096  
max_rounds = 5  
default_llm_provider = "openrouter"  

[llm.openrouter]  
type = "openai"  
model = "deepseek/deepseek-chat-v3-0324:free"  
api_key = "your-key"  
base_url = "https://openrouter.ai/api/v1"  
timeout = 30  
max_tokens = 8192  

# Load from configuration file  
forge = AIForgeEngine(config_file="aiforge.toml")  

🎭 Use Cases

💼 Business Intelligence

  • Market Analysis - Real-time data mining and trend prediction
  • Risk Assessment - Multi-dimensional risk model construction
  • Decision Support - Data-driven intelligent decision engines

🔬 Research & Development

  • Data Science - Automated experiment design and analysis
  • Model Training - Intelligent hyperparameter optimization
  • Research Assistance - Data visualization and presentation

🛠️ Development Acceleration

  • Prototype Validation - Rapid MVP construction
  • API Integration - Intelligent interface adaptation
  • DevOps Automation - System monitoring and maintenance

🎨 Creative Implementation

  • Content Generation - Multimedia content intelligent creation
  • Data Art - Transform data into visual art
  • Interactive Design - Smart UI/UX prototype generation

🤝 Development & Contributing

# Developer setup  
git clone https://github.com/iniwap/AIForge.git  
cd AIForge  
pip install -e ".[dev]"  

# Run tests  
pytest tests/  

📞 Connect & Support


🌟 Redefining the Boundaries of Possibility 🌟

AIForge - Where Intelligence Meets Execution

Get Started | View Documentation | Join Community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiforge_engine-0.0.7.tar.gz (159.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiforge_engine-0.0.7-py3-none-any.whl (212.3 kB view details)

Uploaded Python 3

File details

Details for the file aiforge_engine-0.0.7.tar.gz.

File metadata

  • Download URL: aiforge_engine-0.0.7.tar.gz
  • Upload date:
  • Size: 159.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aiforge_engine-0.0.7.tar.gz
Algorithm Hash digest
SHA256 0dc281ae59a3c4f41427d0f6ed082b3d694984ac8093b5cd742d9ceec57310a1
MD5 2555411b60e90b99e19fd44f5bb13c45
BLAKE2b-256 a939d521437ac62561fd1d1354a1485d369d71057b81a583637852accb7834d9

See more details on using hashes here.

File details

Details for the file aiforge_engine-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: aiforge_engine-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 212.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aiforge_engine-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7da9949873cbdbd839e53f515e35d6fdd7a72f1e6c2485ffcdb1cd56c6c16e6c
MD5 05f47a8455b9e7d570632494b214ecd1
BLAKE2b-256 7e697b5c03586a651ada23bec339a9edf54619ae6886bd792b9c2c85cc95d44b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page