Skip to main content

PyPI License

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
agent-architect "Build a fraud detection system with memory and self-improvement"

# From document (txt, md, pdf, docx)
agent-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!)

agent-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?

agent-setup  # Interactive wizard guides you through

🔧 Building an Agent?

agent-generate --domain "fraud_detection" --output ./my-agent
cd my-agent && agent-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 - agent-architect, agent-setup, agent-generate, agent-advisor, agent-benchmark, agent-learn, agent-deploy
  • 📚 8 Core Docs - Clear, concise, use-case driven
  • 🔍 Use-Case Guidance - Know exactly which features you need
  • 🚀 Deployment Ready - Docker, K8s, Databricks, Serverless templates included

🏗️ Technology Stack

Built on industry-leading technologies for production-grade AI agents:

Component Technology Production Config
Agent Runtime Databricks Apps (hot pools) min_instances: 2, scale_to_zero: false
LLM Inference Databricks Model Serving Always-on (no scale-to-zero)
Orchestration LangGraph + Databricks Workflows Plan → Act → Critique loops
Agent Memory Lakebase + Delta Lake (UC) Async vector + metadata queries
A2A Transport FastAPI/Starlette (in container) JSON-RPC 2.0, peer-to-peer
MCP Servers FastAPI/Starlette (in container) Tool/resource discovery
Telemetry OTEL → ZeroBus → Delta Lake Batch writes (10s/1000 events)
Prompt Registry Unity Catalog Volumes Version-controlled, auto-refresh
Prompt Optimization DSPy + TextGrad (offline jobs) Scheduled (nightly), no runtime overhead
Tracing & Evaluation Databricks MLflow Experiment tracking, model registry
Dashboards Databricks SQL Real-time agent metrics

📦 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!)
agent-learn              # Learn by building 5 progressively complex examples
agent-learn start 1      # Start Level 1: Simple Chatbot
agent-learn start 2      # Start Level 2: Context-Aware Assistant

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

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

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

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

# Deploy to production (NEW!)
agent-deploy init --platform kubernetes  # Generate deployment configs
agent-deploy build --tag v1.0.0          # Build Docker image
agent-deploy status                       # Check deployment readiness

🎯 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

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 Agent?

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 →

Metadata

Release files for sota-agent-framework 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sota-agent-framework 0.4.3
File Size Uploaded
sota_agent_framework-0.4.3.tar.gz 199.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sota-agent-framework 0.4.3
File Interpreter ABI Platform
sota_agent_framework-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 431.2 kB

Release files / sota_agent_framework-0.4.3.tar.gz

Download URL sota_agent_framework-0.4.3.tar.gz
Size 199.8 kB
Tags Source
SHA-256 checksum
How to use checksums
abdba7adee124777dafe28cf6b35807f81fb0408ecec12b0b5ddb2ce82213a1a
BLAKE2b-256 checksum
How to use checksums
35ff67aa17a92f7d290066d232146cc99a1a9ad1696805addffa21a17741a400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / sota_agent_framework-0.4.3-py3-none-any.whl

Download URL sota_agent_framework-0.4.3-py3-none-any.whl
Size 231.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7eb2b0456526984db2f1a0fbf4160a53b3c9017dbfe53c7ac098cc275c99d03a
BLAKE2b-256 checksum
How to use checksums
701966e0a0548ad03c93646a9ea5779b9788d5f4b1023b3148dd826abd01c7c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page