A framework for making simple linear agents.
Project description
Linear Agent
This is a framework for creating simple linear agents.
LINEAR AGENT
The Linear Agent is a simple framework in which each customizable tool is
called linearly, which uses a common context window across tool calls,
called 'memory'.
The planner provides a list of tool calls to be executed using available
tools. The planner primes the linear agent for the sequence of task to be
executed.
┌──────────────────────────────────────────────────────┐
┌──────────────┐ │┌───────────┐ ┌───────────┐ ┌───────────┐ ┌──────────┐│
│ │ ││ │ │ │ │ │ │ ││
│ │ ││ │ │ │ │ │ │ ││
│ PLANNER ┼─────►│ TOOL1 │ │ TOOL2 │ │ TOOL3 │ │ TOOL4 ││
│ │ ││ │ │ │ │ │ │ ││
│ │ ││ │ │ │ │ │ │ ││
└─────▲───┬────┘ │└───▲───┬───┘ └───▲───┬───┘ └───▲───┬───┘ └───▲──┬───┘│
│ │ └──────────────────────────────────────────────────────┘
┌─────┼───▼───────────────┼───▼─────────┼───▼─────────┼───▼─────────┼──▼───┐
│ │
│ │
│ MEMORY THREAD │
│ ====== │
│ Memory is a persistent dictionary/document │
│ database that populates the context, for the SPECIAL KEY │
│ subsequent tool calls. Provides the context │
│ under which the │
│ Memory items are passed around tools with linear agent was │
│ 'memory keys' called. │
│ │
└──────────────────────────────────────────────────────────────────────────┘
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
linearagent-0.0.2.tar.gz
(7.8 kB
view details)
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 linearagent-0.0.2.tar.gz.
File metadata
- Download URL: linearagent-0.0.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a444ef4bf7ed805a2218686c0d0d218b1fd45bf04143c8d102058d64369e387
|
|
| MD5 |
e738633c7b0f696e5c76fd7dceea8c6c
|
|
| BLAKE2b-256 |
e15265cf3e16daa656313d3588f93485dd54d3dcb7696bad76fa874eb1bd592d
|
File details
Details for the file linearagent-0.0.2-py3-none-any.whl.
File metadata
- Download URL: linearagent-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
969acf581e725964b01e14d6bad48a0094e0f2086e7daab625c81f8b976f11a0
|
|
| MD5 |
8119c23d0b737bf68e8fbae824d914e4
|
|
| BLAKE2b-256 |
1739629639ba04c8dfd90d98e104e1c9a8a5847f36b152c5285687f343f9065e
|