Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

  1. Everything is an agent: tools, buses, orchestrators are all agents.
  2. 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.
  3. 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

  1. Branch out
  2. Add new code.
  3. Add tests.
  4. Push.
  5. Make a pull request.

Metadata

Release files for agents-on-langchain 0.1.0.dev202502010500

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agents-on-langchain 0.1.0.dev202502010500
File Size Uploaded
agents_on_langchain-0.1.0.dev202502010500.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agents-on-langchain 0.1.0.dev202502010500
File Interpreter ABI Platform
agents_on_langchain-0.1.0.dev202502010500-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / agents_on_langchain-0.1.0.dev202502010500.tar.gz

Download URL agents_on_langchain-0.1.0.dev202502010500.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
01e26e2ba912c385c71cba9234bb68008b3da1c94c6adb24a338de092607197b
BLAKE2b-256 checksum
How to use checksums
a9c4e4baf6512a67c7f16c1b990f9c599b76acc0cf16c3c2f5824f5172d324c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release files / agents_on_langchain-0.1.0.dev202502010500-py3-none-any.whl

Download URL agents_on_langchain-0.1.0.dev202502010500-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
690c89045caf543adc78e4bfcf4a1ee4199b651b5c6dbfe4bd9e438b0440dec3
BLAKE2b-256 checksum
How to use checksums
b1c33cd3be1805a997223fe32265c2e2c9b59fe170af26e1c049693baccc8514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page