Skip to main content

A New Paradigm for Content Generation via Agentic Orchestration

Project description

Vibe AIGC

CI codecov PyPI Python 3.12+ License: MIT Docs

A New Paradigm for Content Generation via Agentic Orchestration

Based on arXiv:2602.04575

📚 Documentation | 🚀 Quick Start | 📖 API Reference


What is Vibe AIGC?

Vibe AIGC bridges the Intent-Execution Gap in AI content generation. Instead of prompt engineering, you provide a Vibe — a high-level representation of your creative intent — and the system automatically decomposes it into executable workflows.

from vibe_aigc import MetaPlanner, Vibe

# Express your intent
vibe = Vibe(
    description="Create a cinematic sci-fi trailer",
    style="dark, atmospheric, Blade Runner aesthetic",
    constraints=["under 60 seconds", "no dialogue"]
)

# Let the Meta-Planner handle the rest
planner = MetaPlanner()
result = await planner.execute(vibe)

Architecture (Paper Section 5)

The implementation follows the paper's three-part architecture:

Component Purpose Module
MetaPlanner Decomposes Vibes into workflows vibe_aigc.planner
KnowledgeBase Domain expertise for intent understanding vibe_aigc.knowledge
ToolRegistry Atomic tools for content generation vibe_aigc.tools
from vibe_aigc import MetaPlanner, Vibe, create_knowledge_base, create_default_registry

# The full architecture
kb = create_knowledge_base()  # Film, writing, design, music knowledge
tools = create_default_registry()  # LLM, templates, combine tools

planner = MetaPlanner(knowledge_base=kb, tool_registry=tools)

# Query knowledge for "Hitchcockian suspense" → technical specs
result = kb.query("Hitchcockian suspense")
# Returns: camera techniques, lighting specs, editing patterns

Features

  • 🎯 Vibe-based Planning — High-level intent → executable workflows
  • 🧠 Domain Knowledge — Built-in expertise for film, writing, design, music
  • 🔧 Tool Library — Pluggable tools for actual content generation
  • Parallel Execution — Independent nodes run concurrently
  • 🔄 Adaptive Replanning — Automatic recovery from failures
  • 💾 Checkpoint/Resume — Save and restore workflow state
  • 📊 Progress Tracking — Real-time callbacks and visualization
  • 🎨 Workflow Visualization — ASCII and Mermaid diagrams

LLM Providers

Vibe AIGC supports multiple LLM backends with auto-detection:

Provider API Key Model Example
OpenAI OPENAI_API_KEY gpt-4
Anthropic ANTHROPIC_API_KEY claude-sonnet-4-20250514
Ollama None (local) qwen2.5:14b
from vibe_aigc import MetaPlanner, LLMConfig

# Auto-detect (checks env vars, falls back to Ollama)
planner = MetaPlanner()

# Explicit Ollama (no API key needed!)
config = LLMConfig.for_ollama(
    host="http://localhost:11434",  # or your GPU server
    model="qwen2.5:14b"
)
planner = MetaPlanner(llm_config=config)

# Explicit OpenAI
config = LLMConfig.for_openai(model="gpt-4o")
planner = MetaPlanner(llm_config=config)

Installation

pip install vibe-aigc

CLI Usage

# Generate a workflow plan
vibe-aigc plan "Create a blog post about AI" --style "informative" --format ascii

# Execute a vibe
vibe-aigc execute "Design a landing page" --visualize --checkpoint

# Manage checkpoints
vibe-aigc checkpoints --list

Quick Example

import asyncio
from vibe_aigc import Vibe, MetaPlanner

async def main():
    vibe = Vibe(
        description="Write a blog post about AI agents",
        style="informative, engaging",
        constraints=["under 1000 words"]
    )
    
    planner = MetaPlanner()
    result = await planner.execute_with_visualization(vibe)
    
    print(f"Status: {result.get_summary()['status']}")

asyncio.run(main())

Architecture

User Vibe → MetaPlanner → Agentic Pipeline → Execution → Result
     ↑                           ↓
     └──── Feedback Loop ────────┘

Documentation

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

License

MIT — see LICENSE for details.

Citation

@article{vibe-aigc-2025,
  title={Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestration},
  journal={arXiv preprint arXiv:2602.04575},
  year={2025}
}

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

vibe_aigc-0.7.1.tar.gz (207.2 kB view details)

Uploaded Source

Built Distribution

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

vibe_aigc-0.7.1-py3-none-any.whl (189.2 kB view details)

Uploaded Python 3

File details

Details for the file vibe_aigc-0.7.1.tar.gz.

File metadata

  • Download URL: vibe_aigc-0.7.1.tar.gz
  • Upload date:
  • Size: 207.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for vibe_aigc-0.7.1.tar.gz
Algorithm Hash digest
SHA256 3656ca8063a5519c3b50c0730afb927314ab9220ced4b8addf757cbc1cdb5635
MD5 a00a01d7106ad1608d1aaa4c0cdc3b93
BLAKE2b-256 ca579a94325e3c82c41cc5172d1920163da74816ab3df596c3bda00e5e617c3c

See more details on using hashes here.

File details

Details for the file vibe_aigc-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: vibe_aigc-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 189.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for vibe_aigc-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 730581d96949459e592ab1586c68e54dae8bb10156279adb590fb4f26c1cdfc5
MD5 f072e1817b26fe7b212b3d54ef5fd241
BLAKE2b-256 ff85d49acfaf0806827d0c29f6c1611a4a22750f98311cc9d5b063e82e779217

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