FAME Framework (also known as Full AI Meta Engine) is an AI agent framework designed to simulate human-like interactions and content creation on social media platforms, specifically Twitter. It can generate content including images, text, and videos that reflect the agent's personality, knowledge, and current mood. 🎨📝
Project description
FAME Framework 🚀
FAME Framework (Full AI Meta Engine) is an AI agent framework designed to simulate human-like interactions and content creation on social media platforms.
Installation
You can install FAME from PyPI:
pip install fame-agent
For development installation:
pip install fame-agent[dev]
Quick Start
from fame.agent import Agent
# Initialize agent
agent = Agent(
env_file=".env",
facets_of_personality="A tech startup founder focused on innovation...",
abilities_knowledge="Expert in: AI/ML architecture, sustainable computing...",
mood_emotions="Enthusiastic about sharing startup knowledge...",
environment_execution=[]
)
# Post a tweet
result = agent.post_image_tweet()
The project consists of several modules that handle different aspects of the agent's behavior:
- Facets of Personality: Defined by traits, interests, communication style, etc. 🌈
- Abilities and Knowledge: Expertise in specific fields, skills, and experience level. 🎓
- Mood and Emotions: Current emotional state and intensity. 😃😢
- Environment and Execution: Scheduling of posts and integration with Twitter. 📅🐦
Table of Contents 📚
Usage🛠️
Once installed, you can run the agent to automate posting activities on Twitter:
-
Initialize an
Agentinstance:from fame.agent import Agent # Load your configurations and profiles here agent = Agent( facets_of_personality="path/to/facets.json", abilities_knowledge="path/to/abilities.json", mood_emotions="path/to/mood.json" # Additional parameters... ) # To post a tweet agent.post_tweet("Hello, world!")
-
Schedule automated posts using background schedulers.⏰
Project Structure🏗️
fame/
The main package directory containing all modules and classes required to run the Fame agent. Key files include:
__init__.py: Makes the directory a Python package.agent.py: Main class for managing agent behaviors, including posting tweets and generating content.
Configuration Files 📄
Configuration files define default parameters and model configurations. These can be customized as needed:
openrouter_models.py: Default OpenRouter model configurations.replicate_models.py: Default Replicate model configurations.
Integrations🔗
Modules handling integrations with various APIs and platforms for seamless interaction:
openrouter_integration.py: Integration with OpenRouter AI models for text generation and chat functionalities.replicate_integration.py: Integration with Replicate for image generation and face swap capabilities.twitter_integration.py: Handles interactions with the Twitter API.
Core Components 🧩
Core modules that define various facets of agent behavior:
abilities_and_knowledge.py: Manages agent's skills, knowledge areas, and expertise.facets_of_personality.py: Encapsulates personality traits and communication styles.mood_and_emotions.py: Handles mood tracking and emotional states.
Utilities 🛠️
Utility modules providing helper functions and tools:
path_utils.py: Resolves file paths for profile images.sentiment_analysis.py: Performs sentiment analysis using OpenRouter LLM integration.tweet_validator.py: Validates tweet content against Twitter's requirements.
Conclusion 🎉
The Fame project provides a robust framework for creating an AI-driven agent capable of automated interactions on social media platforms. With configurable integrations and flexible core components, it allows for extensive customization to meet various needs in content generation and social media automation.
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 fame_ai-0.0.1.tar.gz.
File metadata
- Download URL: fame_ai-0.0.1.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
503ffd28510d0af887ea20cc86b05b45e1554d7cc08bd6a9fcbab44840cc7aa3
|
|
| MD5 |
6938a80938afdc280914355c7f280752
|
|
| BLAKE2b-256 |
8ef52aafc062869696e54265d3f46df28673581697ea3f65945893237866a657
|
File details
Details for the file fame_ai-0.0.1-py3-none-any.whl.
File metadata
- Download URL: fame_ai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
066dcea2047a2152790f31ae57b01ae9f694c15d9224aa14ab8eba0c68276f3e
|
|
| MD5 |
c559fd5165af1ca998761da8b894679f
|
|
| BLAKE2b-256 |
0f1ddf638f5ee824d76e8438969a7fc5f08a520487c69595bacd5f8610f1e2b6
|