A lightweight Python package for creating agents on Langchain for Agentic platforms
Project description
A lightweight framework to create agents based on the LangChain BaseModel interface.
The idea is to make it easy to a multi-agent platform.
Usage
Basic Example
(TODO)
Complex Journal Multi-Agent Platform
(TODO)
Philosophy
I went with three guiding principles in writing this model.
- Everything is an agent: tools, buses, orchestrators are all agents.
- Final code should show the flow: You should be able scale while being able to see how agents connect to each other. This means that each agent relationship should be at most one line of code.
- Agents are minimal building blocks: one prompt per agent, one vector store per agent, one model per agent.
Deployment
The mode of deployment is as follows:
Make sure that there is a model and an API, based on the BaseModelin LangChain.
Put all agents in the same piece of code.
Run this code on a loop - the loop can also be an "orchestrator" agent.
Note that you can also host the model on the same pod / instance / computer as the agents. This is how I (the author) tested it.
Development
Requirements
Just Docker. If you want to develop, you can use the .devcontainer on VS Code, you don't need to install anything.
This works with VS Code, however, if you want to use another IDE, you can also
use the Dockerfile.dev to create your development environment.
Testing
Run:
docker-compose run --rm --build test
Contributing
- Branch out
- Add new code.
- Add tests.
- Push.
- Make a pull request.
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 agents_on_langchain-0.1.0.dev202501300233.tar.gz.
File metadata
- Download URL: agents_on_langchain-0.1.0.dev202501300233.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df98a4aee145150d032b52fb483e2da9dbe0e4ede7df92418df2e380e479241f
|
|
| MD5 |
538e6e78114c178e937f3ed9f2199a29
|
|
| BLAKE2b-256 |
2412b172e477991ae2062ff48a8e48829fa293c3d62509535e86276f446d5abc
|
File details
Details for the file agents_on_langchain-0.1.0.dev202501300233-py3-none-any.whl.
File metadata
- Download URL: agents_on_langchain-0.1.0.dev202501300233-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55616dab1eb140cdcfd4c22af3c02607aa760fba4bd6af555ce348f7225100c4
|
|
| MD5 |
e1df8e1a6bd680134bc24dea1a029e23
|
|
| BLAKE2b-256 |
eb8331f819fae8771cfec0dbb3797ad8beb809bf73c1e7105a00e0326634cc05
|