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
Metadata
Release files for honcho-crewai 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| honcho_crewai-0.3.0.tar.gz | 26.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| honcho_crewai-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.8 kB
Release files / honcho_crewai-0.3.0.tar.gz
| Download URL | honcho_crewai-0.3.0.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c37a0b5e5fcd842507023723fbbe133c3ee329b5a007370e0c6e1286a6a7b20b
|
|
BLAKE2b-256 checksum How to use checksums |
d27187ad24777fe851e188aba0ebacbd32ede718fea50b60ae19ff44c49e8eea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / honcho_crewai-0.3.0-py3-none-any.whl
| Download URL | honcho_crewai-0.3.0-py3-none-any.whl |
|---|---|
| Size | 23.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23df9a74eb6db832a42bdf2d66b0fd857f1194c4c283bcd9c1d0e675f61532b8
|
|
BLAKE2b-256 checksum How to use checksums |
03c5712919cb6c8c085ff381cd1376514ea2894afa6f4b7fb5557ce21a676cf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|