Agenterprise - Model-Driven AI Agent Development
Define your AI architecture once. Deploy with any tech stack. Scale without vendor lock-in.
Why Agenterprise?
Building enterprise AI agents is complex. You juggle: - Multiple AI agents that need to communicate (a2a) - Choosing between FastAPI, PydanticAI, Pydantic, Redis... - Rapid iteration between architecture and implementation - Avoiding tech stack lock-in
Agenterprise solves this with Model-Driven Development:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1. Write your AI architecture in Agenterprise DSL β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
Define agents, tools, data, infrastructure β
β β
Technology-agnostic, version-independent β
β β
Built-in Agent-to-Agent (a2a) support β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 2. Generator creates production-ready project β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
FastAPI service layer with a2a routing β
β β
PydanticAI agents with built-in a2a support β
β β
Pydantic data validation & schemas β
β β
Redis Streams for agent coordination β
β β
Docker & deployment artifacts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 3. Extend & Deploy β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
Add custom code in ext/ (never overwritten) β
β β
Fork stacks for technical customization β
β β
Regenerate anytime without losing your code β
β β
Deploy to Docker, Kubernetes, or serverless β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key Differentiators
π€ Built-in Agent-to-Agent (a2a) Communication
Multi-agent systems require seamless coordination. Agenterprise has a2a communication baked into its AI and Service layersβno add-ons needed.
π Tech Stack Flexibility
- Write your DSL once
- Swap FastAPI β other frameworks
- Change PydanticAI β LangChain
- Add middleware (Redis, RabbitMQ, etc.)
- Same architecture, different implementation
π¦ From PoC to Enterprise
- Quick PoC: Generate minimal stack with FastAPI + PydanticAI
- Scale Up: Add Redis middleware for multi-agent coordination
- Enterprise Ready: Customize templates, extend in designated code zones
ποΈ Model-Driven Architecture
- Decouples what (architecture) from how (technology)
- Version your architecture independently of frameworks
- Migrate tech stacks without rewriting your AI logic
Quick Start: 3 Steps
1οΈβ£ Write Your DSL
Define your AI environment in Agenterprise's simple, human-readable language:
ai_environment "MyAgentApp" {
architecture {
envid = "unique-project-id"
service-techlayer = aiurn:techlayer:github:www.github.com:agenterprise:service-layer-fastapi-base
ai-techlayer = aiurn:techlayer:github:www.github.com:agenterprise:ai-layer-pydanticai
data-techlayer = aiurn:techlayer:github:www.github.com:agenterprise:data-layer-pydantic
agentic-middleware-techlayer = aiurn:techlayer:github:www.github.com:agenterprise:agentic-middleware-layer-redistream
}
}
See the full DSL documentation for more.
2οΈβ£ Generate Your Project
agenterprise --code-generation --dsl mydsl.dsl --target ./my-agent-app
Get a production-ready project with: - Complete FastAPI service - Agent definitions with PydanticAI - Data models with Pydantic - Docker & deployment configuration (Dockerfile, docker-compose, deployment scripts) - README and docs - Ready to deploy to Kubernetes, Docker, or serverless platforms
3οΈβ£ Extend & Deploy
- Add custom logic in designated
ext/folders - Regenerate anytime without losing your code
- Deploy to Docker, Kubernetes, or serverless
Two Paths to Extensibility
Agenterprise is designed to be extended endlessly:
1οΈβ£ Technical Extensibility: Extend Tech Stacks
Fork and customize any stack for your needs:
Official Stack (fastapi-base)
β
Your Fork (my-fastapi-enhanced)
β
Use in DSL: aiurn:techlayer:local:..:templates:my-fastapi-enhanced
- Clone any stack from GitHub
- Modify for your specific requirements
- Reference locally or share with the community
- Create entire new layers (e.g., custom LLM integration, alternative databases)
Result: Unlimited tech stack combinations tailored to your needs.
2οΈβ£ Functional Extensibility: Extend Generated Projects
Every generated application has designated extension points:
Generated Code (safe to regenerate)
β
ext/ folder (your custom code - never overwritten)
β
Your Business Logic & Custom Features
- Write custom agents, tools, and services in
ext/ - Regenerate the base project anytimeβyour code stays intact
- Add business logic without touching generated files
- Iterate your architecture, keep your implementation
Result: Seamless iteration between architecture (DSL) and implementation (custom code).
Available Tech Stacks
Choose from curated, actively maintained stacks (Alpha stage). This is just the beginningβthe ecosystem will grow with community contributions:
| Stack | Purpose | Highlights |
|---|---|---|
| service-layer-fastapi-base | REST API layer | Async, Auto OpenAPI docs, a2a routing |
| ai-layer-pydanticai | Agent orchestration | Type-safe, built-in a2a support, Multi-LLM |
| data-layer-pydantic | Data validation | JSON schema, Custom validators |
| agentic-middleware-layer-redistream | Agent communication | Real-time streaming, Message persistence, a2a |
π Explore all available stacks β
More coming: Fork any stack or contribute your own to expand the ecosystem!
Learn More
- AI DSL Guide - Learn the domain-specific language
- Generator Documentation - Understand code generation
- Installation - Get started in minutes
- Tech Stacks - See all available components
About Agenterprise
Agenterprise is an open-source project built for developers who need: - Rapid experimentation with AI architectures - Tech-stack independence - Multi-agent coordination built-in - Enterprise-grade foundation
Status: Currently in Alpha. We're actively developing and welcome feedback!
Community & Support
- π GitHub Organization
- π¬ Discussions
- π Report Issues
- β Star us on GitHub if you find Agenterprise useful!