CrewAI integration with Honcho for persistent agent memory
Project description
Honcho CrewAI Integration
Build CrewAI agents with persistent memory and reasoning capabilities powered by Honcho.
Installation
uv add honcho-crewai crewai python-dotenv
CrewAI currently supports Python >=3.10,<3.14; this package follows the same range.
Quick Start
from crewai import Agent, Crew, Memory, Process, Task
from honcho import Honcho
from honcho_crewai import HonchoMemoryStorage
honcho = Honcho(workspace_id="crewai-demo")
storage = HonchoMemoryStorage(
peer_id="user-123",
session_id="session-123",
honcho_client=honcho,
)
memory = Memory(storage=storage)
memory.remember(
"The user is learning Python and wants to build web applications.",
scope="/users/user-123",
categories=["preferences"],
metadata={"source": "onboarding"},
)
agent = Agent(
role="Programming Mentor",
goal="Help users learn programming by remembering their interests and progress",
backstory="You are a patient programming mentor.",
)
task = Task(
description="Suggest a Python web project that matches the user's interests.",
expected_output="A specific project suggestion with a brief explanation",
agent=agent,
)
crew = Crew(
agents=[agent],
tasks=[task],
process=Process.sequential,
memory=memory,
)
result = crew.kickoff()
print(result.raw)
Features
HonchoMemoryStorage: CrewAI unifiedMemorystorage backend.HonchoStorage: compatibility adapter for older CrewAIExternalMemoryusage.HonchoGetContextTool,HonchoDialecticTool, andHonchoSearchToolfor explicit Honcho memory retrieval.- Lazy Honcho peer/session handles, matching the latest Honcho SDK get-or-create behavior.
Documentation
For comprehensive guides, examples, and API reference, visit: https://honcho.dev/docs/v3/integrations/crewai
Examples
Check out complete examples in the GitHub repository.
License
AGPL-3.0-or-later
Support
- Report issues: GitHub Issues
- Documentation: honcho.dev/docs
- Website: honcho.dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file honcho_crewai-0.3.0.tar.gz.
File metadata
- Download URL: honcho_crewai-0.3.0.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c37a0b5e5fcd842507023723fbbe133c3ee329b5a007370e0c6e1286a6a7b20b
|
|
| MD5 |
58048a9e60a02a8313e8b89866dbb06f
|
|
| BLAKE2b-256 |
d27187ad24777fe851e188aba0ebacbd32ede718fea50b60ae19ff44c49e8eea
|
File details
Details for the file honcho_crewai-0.3.0-py3-none-any.whl.
File metadata
- Download URL: honcho_crewai-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23df9a74eb6db832a42bdf2d66b0fd857f1194c4c283bcd9c1d0e675f61532b8
|
|
| MD5 |
42ad243b8ece27a4be5b1ffe0c57a280
|
|
| BLAKE2b-256 |
03c5712919cb6c8c085ff381cd1376514ea2894afa6f4b7fb5557ce21a676cf3
|