AgentWeave 🧵
AgentWeave is a powerful CLI tool for initializing and managing AI agent projects based on LangGraph, making it easier to build, customize, and deploy sophisticated AI agents.
Think of AgentWeave as a "create-react-app" but for AI agents - it helps you bootstrap a complete project with all the necessary components, configurations, and integrations.
Features ✨
- Quick Project Setup: Initialize complete AI agent projects with a single command
- Component Management: Easily add, remove, and update agent components
- Tool Integration: Add and configure agent tools from a growing library of predefined tools
- LangGraph Integration: Built on top of LangGraph for powerful agent orchestration
- Monitoring & Visualization: Built-in components for monitoring, debugging, and visualizing agent behavior
- Memory Management: Easy integration of different memory solutions
- Service Integrations: Connect to various external services and APIs
- Extensible Architecture: Design focused on extensibility and customization
- FastAPI Backend: Well-structured FastAPI backend for serving your agents
Installation 🚀
pip install agentweave
Quick Start 🏁
# Initialize a new agent project
agentweave init {{project_name}}
# Change to the project directory
cd {{project_name}}
# Edit .env to add OpenAI key
# Install the environment (sets up dependencies)
agentweave install_env
# Run your agent in development mode
agentweave run
Environment Setup 🔐
After initializing your project, make sure to:
- Find the
.env.examplefile in your project - Copy it to
.env - Update the values in
.envwith your API keys and configuration
This step is essential for your agent to function properly with external services.
Project Commands 📝
Core Commands
# Initialize a new agent project
agentweave init [project-name]
# Run your agent in development mode
agentweave run
# Run the agent in development mode with hot reloading
agentweave dev
# Install environment dependencies
agentweave install_env
Utility Commands
# Display version information
agentweave version
# Display general information about AgentWeave
agentweave info
Project Structure 📂
{{project_name}}/
├── agents/ # Agent definitions
├── tools/ # Custom tools
├── templates/ # Templates for agents and tools
├── memory/ # Memory configurations
├── monitoring/ # Monitoring and visualization
├── frontend/ # UI for interacting with agents
├── config/ # Configuration files
├── README.md # Project documentation
└── agentweave.yaml # AgentWeave configuration
Extensibility 🔌
AgentWeave is designed to be highly extensible:
- Create custom templates for new project types
- Develop and share custom tools
- Create plugins for new functionalities
- Integrate with various AI services and platforms
Dependencies
AgentWeave is built using:
- LangGraph v0.0.30+ for agent orchestration
- FastAPI for the backend API
- Typer and Click for the CLI interface
- Rich for beautiful terminal output
- Jinja2 for template rendering
- And more!
Contributing 🤝
We welcome contributions! Please see our Contributing Guidelines for more information.
License 📄
AgentWeave is open source software licensed as MIT.
Release files for agentweave 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentweave-0.0.6.tar.gz | 141.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentweave-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 311.3 kB
Release files / agentweave-0.0.6.tar.gz
| Download URL | agentweave-0.0.6.tar.gz |
|---|---|
| Size | 141.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
226b691026201cb5d23c0388e4675982175ce649c6b653d9bce581780638002d
|
|
BLAKE2b-256 checksum How to use checksums |
dd4594b9920a022dd0c9d12fc273828717bd5330f059dfdb8fb0b98f3b315301
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / agentweave-0.0.6-py3-none-any.whl
| Download URL | agentweave-0.0.6-py3-none-any.whl |
|---|---|
| Size | 169.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59ac99ede71c6b3d49b46a72df8de837374fde76d1ed187812b0c024755e2995
|
|
BLAKE2b-256 checksum How to use checksums |
34f137a571409cdae11dc379ec2d6f6fdda5d7204f9f35e9b69cfea6af87cf45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|