ai-agent-service
AI Agent Service built with FastAPI
File Explorer
- __init__.py
- agents.py
- health.py
- openai_compatible.py
- __init__.py
- dependencies.py
- __init__.py
- settings.py
- __init__.py
- agent_tool_manager.py
- api_agent.py
- base_agent.py
- cli_agent.py
- memory_compression_agent.py
- prompt_manager.py
- __init__.py
- azureopenapi.py
- azureopenapi_cc.py
- base.py
- manager.py
- ollama.py
- openrouter.py
- __init__.py
- base.py
- document_specific.py
- semantic.py
- simple.py
- token_aware.py
- base.py
- pgvector_provider.py
- __init__.py
- base.py
- document_loader.py
- knowledge_base.py
- memory.py
- memory_compression_manager.py
- arithmetic_tool.py
- date_tool.py
- knowledge_base_tools.py
- __init__.py
- tool_registry.py
- __init__.py
- __init__.py
- cli_agent.py
- knowledge_agent.py
- simple_doc.py
- simple_eval.py
- simple_rag.py
- temporal_awareness.py
- geval_observe.py
- hallucination.py
- summarization.py
- summarization_observe.py
- synthesizer_from_context.py
- synthesizer_from_scratch.py
- synthesizer_with_multiple_evals.py
- synthesizer_with_tools.py
- task_completion_observe.py
- tool_correctness.py
- __init__.py
- config.py
- custom_ollama.py
- dataset.py
- document_processor.py
- evaluation_utils.py
- metrics.py
- prototype_viewer.py
- runner.py
- show_eval_results.py
- viewer.py
- knowledge_base.py
- memory.py
- date.py
- mcp.py
- response_mcp.py
- tools.py
- __init__.py
- agents.py
- auth.py
- health.py
- providers.py
- __init__.py
- auth_headers.py
- chat_utils.py
- functions.py
- logging.py
- retry_utils.py
- token_counter.py
- __init__.py
- main.py
- .env.example
- docker-compose.yml
- Dockerfile
- init-db.sql
- requirements.txt
- api-reference.md
- deployment.md
- evaluation.md
- examples.md
- memory.md
- azure_simple_chat_example.py
- azurecc_simple_chat_example.py
- interactive_chat_example.py
- ollama_simple_chat_example.py
- run_agent.py
- simple_chat_example.py
- simple_mcp.py
- voice_agent.py
- api_agent.txt
- batcomputer.txt
- cli_agent.txt
- knowledge_agent.txt
- mcp_agent.txt
- memory_compression_agent.txt
- regular_tools_only_agent.txt
- research_agent.txt
- restricted_agent.txt
- summary_agent.txt
- test_openai_compatible.py
- test_agents.py
- test_dependencies.py
- test_health.py
- test_openai_compatible_integration.py
- test_agent_tool_manager.py
- test_agent_tool_manager_agent_context.py
- test_api_agent.py
- test_base_agent.py
- test_base_agent_rerank_config.py
- test_base_agent_resource_config.py
- test_memory_behavior.py
- test_memory_compression_archiving.py
- test_prompt_manager.py
- test_auth.py
- test_azureopenapi_cc_provider.py
- test_azureopenapi_provider.py
- test_base_provider_agent_context.py
- test_base_provider_rerank.py
- test_ollama_provider.py
- test_ollama_rerank.py
- test_openrouter_provider.py
- test_document_loader.py
- test_knowledge_base.py
- test_memory.py
- test_memory_compression_manager.py
- test_pgvector_provider.py
- test_agent_context_tools.py
- test_date_tool.py
- test_tool_registry.py
- test_tool_registry_agent_context.py
- __init__.py
- test_config.py
- test_custom_ollama.py
- test_dataset.py
- test_document_processor.py
- test_evaluation_utils.py
- test_knowledge_agent_evaluation_integration.py
- test_runner.py
- test_agent_context_flow_integration.py
- test_agent_tool_filtering_integration.py
- test_api_integration.py
- test_knowledge_base_integration.py
- test_knowledge_base_reranking.py
- test_knowledge_base_reranking_simple.py
- test_memory_integration.py
- test_resource_config_integration.py
- test_auth_headers.py
- test_chat_utils.py
- test_token_counter.py
- conftest.py
- ranking_questions.py
- .env.example
- .gitignore
- agent_config.example.json
- architecture.png
- conv_test.py
- mcp.example.json
- pyproject.toml
- README.md
- requirements.txt
- uv.lock
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
docker build
View Details ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker logs
View Details ▼
docker logs
This command is an alias of `docker container logs`.
tldr docker container logs
View documentation for the original command:
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git checkout
View Details ▼
git checkout
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
Create and switch to a new branch:
git checkout -b {{branch_name}} {{reference}}
Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):
git checkout {{branch_name}}
Switch to an existing local branch:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
git commit
View Details ▼
git commit
Commit files to the repository.
git commit
Open an editor to write a message and commit staged files to the repository:
git commit {{[-m|--message]}} "{{message}}"
Commit staged files to the repository with the specified message:
git commit {{[-F|--file]}} {{path/to/commit_message_file}}
Commit staged files with a message read from a file:
git push
View Details ▼
git push
Push commits to a remote repository.
git push
Send local changes in the current branch to its default remote counterpart:
git push {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart:
git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
pytest
View Details ▼
pytest
Run Python tests.
pytest {{path/to/test_file1.py path/to/test_file2.py ...}}
Run tests from specific files:
pytest -k {{expression}}
Run tests with names matching a specific [k]eyword expression:
pytest {{[-x|--exitfirst]}}
Exit as soon as a test fails or encounters an error:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
