Skip to main content

Domain-agnostic agent framework for integrating AI agents into data pipelines

Project description

PyPI License

SOTA Agent Framework

Production-ready template for building AI agent workflows in any domain.

Build intelligent agents with memory, reasoning, optimization, and seamless Databricks integration. Start simple, scale to autonomous systems.


๐Ÿš€ Quick Start

Installation

# Basic (core features only)
pip install sota-agent-framework

# With features you need
pip install sota-agent-framework[all]  # Everything
pip install sota-agent-framework[databricks]  # Databricks integration
pip install sota-agent-framework[optimization]  # DSPy + TextGrad

Choose Your Path

๐ŸŽ“ Want to Learn? (NEW!)

sota-learn  # Interactive learning mode - build 5 progressively complex examples

Learn by building: chatbot โ†’ context-aware โ†’ production API โ†’ complex workflow โ†’ autonomous multi-agent

๐Ÿš€ New to Agents?

sota-setup  # Interactive wizard guides you through

๐Ÿ”ง Building an Agent?

sota-generate --domain "fraud_detection" --output ./my-agent
cd my-agent && sota-advisor .  # Get recommendations

โšก Expert?

# Use the framework as a library
from agents import Agent, AgentRouter
from memory import MemoryManager
from orchestration import AgentWorkflowGraph

๐Ÿ“– See complete getting started guide โ†’
๐ŸŽ“ See learning path โ†’


โœจ Key Features

Core Framework

  • โšก Multiple Execution Modes - In-process, parallel, Ray, serverless
  • ๐Ÿ”Œ Pluggable Architecture - Use only what you need
  • ๐Ÿ“ Type-Safe Schemas - Pydantic models throughout
  • โš™๏ธ YAML Configuration - Infrastructure as code

Agent Intelligence

  • ๐Ÿง  Agent-Governed Memory - Smart storage, retrieval, reflection, forgetting
  • ๐ŸŽฏ Reasoning Optimization - Trajectory tuning, CoT distillation, self-improvement
  • ๐Ÿ”„ Plan-Act-Critique Loops - LangGraph-powered orchestration
  • ๐Ÿค A2A Protocol (Official) - Linux Foundation standard for cross-framework agent communication
  • ๐Ÿ“Š Comprehensive Benchmarking - 6+ metrics, regression testing

Production Ready

  • ๐Ÿข Databricks Native - Unity Catalog, Delta Lake, MLflow integration
  • ๐Ÿ“ˆ Complete Observability - OpenTelemetry, execution graphs, trace replay
  • ๐Ÿ”ง Prompt Optimization - DSPy & TextGrad for auto-tuning
  • ๐ŸŒ REST & WebSocket APIs - Production services included
  • ๐ŸŽ›๏ธ Experiment Tracking - Feature flags, A/B testing, MLflow

Developer Experience

  • ๐ŸŽฏ Progressive Disclosure - Strong defaults for beginners, full control for experts
  • ๐Ÿค– CLI Tools - sota-setup, sota-generate, sota-advisor, sota-benchmark
  • ๐Ÿ“š 8 Core Docs - Clear, concise, use-case driven
  • ๐Ÿ” Use-Case Guidance - Know exactly which features you need

๐Ÿ“ฆ Use Cases

Works for any agent workflow:

  • ๐Ÿ”’ Fraud Detection & Risk Analysis
  • ๐Ÿ’ฌ Customer Support & Chatbots
  • ๐Ÿ“ Content Moderation
  • ๐Ÿฅ Healthcare & Diagnostics
  • ๐Ÿ” Data Quality & Anomaly Detection
  • ๐Ÿ“Š Analytics & Report Generation
  • ๐Ÿค– Your Use Case Here

๐Ÿ“– Documentation

Start Here:

  1. Getting Started - 5-minute setup
  2. User Journey - Choose your path (Beginner/Intermediate/Advanced)
  3. Feature Selection - Which features do YOU need?

Core Guides:

Quick Links:


๐Ÿ› ๏ธ CLI Tools

# ๐ŸŽ“ Interactive learning mode (NEW!)
sota-learn              # Learn by building 5 progressively complex examples
sota-learn start 1      # Start Level 1: Simple Chatbot
sota-learn start 2      # Start Level 2: Context-Aware Assistant

# Interactive setup wizard (use-case based)
sota-setup

# Generate new project
sota-generate --domain "your_domain" --output ./project

# Analyze project & get recommendations
sota-advisor ./project

# Run benchmarks & evaluations
sota-benchmark run --suite fraud_detection --report md

๐ŸŽฏ Feature Selection Guide

