π€ A comprehensive web application for testing, visualizing, and optimizing agentic frameworks and architectures.
- Interactive Graph Editor: Build agent workflows using a drag-and-drop interface
- Node Types: Support for Input, Output, Agent, Processor, and Decision nodes
- Real-time Editing: Modify framework structure, connections, and configurations on the fly
- Configuration Management: Customize agent parameters (model, temperature, etc.)
- Execute Tests: Run test cases against your frameworks with custom inputs
- Performance Metrics: Track latency, success rates, and execution times
- Node-level Insights: Visualize individual node execution timings
- Test History: Review past test results and performance trends
- Comparative Analysis: Compare performance across multiple frameworks
- Success Rate Tracking: Monitor and optimize framework reliability
- Performance Metrics: Analyze average latency and throughput
- Insights & Recommendations: Get AI-powered suggestions for optimization
- CRUD Operations: Create, read, update, and delete frameworks
- Pre-built Templates: Start with example frameworks (Sequential Chain, Parallel Processing)
- Export/Import: Save and share framework configurations
- RESTful API for framework management
- In-memory storage for rapid prototyping
- Test execution engine with simulated metrics
- CORS-enabled for cross-origin requests
- Modern React UI with hooks
- ReactFlow for graph visualization
- Axios for API communication
- Responsive design with custom CSS
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository
git clone https://github.com/amiddlebrook/AAB.git
cd AAB- Install dependencies
# Install root dependencies
npm install
# Install client dependencies
cd client
npm install
cd ..- Start the application
# Start both backend and frontend concurrently
npm startThis will start:
- Backend API server on
http://localhost:3001 - Frontend React app on
http://localhost:3000
# Terminal 1 - Backend
npm run server
# Terminal 2 - Frontend
npm run client- Click "+ New Framework" in the navigation bar
- The editor will open with a basic template
- Add nodes using the sidebar buttons:
- Input: Data entry point
- Agent: AI agent with configurable model and temperature
- Processor: Data processing node
- Decision: Conditional routing node
- Output: Result endpoint
- Connect nodes by dragging from one node's edge to another
- Configure node properties by clicking on them
- Save your framework
- Select a framework from the list
- Navigate to the "Test Runner" tab
- Enter test input in the text area
- Click "
βΆοΈ Run Test" - View results including:
- Success/failure status
- Execution latency
- Node-level timing breakdown
- Output results
- Go to the "Dashboard" tab
- Review overall statistics:
- Total frameworks and test runs
- Average success rates
- Average latency
- Compare frameworks side-by-side
- Identify best performing and fastest frameworks
- Review insights and optimization suggestions
GET /api/frameworks
GET /api/frameworks/:id
POST /api/frameworks
Body: {
name: string,
description: string,
nodes: array,
edges: array
}
PUT /api/frameworks/:id
Body: {
name: string,
description: string,
nodes: array,
edges: array
}
DELETE /api/frameworks/:id
POST /api/frameworks/:id/test
Body: {
testInput: string
}
GET /api/frameworks/:id/results
GET /api/results
GET /api/health
- Express.js: Web framework
- CORS: Cross-origin resource sharing
- body-parser: Request body parsing
- uuid: Unique ID generation
- React: UI library
- ReactFlow: Graph visualization
- Axios: HTTP client
- React Hooks: State management
AAB/
βββ server/
β βββ index.js # Backend API server
βββ client/
β βββ public/ # Static assets
β βββ src/
β βββ components/ # React components
β β βββ FrameworkList.js
β β βββ FrameworkEditor.js
β β βββ TestRunner.js
β β βββ Dashboard.js
β βββ App.js # Main app component
β βββ index.js # Entry point
βββ package.json # Root dependencies
βββ README.md # Documentation
- Persistent storage (database integration)
- Real AI model integration
- User authentication
- Framework versioning
- Export to code/configuration files
- Collaborative editing
- Advanced analytics and ML insights
- Custom node types
- Integration with CI/CD pipelines
- Framework marketplace/sharing
Contributions are welcome! Please feel free to submit a Pull Request.
ISC
For issues and questions, please open an issue on the GitHub repository.
Built with β€οΈ for the agentic AI community