semvec/pypi-packages huggingface dataset:
expertflow-ai 0.1.1
A lightweight library for multi-persona AI agent routing and state management.
Requires Python: >=3.11.4

# ExpertFlow AI 🔀

**ExpertFlow AI** is a lightweight Python library for building multi-persona AI agents. It solves the "State Management" problem in conversational AI by providing a robust mechanism to:

1.  **Route** user intent to the correct "Expert" (Persona).
2.  **Manage** conversation history, ensuring context is preserved during handoffs.
3.  **Optimize** context windows by pruning stale system prompts and hints.

## Features

*   **Dynamic Router:** Hot-swap system prompts based on user intent classification.
*   **Context Pruning:** Automatically sanitizes chat history to save tokens and reduce hallucinations.
*   **Framework Agnostic:** Designed to work with any LLM provider (Google Gemini, OpenAI, Anthropic), though currently optimized for Google GenAI.

## Installation

```bash
pip install expertflow-ai
```

## CLI Usage

ExpertFlow comes with a CLI to quickly scaffold new projects with best-practice templates.

```bash
# Initialize a new project
expertflow init my_agent_project

# Navigate to the project
cd my_agent_project

# Run the agent
python main.py
```

This generates a folder structure with:
*   `main.py`: The entry point for your agent.
*   `prompts/`: Directory containing system prompts for the Orchestrator and Experts.

## Quick Start

```python
from expertflow import Agent, Router, ConversationManager, GeminiLLM

# 1. Define your Agents
orchestrator = Agent(
    name="orchestrator",
    system_prompt="You are a helpful assistant. Route complex queries to experts.",
    description="General queries, greetings, and routing."
)

marketing_expert = Agent(
    name="marketing",
    system_prompt="You are a marketing guru. Focus on growth and SEO.",
    description="Questions about marketing, SEO, and growth."
)

# 2. Initialize Router
router = Router(agents=[orchestrator, marketing_expert], default_agent=orchestrator)

# 3. Manage Conversation
# Set debug=True to see detailed routing logs and state changes
manager = ConversationManager(router=router, llm=GeminiLLM(), debug=True)

user_input = "How do I improve my SEO?"
response = manager.process_turn(message=user_input)

print(f"Agent: {response.agent_name}")
print(f"Reply: {response.content}")
```
spaceformers 0.0.1
spaceformers - turn any space into a scene...
Requires Python: >=3.9

# spaceformers

spaceformers - turn any space into a scene...

**Status:** Under active development. Full release coming soon.

## About

Spatial Intelligence is pioneering the next generation of artificial intelligence, enabling machines to understand, construct, and interact with the 3D world with unprecedented accuracy and efficiency.

Repository: [Coming Soon]

For more information: [spatial-intelligence.co.uk](spatial-intelligence.co.uk)  
For inquiries: [hello@spatial-intelligence.co.uk](mailto:hello@spatial-intelligence.co.uk)