Use Case Memory Reasoning Optimization Monitoring LangGraph
Simple Chatbot โšช Optional โŒ No โŒ No โšช Optional โŒ No
Context-Aware Agent โœ… Yes โšช Optional โšช Optional โœ… Yes โšช Optional
Production API โšช Optional โŒ No โšช Optional โœ… Yes โŒ No
Complex Workflows โœ… Yes โœ… Yes โšช Optional โœ… Yes โœ… Yes
Autonomous Agent โœ… Yes โœ… Yes โœ… Yes โœ… Yes โœ… Yes

๐Ÿ“– See detailed feature guide โ†’


๐Ÿ—๏ธ Architecture

SOTA Agent Framework
โ”œโ”€โ”€ agents/           # Core agent classes & registry
โ”œโ”€โ”€ memory/           # Agent-governed memory system
โ”œโ”€โ”€ reasoning/        # Trajectory optimization & feedback
โ”œโ”€โ”€ optimization/     # DSPy & TextGrad prompt optimization
โ”œโ”€โ”€ orchestration/    # LangGraph workflows
โ”œโ”€โ”€ evaluation/       # Benchmarking & metrics
โ”œโ”€โ”€ visualization/    # Databricks-native observability
โ”œโ”€โ”€ telemetry/        # OpenTelemetry โ†’ Delta Lake
โ”œโ”€โ”€ uc_registry/      # Unity Catalog integration
โ”œโ”€โ”€ experiments/      # Feature flags & A/B testing
โ”œโ”€โ”€ monitoring/       # Health checks & metrics
โ”œโ”€โ”€ services/         # REST API & WebSocket
โ””โ”€โ”€ infra/            # Terraform for Databricks

๐Ÿ“– See detailed architecture โ†’


๐Ÿš€ Example: Fraud Detection Agent

from agents import Agent, CriticalPathAgent
from memory import MemoryManager
from orchestration import AgentWorkflowGraph

# Define agent
class FraudDetectorAgent(CriticalPathAgent):
    async def process(self, input_data):
        # Check memory for similar cases
        similar = await self.memory.retrieve(
            query=f"transaction {input_data.transaction_id}",
            top_k=5
        )
        
        # Run detection
        result = await self.detect_fraud(input_data)
        
        # Store in memory
        await self.memory.store(result, importance="HIGH")
        
        return result

# Use with LangGraph for complex workflows
workflow = AgentWorkflowGraph(agent_router=router)
workflow.add_node("planner", PlannerNode())
workflow.add_node("detector", FraudDetectorAgent())
workflow.add_node("critic", CriticNode())

result = await workflow.run(transaction_data)

๐Ÿ“– See more examples โ†’


๐Ÿค Contributing

We welcome contributions! See our contribution guidelines (coming soon) or file an issue.


๐Ÿ“„ License

MIT License - see LICENSE for details.


๐Ÿ”— Links


โญ What Makes This SOTA?

Unlike orchestration-only or research-only agent frameworks, SOTA Agent ships a complete agentic development stack including autonomous planning loops, agent-governed memory, reasoning trajectory optimization, prompt auto-tuning, benchmark harnesses, and governed deployment โ€” built for real data pipelines and production SLAs

โœ… Agent-Governed Memory - Not just storage, intelligent decisions
โœ… Plan-Act-Critique Loops - True autonomous workflows
โœ… Reasoning Optimization - Learn from execution trajectories
โœ… Comprehensive Benchmarking - Track performance over time
โœ… Databricks Native - Production-ready from day one
โœ… Progressive Disclosure - Works for beginners AND experts
โœ… Modular Design - Use only what you need

๐Ÿš€ Get started now โ†’

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

sota_agent_framework-0.3.0.tar.gz (174.2 kB view details)

Uploaded Source

Built Distribution

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

sota_agent_framework-0.3.0-py3-none-any.whl (211.6 kB view details)

Uploaded Python 3

File details

Details for the file sota_agent_framework-0.3.0.tar.gz.

File metadata

  • Download URL: sota_agent_framework-0.3.0.tar.gz
  • Upload date:
  • Size: 174.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for sota_agent_framework-0.3.0.tar.gz
Algorithm Hash digest
SHA256 97ebb00aeeb5f14c498e758175a9705c6033a741af48dbcd9a646053dfea396a
MD5 f2534622b3c59c0a95e51b3300c84e88
BLAKE2b-256 de659dd747f41ea3c0614c57d84ae8601b61fb2ed2c9d9e907f3081ac10ac47d

See more details on using hashes here.

File details

Details for the file sota_agent_framework-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sota_agent_framework-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa254a4ee73ee48d4cbe498538cabace132813a922d73756852e7c3cef95aebc
MD5 7df0ee888dcd4249688d2f2e5e4d9eb3
BLAKE2b-256 cf19b6ce857cb68e141c084c98e817a4a0fdc26aab360286e4794989b757848f

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