Supported Frameworks
AIM integrates with popular AI agent frameworks in both Python and Java. Secure your agents regardless of the framework you choose.
Why Framework Integration Matters
Unified Security
Same security model across all frameworks
Auto-Detection
SDK detects framework from imports
Minimal Code
Add security with decorators/annotations
Choose Your Framework
LangChain
PythonPopular Python framework for building LLM applications with chains, agents, and tools.
Auto-detection from imports
Tool wrapping with @perform_action
Chain monitoring
LangChain4j
JavaJava port of LangChain for enterprise JVM applications.
@SecureAction annotations
@Tool integration
Spring Boot support
CrewAI
PythonFramework for orchestrating role-playing autonomous AI agents.
Multi-agent monitoring
Crew-level trust scores
Task tracking
Anthropic Claude
Python / JavaDirect integration with Anthropic Claude API for custom implementations.
Request/response logging
Token tracking
Cost monitoring
OpenAI
Python / JavaDirect integration with OpenAI GPT models.
Function call monitoring
Assistant API support
Usage analytics
Spring AI
JavaSpring framework for AI applications with native Spring Boot integration.
Spring Boot auto-config
Bean-level security
AOP integration
Quick Comparison
| Framework | Language | SDK | Best For |
|---|---|---|---|
| LangChain | Python | aim-sdk | Chain-based AI apps, RAG |
| LangChain4j | Java | aim-sdk | Enterprise JVM apps |
| CrewAI | Python | aim-sdk | Multi-agent orchestration |
| Anthropic / OpenAI | Python / Java | aim-sdk | Direct LLM integrations |
| Spring AI | Java | aim-sdk | Spring Boot microservices |