Domain-agnostic agent framework for integrating AI agents into data pipelines
Project description
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:
- 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
๐ 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)
๐ค 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/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
๐ Get started now โ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cb15974953e96750e06a49e95ad3cf58dbd8639ab1aa95be432e89a94e9de43
|
|
| MD5 |
553a80f5ca0336b418ed661919d8d02c
|
|
| BLAKE2b-256 |
57d43fc407d4c0c8157b4d7521b8e2428450e323550a70ba23399c60b484de70
|
File details
Details for the file sota_agent_framework-0.4.2-py3-none-any.whl.
File metadata
- Download URL: sota_agent_framework-0.4.2-py3-none-any.whl
- Upload date:
- Size: 229.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ec5c89d278cfcb339b4b20b6809a117a339daa140aaad4ee64a5d97e6139898
|
|
| MD5 |
71f83a8061032738eb9480db70906a95
|
|
| BLAKE2b-256 |
1e29cfbdc9d193bd67c2bf40da2c0ccd8126b33d347a93dbece2beaa293fc362
|