Skip to main content

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

Project description

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

# With features you need
pip install agent-framework[all]  # Everything
pip install agent-framework[databricks]  # Databricks integration
pip install 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 โ†’

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.2.tar.gz (198.1 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.2-py3-none-any.whl (229.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sota_agent_framework-0.4.2.tar.gz
  • Upload date:
  • Size: 198.1 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.2.tar.gz
Algorithm Hash digest
SHA256 2cb15974953e96750e06a49e95ad3cf58dbd8639ab1aa95be432e89a94e9de43
MD5 553a80f5ca0336b418ed661919d8d02c
BLAKE2b-256 57d43fc407d4c0c8157b4d7521b8e2428450e323550a70ba23399c60b484de70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sota_agent_framework-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ec5c89d278cfcb339b4b20b6809a117a339daa140aaad4ee64a5d97e6139898
MD5 71f83a8061032738eb9480db70906a95
BLAKE2b-256 1e29cfbdc9d193bd67c2bf40da2c0ccd8126b33d347a93dbece2beaa293fc362

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