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:
- Getting Started - 5-minute setup
- User Journey - Choose your path (Beginner/Intermediate/Advanced)
- Feature Selection - Which features do YOU need?
Core Guides:
- Architecture Advisor - AI-powered recommendations
- Learning Path - Learn by building (5 levels)
- Integrations - MCP, LangGraph, Databricks, A2A
- Advanced Features - Memory, Reasoning, Optimization, Benchmarking
Quick Links:
- Documentation Map - Complete navigation guide
- Examples - Working code examples
- Benchmarks - Evaluation suites
🛠️ 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
🚀 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)
🤝 Contributing
We welcome contributions! See our contribution guidelines (coming soon) or file an issue.
📄 License
MIT License - see LICENSE for details.
🔗 Links
- PyPI: https://pypi.org/project/sota-agent-framework/
- GitHub: https://github.com/somasekar278/universal-agent-template
- Documentation: DOCUMENTATION_MAP.md
⭐ 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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sota_agent_framework-0.4.3.tar.gz | 199.8 kB | Without provenance | Details for sota_agent_framework-0.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sota_agent_framework-0.4.3-py3-none-any.whl | Python 3 | none | any | Details for sota_agent_framework-0.4.3-py3-none-any.whl |
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
|
Security for sota-agent-framework 0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.