Skip to main content

CLI tool for initializing and managing AI agent projects based on LangGraph

Project description

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

Screenshot of Example project

Environment Setup 🔐

After initializing your project, make sure to:

  1. Find the .env.example file in your project
  2. Copy it to .env
  3. Update the values in .env with 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentweave-0.0.6.tar.gz (141.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentweave-0.0.6-py3-none-any.whl (169.4 kB view details)

Uploaded Python 3

File details

Details for the file agentweave-0.0.6.tar.gz.

File metadata

  • Download URL: agentweave-0.0.6.tar.gz
  • Upload date:
  • Size: 141.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for agentweave-0.0.6.tar.gz
Algorithm Hash digest
SHA256 226b691026201cb5d23c0388e4675982175ce649c6b653d9bce581780638002d
MD5 ccb997fec6d95d63207aacc0f04ea3f4
BLAKE2b-256 dd4594b9920a022dd0c9d12fc273828717bd5330f059dfdb8fb0b98f3b315301

See more details on using hashes here.

File details

Details for the file agentweave-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: agentweave-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 169.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for agentweave-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 59ac99ede71c6b3d49b46a72df8de837374fde76d1ed187812b0c024755e2995
MD5 0be6775d6d1241a5cbb20a3fef883bea
BLAKE2b-256 34f137a571409cdae11dc379ec2d6f6fdda5d7204f9f35e9b69cfea6af87cf45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page