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

๐Ÿค– Have a Use Case? (NEW! - AI-Powered)

# From text
sota-architect "Build a fraud detection system with memory and self-improvement"

# From document (txt, md, pdf, docx)
sota-architect --file requirements.txt
# โ†’ Instant architecture recommendation: Level, schemas, features, integrations!

Describe your use case in natural language or provide a document, get instant recommendations.

๐ŸŽ“ 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
  • ๐Ÿค– AI-Powered Tools - sota-architect (AI recommendations), sota-setup, sota-generate, sota-advisor, sota-benchmark, sota-learn
  • ๐Ÿ“š 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.4.1.tar.gz (191.8 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.4.1-py3-none-any.whl (223.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sota_agent_framework-0.4.1.tar.gz
  • Upload date:
  • Size: 191.8 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.4.1.tar.gz
Algorithm Hash digest
SHA256 1e6cf539c19c46fe5fc906cf8e02596f20b19fc55bc80dd8e21581e8b0af2e5d
MD5 68d7c159c54d5679c9462b459eff8e63
BLAKE2b-256 bc41afa0d0d8dd0b048da39841febe34cbe33092f7248085fb8cc3c2e7630cbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sota_agent_framework-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b28f5a9c3a5cea59dbd309396d27c76168c0e5ab6915529e3b9fc40cd07fa8be
MD5 39ac7b430412625daef650569b196f67
BLAKE2b-256 40f6bd6b67fdd614a8b2cac252c60da5f679bb87d03848083df15c0e13fcc094

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