fabricatio-agent
AI agent framework that integrates thinking, memory, judgment, task dispatching, and team collaboration into a single composable Agent class. The agent digests requests, decomposes them into tasks, and executes them through a cooperative multi-role pipeline.
Installation
pip install fabricatio[agent]
Or with full dependencies:
pip install fabricatio[full]
The package exposes a CLI entry point (falcon) when installed with the cli extra:
pip install fabricatio-agent[cli]
falcon code "write a fibonacci function in python"
Key Components
Agent (fabricatio_agent.capabilities.agent)
The central class composing these capabilities through multiple inheritance:
| Capability | Trait | Role |
|---|---|---|
| Checkpoint | Checkpoint |
Save/restore execution state |
| Capable | Capable |
Assess whether the agent can handle a request |
| CooperativeDigest | CooperativeDigest |
Decompose requests into task lists with team-aware dispatch |
| Remember | Remember |
Recall relevant memories to enrich context |
| Censor | Censor |
Rule-based content filtering |
| EvidentlyJudge | EvidentlyJudge |
Evidence-aware judgment and evaluation |
| DispatchTask | DispatchTask |
Dispatch tasks to team members |
| DiffEdit | DiffEdit |
Difference-based editing operations |
| Questioning | Questioning |
Interactive question-asking |
| Thinking | Thinking |
Sequential chain-of-thought reasoning |
| Handle | Handle |
Tool execution and handling |
Agent.fulfill(request, sequential_thinking=False, check_capable=False, memory=False, top_k=100, boost_recent=True, **kwargs)
The main entry point. Orchestrates capability checking → memory recall → sequential thinking → request digestion into a task list → task execution. Returns None if the agent is not capable, otherwise returns the task execution results.
from fabricatio_agent.capabilities.agent import Agent
class MyAgent(Agent):
pass
agent = MyAgent()
result = await agent.fulfill(
"Refactor the authentication module to use JWT",
sequential_thinking=True,
memory=True,
)
Configuration
All options below are read through the fabricatio configuration chain (see the
Configuration Guide). Set them under the
[ext.agent] table in fabricatio.toml, equivalently under
[tool.fabricatio.ext.agent] in pyproject.toml, or via
FABRICATIO_EXT__AGENT__<FIELD_UPPER> environment variables.
[ext.agent]
memory = false
sequential_thinking = false
check_capable = false
fulfill_prompt_template = "built-in/fulfill_prompt"
| Option | Type | Default | Description |
|---|---|---|---|
memory |
bool |
False |
Whether to use memory. |
sequential_thinking |
bool |
False |
Whether to think sequentially. |
check_capable |
bool |
False |
Whether to check if the agent is capable of performing the task. |
fulfill_prompt_template |
str |
"built-in/fulfill_prompt" |
The prompt template to use for fulfill. |
Access at runtime: from fabricatio_agent.config import agent_config.
Actions (fabricatio_agent.actions.code)
Reusable Action subclasses that combine the Agent capability mixin:
WriteCode— Generates code snippets from a prompt (with directory tree context), infers the coding language, and writes files to disk.Planning— Breaks complex tasks into subtasks via cooperative digestion, optionally preceded by sequential thinking.CleanUp— Removes unwanted files/directories using tool-based handling.ReviewCode— Saves a checkpoint of the current state for later review.MakeSpecification— Produces a specification document for a task.
CLI (fabricatio_agent.cli)
A Typer application (falcon) that assembles a multi-role team and dispatches tasks:
Roles — each implements Role + Cooperate and subscribes to event patterns:
| Role | Handles | Workflow |
|---|---|---|
Developer |
Coding, CleanUp, Plot, Synthesize |
WriteCode, CleanUp, chart/synthesis generation |
ProjectLeader |
Orchestrate |
Planning (decomposes into subtasks) |
TestEngineer |
Test |
WriteCode (generates test cases) |
DocumentationWriter |
Documentation |
WriteCode (generates documentation) |
TaskType enum: Coding, Orchestrate, CleanUp, Plot, Synthesize, Test, Documentation.
falcon code "write a fibonacci function in python"
This command spins up a Team with all four roles and delegates a coding task through the orchestrator. Complex tasks are automatically decomposed into subtasks.
Dependencies
fabricatio-core— Core interfaces and utilitiesfabricatio-digest— Request digestion and task planningfabricatio-memory— Memory management and recallfabricatio-improve— Content improvementfabricatio-rule— Rule-based content processingfabricatio-judge— Judgment and evaluationfabricatio-capabilities— Base capability patternsfabricatio-diff— Difference editing operationsfabricatio-thinking— Sequential thinkingfabricatio-question— Interactive questioningfabricatio-tool— Tool handling and executionfabricatio-team— Team cooperation mechanismsfabricatio-capable— Capability assessmentfabricatio-checkpoint— Execution checkpointing
License
MIT — see LICENSE
Metadata
Release files for fabricatio-agent 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 2.3 MB
Release files / fabricatio_agent-0.3.4-cp314-cp314-win_amd64.whl
| Download URL | fabricatio_agent-0.3.4-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 123.2 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c31cde0815b3d37ea875ac19342452fb835186608447d2ff2d673773e45469b1
|
|
BLAKE2b-256 checksum How to use checksums |
4a72ca1590f76756b78f79205123105b765deee1ac8fdf905c4666bcc57eaadd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | fabricatio_agent-0.3.4-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 232.3 kB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
c82be0e8a7d5d4eefd5c1caec4adefa7d9526a5550d849056fe3e1f79ff97227
|
|
BLAKE2b-256 checksum How to use checksums |
8c62c47130cae7f3004cb1fb762ca07dc545e4bd60c020d35a7e848b1bf688f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp314-cp314-manylinux_2_34_aarch64.whl
| Download URL | fabricatio_agent-0.3.4-cp314-cp314-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 217.9 kB |
| Tags | CPython 3.14 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
949d2dbb955bce89d68f0b4ae0b3d016d771a5496d6eac4fc2080a58982cd68c
|
|
BLAKE2b-256 checksum How to use checksums |
7f2ed3948c2f2123ec885f15e42fd3da1c5dc02bf9ee9ca2e17ac39c655ddce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | fabricatio_agent-0.3.4-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 203.7 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5b79428d2f4a7b8c2f353add98518c7474b46c664d09351ca77d0692440eb354
|
|
BLAKE2b-256 checksum How to use checksums |
f1974827e59a7878d11f977e76b38a615cabb400cbb9da1965a337ac1cff0180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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":true}
|
Release files / fabricatio_agent-0.3.4-cp313-cp313-win_amd64.whl
| Download URL | fabricatio_agent-0.3.4-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 124.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b7ef0422118d2e43c83ea19f5e2829b44bd44eaaf974df2adcc8d697a12f9d44
|
|
BLAKE2b-256 checksum How to use checksums |
1d04f4eefa77940ae2250d8752790808db6d90171762a9aeb32fd6287dfc630d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | fabricatio_agent-0.3.4-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 233.7 kB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
70575313e7a4bedcbdc6ce0669ffbf2b877133bec413928fa46dab3386b9ccae
|
|
BLAKE2b-256 checksum How to use checksums |
ac904b3726f4caaac2c0ad72255ee6bf86daf6248f714effad50b1c98a721393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp313-cp313-manylinux_2_34_aarch64.whl
| Download URL | fabricatio_agent-0.3.4-cp313-cp313-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 219.2 kB |
| Tags | CPython 3.13 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
23f583b4209e0703a05b5952b7713fb326a165a3697f35773ec29ad2061aa202
|
|
BLAKE2b-256 checksum How to use checksums |
fe099847607d45cf2b511852f0b513994871abada4ece9c7c2d3e94ee4dea743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | fabricatio_agent-0.3.4-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 204.6 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5e78a5a83c3394dd67ada5af44a15d36d9086f9b5da4b42e80bd33b0196cacb9
|
|
BLAKE2b-256 checksum How to use checksums |
c390c242b23b4f00914b691e7824094cfd9247a86c6659915708a276bfe06bb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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":true}
|
Release files / fabricatio_agent-0.3.4-cp312-cp312-win_amd64.whl
| Download URL | fabricatio_agent-0.3.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 124.8 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
64a284cec0b560e14bf252ef714a517c55f0db096e659fc57cda983681749626
|
|
BLAKE2b-256 checksum How to use checksums |
d5f3ae396b9a18295895209010e2c2d8f303dd931c3cc57b92df1e607b1b66da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | fabricatio_agent-0.3.4-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 233.7 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
9a8a19504372335069094d33e823a387cc114bbe9654a6b4b64d36beeadbe501
|
|
BLAKE2b-256 checksum How to use checksums |
2b4c215fb82584c18d3021646e032968c072d4000b853aa6b1dc2a9dddc964fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp312-cp312-manylinux_2_34_aarch64.whl
| Download URL | fabricatio_agent-0.3.4-cp312-cp312-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 219.1 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
3015bfcce90689dae7617d5291c1d75f701e0d34a05f7cf48e5758602ff986a3
|
|
BLAKE2b-256 checksum How to use checksums |
6237c002eaf68b0b9594981d295a6c6f9d2f26ae1f08269bc068cbf6cca659d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fabricatio_agent-0.3.4-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | fabricatio_agent-0.3.4-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 204.4 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3520acdf87a1aa3ee80095d649db5955ca886660e9312da4915b4d62851685c7
|
|
BLAKE2b-256 checksum How to use checksums |
d5a9dbcea390c4bca5ff823e03218891a8168eda8bdba086d8079abf1a134cdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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":true}
|
Security for fabricatio-agent 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.