# AI agent builder

```json metadata
{
  "schema_version": 2,
  "title": "AI agent builder",
  "description": "Build custom AI agents powered by Redis with our interactive code generator",
  "categories": ["docs","develop","ai"],
  "tableOfContents": {"sections":[{"id":"get-started","title":"Get started"},{"id":"what-are-ai-agents","title":"What are AI agents?"},{"id":"what-you-can-build","title":"What you can build"},{"id":"features","title":"Features"},{"id":"after-you-generate-your-code","title":"After you generate your code"},{"children":[{"id":"ai-agent-resources","title":"AI agent resources"},{"id":"redis-ai-documentation","title":"Redis AI documentation"},{"id":"for-experienced-developers","title":"For experienced developers"},{"id":"community-and-support","title":"Community and support"}],"id":"learn-more","title":"Learn more"}]}

,
  "codeExamples": []
}
```



Agents use Redis for data storage, [vector search](https://redis.io/docs/latest/develop/get-started/search-tutorial/vector-search), and [conversation memory](https://redis.io/docs/latest/develop/get-started/rag). The interactive builder generates code in your preferred programming language with your choice of model.

## Get started

Use the interactive builder below to generate your custom AI agent code:



## What are AI agents?

AI agents are intelligent systems that can plan, remember, and take actions to help users accomplish goals. Unlike simple chatbots, agents can remember conversations, plan multi-step tasks, use external tools, and learn from interactions.

Redis powers these capabilities with fast, reliable data storage and retrieval that keeps your agents responsive and intelligent.

**Learn more**: [How agents work](agent-concepts/)

## What you can build

Choose from four types of intelligent agents:

- **Recommendation engines**: Personalized product and content recommendations
- **Conversational assistants**: Chatbots with memory and context awareness
- **Knowledge assistants**: RAG agents that ingest documents, answer questions with citations, and use semantic caching
- **Redis Iris conversational assistants**: Conversational agents backed by managed [Redis Iris Agent Memory](https://redis.io/docs/latest/develop/ai/context-engine/agent-memory) — session and long-term memory with no vector index to build

The agent builder will generate complete, working code examples for your chosen agent type.

## Features

- **Multiple programming languages**: Generate code in Python and JavaScript (Node.js), with Java and C# coming soon
- **LLM integration**: Support for OpenAI, Anthropic Claude, and Llama 2
- **Redis optimized**: Uses Redis data structures for optimal performance

## After you generate your code

Use the **Copy** or **Download** buttons and follow the steps below to test it locally:

1. **Set up your environment**: Install Redis and the required dependencies
2. **Configure your API keys**: Add your LLM provider credentials to environment variables
3. **Test locally**: Start with simple conversations to verify everything works
4. **Deploy and scale**: Use Redis Cloud for production deployments

The generated code includes detailed setup instructions and best practices to get you started quickly. If you want to generate another agent, select the **Start again** button.

## Learn more

### AI agent resources

- [How agents work](agent-concepts/) - Learn how agents work and why Redis is perfect for them

### Redis AI documentation

- [Redis Vector Search](https://redis.io/docs/latest/develop/ai/search-and-query/vectors) - Semantic search capabilities 
- [Redis Streams](https://redis.io/docs/latest/develop/data-types/streams) - Real-time data and conversation history
- [AI Notebooks Collection](https://redis.io/docs/latest/develop/ai/notebook-collection) - Interactive tutorials and examples 
- [Ecosystem Integrations](https://redis.io/docs/latest/develop/ai/ecosystem-integrations) - Redis with AI frameworks

### For experienced developers

If you're ready to go beyond the agent builder, these resources cover production-grade managed services and cutting-edge Redis AI projects:

- [Redis Context Engine](https://redis.io/docs/latest/develop/ai/context-engine) — Managed services for agent memory, semantic caching, and structured data access (Redis Iris)
- [Redis AI Incubator](https://redis.io/ai-incubator/) — Early-stage AI projects and experiments from the Redis team

### Community and support

- Join the [Redis Discord](https://discord.gg/redis) for community support
- Explore [Redis AI Resources on GitHub](https://github.com/redis-developer/redis-ai-resources)
- Watch [AI Video Collection](https://redis.io/docs/latest/develop/ai/ai-videos) for tutorials and demonstrations

